0.4.0 • Published 5 years ago

audora-ui v0.4.0

Weekly downloads
11
License
MIT
Repository
github
Last release
5 years ago

Audora UI

An UI design language and React-based implementation

Install

via yarn

  yarn add audora-ui

via npm

  npm install audora-ui --save

Usage

import { Box, Button } from 'audora-ui'

const MyComponent = () => (
  <Box>
    <Button onClick={() => alert('Button was clicked!')} variant="primary">
      Click
    </Button>
  </Box>
)

Theme

import { Theme } from 'audora-ui'

const themeConfig = {
  colors: {
    primary: ['#333333', '#222222'],
  },
}

const MyApplication = () => (
  <ThemeProvider theme={themeConfig}>
    <Button
      content="Click"
      onClick={() => alert('Button was clicked!')}
      type="primary"
    />
  </ThemeProvider>
)

Development

Clone the repo:

git clone git@github.com:audora/audora-ui.git

Then install dependencies:

cd ./audora-ui
yarn

or

cd ./audora-ui
npm install

Run project:

yarn start

or

npm start

Contributing

Please read our CONTRIBUTING.md

0.4.0

5 years ago

0.3.0

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago