e-react-ui

0.1.19ย โ€ขย Publicย โ€ขย Published

e-react-ui

Experiment to create a React component library based on ๐Ÿ’…๐Ÿพ styled-components. There are some examples at https://ecelis.github.io/e-react-ui/

Edit ecstatic-fog-5r7pb0

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 <GlobalStyle /> in you App entrypoint react component as sibling of components created with e-react-ui.

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 (
    <div className="App">
      <GlobalStyle />
      <header className="App-header">
        <img src={logo} className="App-logo" alt="logo" />
        <p>
          Edit <code>src/App.js</code> and save to reload.
        </p>
        <Button label="Click Me" />
      </header>
    </div>
  );
}

export default App;

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.19
    1
    • latest

Version History

Package Sidebar

Install

npm i e-react-ui

Weekly Downloads

1

Version

0.1.19

License

MIT

Unpacked Size

45 kB

Total Files

13

Last publish

Collaborators

  • ecelis