1.1.5 • Published 6 years ago

nate-ui v1.1.5

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

Nate-UI

My personal UI Toolkit for React-based apps. Built with Rebass.

Getting Started

To hook this into your app, import ThemeProvider and wrap your whole app with it

import { ThemeProvider } from 'nate-ui'

export default () =>
  <ThemeProvider>
    {...}
  </ThemeProvider>

The default theme can be overridden if necessary:

import { theme, ThemeProvider } from 'nate-ui'

const myTheme = {
  ...theme,
  ...{ colors: { blue: '#4286f4' }
  }
}

export default () =>
  <ThemeProvider theme={myTheme}>
    {...}
  </ThemeProvider>

Components

You can import any vanilla component from Rebass, but a few have been extended:

  • Blockquote
  • Button
  • ButtonOutline
  • Divider
  • Input
  • Select

A few composites have also been created:

  • NavBar
  • Footer
  • MD (for use with MDX / Markdown formatting)

And a few "alternative" tags with useful props have been created via system-components:

  • Dd
  • Dl
  • Dt
<Dl>
  <Dt display='none'>Name</Dt>
  <Dd center={true}>Nate</Dd>
</Dl>

Contributing

  • Fork It
  • Create a feature branch
  • Commit your stuff
  • Open a PR

License

MIT

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago