npm.io
0.18.0 • Published 5h ago

@ibti-tech/ui

Licence
MIT
Version
0.18.0
Deps
5
Size
4.2 MB
Vulns
0
Weekly
0

@ibti-tech/ui

IBTI React component library.

Install

pnpm add @ibti-tech/ui

Peer dependencies: react, react-dom, polished. Optional: next, nookies.

Usage

import '@ibti-tech/ui/styles.css'
import { Button } from '@ibti-tech/ui'

Exports

  • @ibti-tech/ui — components, themes, hooks, icons
  • @ibti-tech/ui/styles.css — compiled styles

Theming

Wrap the app with GlobalThemeProvider and pass themes built via constructTheme or the defaults defaultLightTheme / defaultDarkTheme.

ButtonBase accepts LinkComponent to override the default next/link when href is set (works in non-Next apps with a custom link or <a>).

Keywords