Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/koji/react-nes-components

react ui-components with nes.css
https://github.com/koji/react-nes-components

components es6 js nescss npm-package reactjs typescript

Last synced: 28 days ago
JSON representation

react ui-components with nes.css

Awesome Lists containing this project

README

        

# nes-components
[![Generic badge](https://img.shields.io/badge/npm-v0.0.15-.svg)](https://shields.io/)
[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/) [![Greenkeeper badge](https://badges.greenkeeper.io/koji/nes-components.svg)](https://greenkeeper.io/)

### What is `nes-components`?
`nes-components` is a react component that is using NES.css.

### What is `NES.css`?
NES.css is a NES-style(8bit-like) CSS Framework.
https://github.com/nostalgic-css/NES.css

### How to use this?

#### install
```
$ yarn add nes-components
$ npm i nes-components
```

## :warning:caution
if nes-components doesn't show the right font, please add the following to your component.
Currently, working on updating nes-components
```js
import WebFont from 'webfontloader';
WebFont.load({
google: {
families: ['Press+Start+2P'],
},
});
```

#### Doc
Please see StoryBook https://nes-components.netlify.com/

#### samples ToDo
Sample codes are in Storybook(`Typescript`).
Please check it out.
`js` samples will be added soon.

### Use Storybook
```
$ cd nes-components
$ yarn & yarn storybook
or
$ npm i & npm run storybook
```
The terminal will open [localhost:9009](localhost:9009).

You will see like below.

![storrybook](./assets/storybook.png)