zenkit-ui
v1.2.1
Published
Zen UI Components
Maintainers
Readme
Zenkit UI Components
A modern, lightweight UI component library built with Lit Elements.
Features
- 🚀 Built with Lit Elements
- 📦 Tree-shakeable
- 🎨 Customizable through CSS Custom Properties
- 🔥 Type-safe with TypeScript
- 📝 Documented with Storybook
- ✅ Tested with Vitest
Installation
npm install zenkit-uiUsage
// Import the component
import 'zenkit-ui';
// Use in HTML
<zen-button variant="primary">Click me</zen-button>Available Components
Button
A versatile button component with multiple variants and sizes.
<zen-button variant="primary" size="medium">Click me</zen-button>Properties
- variant: 'primary' | 'secondary' | 'outline'
- size: 'small' | 'medium' | 'large'
- disabled: boolean
Development
- Install dependencies
npm install- Start Storybook
npm run storybook- Run tests
npm test- Build the library
npm run buildContributing
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
License
MIT
