UI Components
Core UI primitives for building interfaces. These components provide the building blocks for buttons, badges, cards, and navigation.
Installation
npm install @happyvertical/smrt-svelte import { Button, Badge, Card, Pagination } from '@happyvertical/smrt-svelte';Components
Design System
All UI components follow Material Design 3 principles with custom theming support. They use CSS custom properties for easy customization.
Variants
Components support multiple visual variants like primary, secondary, and ghost styles.
Sizes
Consistent sizing scale with small, medium, and large options.
States
Interactive states including hover, focus, active, and disabled.
Accessibility
ARIA attributes, keyboard navigation, and focus indicators built-in.