Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/koji/react-nes-components
- Owner: koji
- License: mit
- Created: 2019-10-11T09:20:07.000Z (over 5 years ago)
- Default Branch: develop
- Last Pushed: 2023-07-07T21:24:32.000Z (over 1 year ago)
- Last Synced: 2024-11-20T02:56:21.371Z (about 2 months ago)
- Topics: components, es6, js, nescss, npm-package, reactjs, typescript
- Language: CSS
- Homepage: https://nes-components.netlify.com/
- Size: 4.76 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 34
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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)