Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ecelis/e-react-ui

ReactJS Styled Components Library
https://github.com/ecelis/e-react-ui

javascript react showcase styled-components

Last synced: 24 days ago
JSON representation

ReactJS Styled Components Library

Awesome Lists containing this project

README

        

# e-react-ui

Experiment to create a React component library based on 💅🏾 [styled-components](https://styled-components.com/). There are some examples at https://ecelis.github.io/e-react-ui/

[![Edit ecstatic-fog-5r7pb0](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ecstatic-fog-5r7pb0?fontsize=14&hidenavigation=1&theme=dark)

## Features

- Grid system
- Autocomplete searchbox
- Buttons
- Calendar (WIP #10)
- Container with overflow control
- List

## Install

```
npm install --save styled-components e-react-ui
```

## Usage

In a new `create-react-app` use the code below in `src/App.js` and run `npm start`.

⚠️ IMPORTANT! Do NOT FORGET to add `` in you App entrypoint react component as sibling of components created with e-react-ui.

```javascript
import logo from './logo.svg';
import './App.css';
import { GlobalStyle, Button } from 'e-react-ui/dist';
import GlobalStyles from 'e-react-ui/dist/components/globalStyles';

function App() {
return (




logo


Edit src/App.js and save to reload.





);
}

export default App;
```