Pol-ui
A complete UI solution for React projects, based on React, TypeScript, and tailwind.
Stars are welcome
Using this package
- Install the package with npm (or pnpm, bun, pnpm...)
npm i pol-ui
- Import the components you want to use
import { Button } from 'pol-ui'
- Use them in your project
<Button>Click me!</Button>
Documentation
npm run docs: Run Storybook documentation in dev modenpm run build:docs: Build Storybook documentation
Testing
This package has unit and component tests configured with Jest
npm run test: Run unit tests with Jest and React Testing Library
npm run test:watch: Run unit tests on watch mode
Linting
npm run lint: Run linternpm run lint:fix: Fix lint issues
CI and Publishing
This template comes with a GitHub Actions workflow to automatically publish on any push to main when the package.json version number differs from the latest on npm.