Installation
Install
Section titled “Install”npm install reke-uiImport tokens (recommended)
Section titled “Import tokens (recommended)”Import the design tokens CSS to get consistent theming across all components:
@import 'reke-ui/tokens/css';Use a component
Section titled “Use a component”<script type="module"> import 'reke-ui/button';</script>
<reke-button variant="primary">Click me</reke-button>import 'reke-ui';This registers all 16 components at once.
import { RekeButton, RekeInput } from 'reke-ui';Import classes for type checking.
Import paths
Section titled “Import paths”| Path | What it does |
|---|---|
reke-ui | Full bundle — registers all elements |
reke-ui/button | Individual component (tree-shakeable) |
reke-ui/react | React wrappers with proper event handling |
reke-ui/tokens/css | Design tokens stylesheet |