0.0.3 • Published 17 days ago
@deepfence/ui-components v0.0.3
ui-components
This is the common ui-components package which is used by all dashboard/frontend projects.
how to use?
- Install the package.
- If you are in this monorepo, it can be imported via turbo.
- If you are not in this git repo, this must be imported via npm package(TODO)
- Import the stylesheet as well as fonts(depends on the project which is using this package)
import 'ui-components/style.css';
- Use the components
import { Button, Card, TextInput } from 'ui-components';
<Button size="sm" color="primary">
Click me!
</Button>;
Development
- To start the storybook
pnpm run storybook