glair-ui
v0.0.19
Published
## Installation
Downloads
7
Readme
GLAIR Standard UI
Installation
To get started, install the library by running the following command: npm install @glair/glair-ui
Usage
- In your index.html file, add this line as the first child within the
<head>
element:<link rel="stylesheet" href="node_modules/glair-ui/dist/styles.css" />
- Import the desired components from the library into your project components.
- 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/glair-ui"
export const App = () => (
return <Button variant="link-primary" />
)