@2rwandans/bon-ui
v0.0.3
Published
React Aria UI component library built with Vite and Tailwind CSS.
Downloads
63
Maintainers
Readme
@2rwandans/bon-ui
React UI component library built with React Aria, Vite, and Tailwind CSS.
Install
npm install @2rwandans/bon-ui react react-domUsage
Import styles once in your app entrypoint:
import '@2rwandans/bon-ui/styles.css';Import components from the package root:
import { Button } from '@2rwandans/bon-ui';
export function Example() {
return <Button variant="primary">Click me</Button>;
}Peer dependencies
react^19.0.0react-dom^19.0.0
Development
yarn storybookBuild distributable artifacts:
yarn buildCheck package contents before publishing:
yarn pack:checkRelease flow (GitLab CI/CD)
- Bump the version in
package.json. - Commit the change.
- Create and push a semver tag like
v0.0.2. - GitLab pipeline publishes to npm for protected tags.
Required GitLab CI variable:
NPM_TOKEN(masked + protected), created from npm access token.
