@glair/ui
v0.0.5
Published
## Installation
Downloads
173
Keywords
Readme
GLAIR Standard UI
Installation
To get started, install the library by running the following command: npm install @glair/ui
Usage
- Import the
@glair/ui/dist/style.css
file in your React project's entry component before any other CSS files. - Import the desired components from the library into your project components.
- In NextJS, this component library is currently limited to use within client-side components only.
- To activate dark mode, apply the dark class to the
<html>
element. - For a complete list of available components, check out the Storybook Page.
Example
import {Button} from "@glair/ui"
export const App = () => (
return <Button variant="link-primary" />
)