@bianic-ui/core
v0.1.0-alpha.13
Published
Responsive and accessible React UI components built with React and Emotion
Downloads
16
Maintainers
Readme
Welcome to Bianic UI ⚡️
Works out of the box. Bianic UI contains a set of polished React components that work out of the box.
Flexible & composable. Bianic UI components are built on top of a React UI Primitive for endless composability.
Accessible. Bianic UI components follows the WAI-ARIA guidelines specifications.
Dark Mode 😍: All components are dark mode compatible.
Looking for the documentation?
https://bianic-ui.com
Installing Bianic UI
⚡️Bianic UI is made up of multiple components and tools which you can import
one by one. All you need to do is install the @bianic-ui/core
package:
$ yarn add @bianic-ui/core
# or
$ npm install --save @bianic-ui/core
Getting set up
To start using the components, please follow these steps:
- Wrap your application in a
ThemeProvider
provided by @bianic-ui/core
import { ThemeProvider, ColorModeProvider } from "@bianic-ui/core"
const App = ({ children }) => (
<ThemeProvider>
<ColorModeProvider>{children}</ColorModeProvider>
</ThemeProvider>
)
ColorModeProvider
is a context that provides light mode and dark mode values
to the components. It also comes with a function to toggle between light/dark
mode.
- Now you can start using components like so!:
import { Button } from "@bianic-ui/core"
const App = () => <Button>I just consumed some ⚡️Bianic!</Button>
Contributing
Feel like contributing? That's awesome! We have a contributing guide to help guide you.
The components to be built come from the Aria Practices Design Patterns and Widgets.
Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!