Getting Started
Customization
Installation
Requirement
Ensure your have the latest version of NodeJS, and a package manager: NPM or Yarn.
- Node.js 12.18+ (installation with nvm)
- Yarn 1.22.4+ Yarn Site
Install
1$ yarn add @kubed/components @kubed/hooks @kubed/icons2# or3$ npm i @kubed/components @kubed/hooks @kubed/icons
Usage
- Wrap your application with the
KubedConfigProvider
:
1import { CssBaseline, KubedConfigProvider } from '@kubed/components';23const Application = () => (4<KubedConfigProvider>5<CssBaseline /> // ---> Normalize styles6<AppComponent /> // ---> Root of your application7</KubedConfigProvider>8)
- Use components like so:
1import { Button } from "@kubed/components"23const MyComponent = () => <Button>Click Me</Button>