@kuratchi/ui
v0.0.1
Published
KuratchiJS UI component library - server-rendered HTML components with scoped CSS
Readme
@kuratchi/ui
Server-rendered HTML component library for kuratchi.
Install
npm install @kuratchi/uiUsage
Import component templates directly:
<script>
import Alert from '@kuratchi/ui/alert.html';
import Card from '@kuratchi/ui/card.html';
</script>Adapter helper:
import { kuratchiUiConfig } from '@kuratchi/ui/adapter';
const ui = kuratchiUiConfig({ theme: 'default' });Included
- Layout/navigation primitives (
app-shell,sidebar,breadcrumb) - Data display components (
card,data-list,stats-card) - Feedback components (
alert,dialog,drawer,tooltip) - Theme styles in
src/styles/theme.css
