@glair/ui
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

GLAIR Standard UI

Installation

To get started, install the library by running the following command: npm install @glair/ui

Usage

  1. Import the @glair/ui/dist/style.css file in your React project's entry component before any other CSS files.
  2. Import the desired components from the library into your project components.
  3. In NextJS, this component library is currently limited to use within client-side components only.
  4. To activate dark mode, apply the dark class to the <html> element.
  5. 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" />
)

Readme

Keywords

none

Package Sidebar

Install

npm i @glair/ui

Weekly Downloads

117

Version

0.0.5

License

none

Unpacked Size

710 kB

Total Files

7

Last publish

Collaborators

  • teguh.s.santoso
  • sahatnicholas-gdp
  • timotiusnc
  • glair-admin