@kaio-xyz/design-system
v1.1.100
Published
React design system for Kaio/Libre projects.
Downloads
5,607
Keywords
Readme
@kaio-xyz/design-system
React design system for Kaio/Libre projects.
Installation
pnpm add @kaio-xyz/design-systemUsage
Import styles once in your entry point (e.g. App.tsx or main.tsx):
import "@kaio-xyz/design-system/styles.css";Then use the components:
import { Badge } from "@kaio-xyz/design-system";
function App() {
return (
<Badge text="Success" status="success" />
);
}Development
# Install dependencies
pnpm install
# Start Storybook
pnpm storybook
# Build the library
pnpm build
# Watch mode
pnpm devStorybook
View all components and their variants:
pnpm storybookOpen http://localhost:6006
Requirements
- React 18+ or 19+
- React DOM 18+ or 19+
License
ISC
