Modern, lightweight UI component library built with LitElement.
npm install @lazhus/kg-uiModern, lightweight UI component library built with LitElement.
- ✨ 40+ Modern Components - Tree, List, DataGrid, Modal, Avatar, and more
- 🎨 Customizable Theming - CSS variables for easy customization
- 🌓 Dark Mode Support - Built-in dark theme
- 📱 Responsive - Mobile-first design
- ⚡ Lightweight - Built with LitElement
- 🎯 TypeScript Ready - Full type support (Global & React/JSX)
- ♿ Accessible - ARIA compliant components
``bash`
npm install @lazhus/kg-ui
You can import components individually or as a whole:
`javascript
// Import specific components
import '@lazhus/kg-ui/components/kg-button.js';
import '@lazhus/kg-ui/components/kg-input.js';
// OR import everything
import { kgbutton, kgloader, toast } from '@lazhus/kg-ui';
`
Add the CSS to your project:
`html`
Or in your JavaScript/CSS:
`javascript`
import '@lazhus/kg-ui/style.css';
`html`
KG UI components are built using ElementInternals, making them natively compatible with standard