ui-kit
Enables bidirectional sync of design tokens between code and Figma, allowing export of theme tokens (colors, typography, spacing) as Figma Variables and import via the Aurora UI Kit Token Sync plugin to maintain consistency between design and development.
@annondeveloper/ui-kit v2
The first React component library built for AI agents. 147 zero-dependency components that AI assistants can discover, understand, and use via MCP.
How It Works
Step 1. Install the library
npm install @annondeveloper/ui-kitStep 2. Connect your AI assistant (pick one)
# Zero setup — hosted MCP (works instantly, no install needed)
# Add to your MCP config: { "url": "https://ui-kit-mcp.annondeveloper.workers.dev/sse" }
# Or run locally
npx @annondeveloper/ui-kit mcpStep 3. Ask your AI to build
"Build a dashboard with MetricCard, DataTable, and TimeSeriesChart using ui-kit"
Your AI generates production code directly:
import { UIProvider, MetricCard, DataTable, TimeSeriesChart } from '@annondeveloper/ui-kit'
function Dashboard({ metrics, tableData, series }) {
return (
<UIProvider>
<div style={{ display: 'grid', gridTemplateColumns: 'repeat(3, 1fr)', gap: '1rem' }}>
<MetricCard title="Requests" value="12.4K" trend="up" />
<MetricCard title="Latency" value="42ms" trend="down" />
<MetricCard title="Error Rate" value="0.12%" trend="down" />
</div>
<TimeSeriesChart series={series} height={300} />
<DataTable columns={columns} data={tableData} searchPlaceholder="Search..." />
</UIProvider>
)
}MCP Server
The built-in MCP server exposes 6 tools that give AI assistants structured access to the full component library:
Tool | What it does |
| Browse all 147 components with descriptions, filterable by category or tier |
| Get full API reference for any component — props, types, defaults, code examples |
| Semantic search across components by use case (e.g., "data visualization", "form inputs") |
| Retrieve theme tokens, OKLCH color system details, and customization API |
| Generate working TSX code with correct imports for any component combination |
| Browse 50+ built-in SVG icons with search and usage examples |
Hosted (zero setup — just add the URL)
No install needed. Connect any MCP client to the hosted server:
{
"mcpServers": {
"ui-kit": {
"url": "https://ui-kit-mcp.annondeveloper.workers.dev/sse"
}
}
}Local (for offline use)
npx @annondeveloper/ui-kit mcpOr add to your MCP config (claude_desktop_config.json, .cursor/mcp.json):
{
"mcpServers": {
"ui-kit": {
"command": "npx",
"args": ["@annondeveloper/ui-kit", "mcp"]
}
}
}Try it
Ask your AI assistant:
"Build a dashboard with MetricCard, DataTable, and TimeSeriesChart using ui-kit"
"Create a multi-step form wizard with validation"
"Add a real-time log viewer with severity filtering"
AI Integrations
Works with every major AI coding assistant. One URL, zero install:
Assistant | Setup | Guide |
Claude Code | Full plugin with 5 skills + 2 agents + hooks | |
Claude Desktop | Add MCP URL to | See MCP section above |
Cursor | Copy | |
VS Code / Copilot | Add to | |
Windsurf | Add to MCP settings | |
Codex CLI | Add to |
Claude Code plugin features:
/ui-kit:component-finder— search 147 components by name or use case/ui-kit:generate-component— produce working TSX with correct imports/ui-kit:design-system— learn Aurora Fluid, OKLCH, motion levels/ui-kit:tier-guide— choose the right weight tier/ui-kit:audit-accessibility— check WCAG AA compliancecomponent-architectagent — designs multi-component layoutsaccessibility-revieweragent — deep a11y audit
Quick Start
For manual usage without an AI assistant:
npm install @annondeveloper/ui-kitimport { UIProvider, Button, Card, MetricCard } from '@annondeveloper/ui-kit'
function App() {
return (
<UIProvider>
<Card>
<Button variant="primary">Deploy</Button>
<MetricCard title="CPU" value="87.4%" trend="up" />
</Card>
</UIProvider>
)
}Features
Zero dependencies — only
reactandreact-dompeer deps147 components — 73 general-purpose + 74 domain-specific across 3 weight tiers
3 weight tiers — Lite (144), Standard (147), Premium (14) — optimize your bundle
AI-native — Claude Code plugin, Cursor/VS Code/Windsurf/Codex integrations, hosted MCP server
MCP server — 6 tools for component discovery, API reference, code generation, theme tokens
Aurora Fluid design — deep atmospheric surfaces, ambient glows, OKLCH colors
Physics animations — real spring solver, configurable motion levels (0-3)
Built-in form engine —
createForm,useForm, validators, zero external deps15 pre-built themes — including 5 new themes added in v2.4
classNamesprop — deep customization of internal component elementsAccessibility — WAI-ARIA patterns, keyboard navigation, screen reader support
Responsive — container queries, fluid typography, touch/mouse/gamepad support
Theme generator — generate complete theme from single brand color
Documentation
Migration Guide -- Upgrading from v1 to v2
Theming -- OKLCH colors, theme generation, customization
Form Engine -- Built-in form state, validators, auto-wiring
Animation -- Physics springs, timeline, stagger, scroll
Design Spec -- Full architecture document
New in v2.7
AI DataTable -- AI-powered filter suggestions for DataTable
RSC Support -- React Server Components compatibility
Web Components -- Web Components wrapper for framework-agnostic usage
MCP Server -- Model Context Protocol server for AI-assisted workflows
New in v2.5
Motion Choreography -- Sequenced multi-step animations with 5 presets
Container Queries -- Container-responsive design tokens and components
View Transitions -- Native View Transitions API with 6 presets
Theme Editor -- Color harmony, contrast audit, multi-format export
AI Generator -- Template gallery, custom composition, 5 framework output
CLI Scaffolding -- Project templates, component add, Figma export
Cursor MCP Setup -- Connect the MCP server to Cursor
Figma Plugin -- Token sync between code and Figma Variables
Performance Dashboard -- Bundle tracking, render profiler, Web Vitals
Next-Gen Features
AI DataTable Suggestions -- DataTable with AI-powered filter suggestions that analyze column data to surface outliers, patterns, and top-N values automatically.
RSC Support -- Full React Server Components compatibility. Components work in both client and server rendering contexts without extra configuration.
Web Components Wrapper -- Use ui-kit components in any framework (Vue, Svelte, vanilla JS) via custom elements. Import the wrapper and register components as <ui-button>, <ui-card>, etc.
MCP Server -- Built-in Model Context Protocol server that exposes component discovery, API reference, code generation, and theme tools to AI assistants.
Motion Choreography -- Orchestrate multi-step animation sequences with Choreography class, 5 presets (cascade, stagger-grid, wave, spiral, focus-in), and scroll-triggered choreography via useScrollChoreography.
Container Query Design Tokens -- <ContainerQuery> component, useContainerSize() hook, resolveResponsive() utility, and CONTAINER_BREAKPOINTS for building components that adapt to their container.
View Transitions API -- useViewTransition() hook with 6 presets (morph, crossfade, slide-left, slide-right, slide-up, zoom) and assignTransitionName() for element morphing.
Theme Editor -- Color harmony engine (5 types), WCAG contrast audit, export to CSS/Tailwind/Figma/CSS-in-JS, and shareable URL scheme.
AI Component Generator -- Template gallery (dashboard, form, marketing, saas, docs), custom composition builder, and code output for React, Vue, Svelte, and HTML.
CLI Scaffolding -- add copies components, create scaffolds full projects from 5 templates, figma-export generates Figma Variables JSON.
Figma Plugin -- Export theme tokens as Figma Variables and import them via the Aurora UI Kit Token Sync plugin.
Performance Dashboard -- Bundle size tracking with budget gauge, runtime render profiler, Web Vitals integration, and CI regression detection.
CLI Commands
npx @annondeveloper/ui-kit init # Copy theme + setup
npx @annondeveloper/ui-kit add <component> [--tier] [--out-dir] # Copy component source
npx @annondeveloper/ui-kit create <name> --template <template> # Scaffold project
npx @annondeveloper/ui-kit list # List all 147 components
npx @annondeveloper/ui-kit theme <color> # Generate theme CSS
npx @annondeveloper/ui-kit figma-export --theme <name> --output <file> # Export Figma tokens
npx @annondeveloper/ui-kit mcp # Start MCP server for AI assistantsComponent List
General-Purpose Components (73)
Component | Description |
| Icon-only button with tooltip |
| Collapsible sections with single/multiple mode |
| Fixed-position wrapper for floating elements |
| Inline status messages with variants |
| Smooth number animation with easing |
| Full application layout scaffold |
| Image/initials avatar with status dot |
| Avatar with upload/crop functionality |
| Scroll-to-top floating button |
| Pill-shaped label with color presets |
| Hierarchical navigation trail |
| Primary action with variants and loading |
| Grouped button container |
| Standalone calendar display |
| Styled container with subcomponents |
| Image/content carousel with navigation |
| Themed checkbox with indeterminate state |
| Compact interactive tag element |
| Color picker with hue/saturation panel |
| Searchable select with async loading |
| Universal command palette (Cmd+K) |
| Confirmation modal with danger variant |
| One-click copy to clipboard |
| Calendar-based date selection |
| Date range selection with presets |
| Native dialog with animated entry/exit |
| Horizontal/vertical separator |
| Slide-out panel from any edge |
| Action menu with submenus and shortcuts |
| Decorative placeholder with icon and actions |
| Drag-and-drop file upload with preview |
| Rounded filter toggle with count |
| Themed input with label and validation |
| Text highlighting with search match |
| Dot/badge indicator overlay |
| Click-to-edit text field |
| Keyboard shortcut display |
| Styled anchor with underline animation |
| Multi-value select dropdown |
| Top-level application navigation bar |
| Lightweight tooltip using title attribute |
| Toast notification cards with auto-dismiss |
| Numeric input with increment/decrement |
| One-time password code entry |
| Page navigation with controls |
| Password field with visibility toggle |
| PIN code entry with auto-advance |
| Anchored popover with arrow and focus management |
| Progress bar with indeterminate mode |
| Radio button group with descriptions |
| Star rating input with half-star support |
| Scroll-triggered reveal animation |
| Search field with debounce and clear |
| Segmented toggle selector |
| Themed dropdown select |
| Slide-over drawer with swipe dismiss |
| Collapsible side navigation |
| Shimmer loading placeholder |
| Range slider with keyboard support |
| Collapsible content with show more/less |
| Spotlight search overlay |
| Status indicator with colored dot |
| Animated status dot with pulse ring |
| Step indicator with progress |
| Animated SVG checkmark |
| Tabbed interface with animated indicator |
| Multi-value input with tag chips |
| Auto-growing text area |
| Pre-themed toast notifications |
| Boolean toggle switch |
| Popover-based tooltip with positioning |
| Semantic text with fluid sizing |
| Theme, motion, and density provider |
Domain-Specific Components (74)
Component | Description |
| Animated sweeping light beams |
| Floating animated grid boxes |
| Animated conic-gradient border |
| 3D perspective tilt with glare |
| Code editor with syntax highlighting |
| Probability bar with threshold zones |
| Step-by-step connectivity test UI |
| Code display with one-click copy |
| CPU core utilization grid |
| Image cropping tool |
| One-click CSV generation and download |
| Column show/hide dropdown |
| Draggable dashboard layout |
| Full-featured data grid with search, sort, filter |
| Compact/comfortable/spacious control |
| Side-by-side/inline diff viewer |
| Disk mount utilization bars |
| Matrix-style character scramble/reveal |
| Infrastructure resource card |
| Matrix-style encrypted card |
| Rotating word animation |
| SVG geographic visualization |
| Mouse-tracking radial glow card |
| GitHub-style contribution heatmap |
| Gradient text highlight effect |
| Virtualized infinite-scroll list |
| Interactive JSON tree viewer |
| Kanban board column with cards |
| Real-time event feed with auto-scroll |
| Log stream viewer with severity colors |
| Falling meteor streak animation |
| Dashboard stat tile with sparkline |
| Network throughput display |
| Rolling digit counter |
| Orbiting icon animation |
| Horizontal pipeline visualization |
| Network port status indicator grid |
| Key-value detail panel |
| Data center rack visualization |
| Live data display with freshness tracking |
| Container-query adaptive card |
| WYSIWYG rich text editor |
| SVG donut chart with center label |
| Click ripple effect |
| Event timeline with severity dots |
| Horizontal service badge strip |
| Shimmering gradient button |
| DataTable with auto-generated filter suggestions |
| Drag-and-drop reorderable list |
| Inline SVG sparkline chart |
| Spotlight hover effect card |
| Multi-step form wizard |
| Segmented horizontal bar |
| AI/LLM streaming text with cursor |
| Network switch port grid |
| Auto-generated page navigation |
| Scroll-triggered character-by-character unveil |
| Semicircular gauge with threshold zones |
| Time selection input |
| Compact time range pill selector |
| Vertical event timeline |
| Full SVG line chart with multi-series |
| Guided product tour with step highlights |
| Scroll-tracing side beam |
| Dual-list item transfer |
| Hierarchical tree with expand/collapse |
| Auto-truncating text with tooltip |
| "Someone is typing" animation |
| Service monitoring layout |
| Daily uptime bar strip |
| Horizontal bar with threshold colors |
| View Transitions API integration |
| Animated SVG sine waves |
New in v2.5 (1 component)
Component | Description |
| Container query wrapper with render-prop size info |
New in v2.4 (30 components)
The following components were added in the v2.4 release:
General-purpose: ActionIcon, Affix, AvatarUpload, BackToTop, ButtonGroup, Calendar, Carousel, Chip, CopyButton, DateRangePicker, Highlight, Indicator, MultiSelect, NumberInput, PasswordInput, PinInput, SegmentedControl, Spoiler, Spotlight, Stepper, TableOfContents, Textarea, TimePicker, Timeline, TransferList
Domain-specific: CodeEditor, Cropper, JsonViewer, RichTextEditor, Tour
Core Engine Modules
Module | Size | Description |
| ~1KB | useStyles(), css tag, adoptedStyleSheets, SSR |
| ~3.5KB | Spring solver, WAAPI, timeline, stagger, scroll, FLIP |
| ~2.4KB | Unified pointer, gestures, focus, gamepad, multitouch |
| ~1.5KB | OKLCH theme, generateTheme(), applyTheme() |
| ~1KB | Focus trap, roving tabindex, live region, stable ID |
| ~2KB | 50+ built-in SVG icons, all overridable |
| ~2KB | createForm, useForm, validators, Form, FieldArray |
| ~0.5KB | cn(), formatting, sanitize, clamp |
Entry Points
import { Button, Dialog, DataTable } from '@annondeveloper/ui-kit'
import { Button as LiteButton } from '@annondeveloper/ui-kit/lite'
import { Button as PremiumButton } from '@annondeveloper/ui-kit/premium'
import { createForm, useForm, v } from '@annondeveloper/ui-kit/form'
import { generateTheme, themeToCSS } from '@annondeveloper/ui-kit/theme'
import '@annondeveloper/ui-kit/css/theme.css' // Standalone CSS (optional)Weight Tiers
Tier | Components | Description |
Standard | 147 | Full-featured with motion, theming, a11y |
Lite | 144 | Minimal wrappers, no motion (~0.3-1.2 KB each) |
Premium | 14 | Aurora glow, spring animations, shimmer effects |
Bundle Size
Metric | Value |
Total (gzipped) | ~384 KB |
Budget | 400 KB |
Tree-shaking | Full ESM — import only what you use |
Typical app importing ~20 components: ~15-25 KB gzipped after tree-shaking.
Motion Levels
<UIProvider motion={2}> {/* 0=none, 1=subtle, 2=expressive, 3=cinematic */}v1 Documentation
The React component library for monitoring dashboards, infrastructure tools, and professional applications.
53 components • Dark/Light theme • Accessible • AI-ready • Real-time primitives • Tree-shakeable
Quick Start
Install
# npm
npm install @annondeveloper/ui-kit
# pnpm
pnpm add @annondeveloper/ui-kit
# yarn
yarn add @annondeveloper/ui-kit
# bun
bun add @annondeveloper/ui-kit
# jsr
npx jsr add @annondeveloper/ui-kitPeer Dependencies
npm install react react-domv2 has zero external dependencies -- only react ^19 and react-dom ^19 are required as peer dependencies.
Theme Setup
Import the theme CSS once in your app's root layout:
import '@annondeveloper/ui-kit/theme.css'Or copy the CSS custom properties into your own stylesheet. See Theme System below.
Minimal Example
import { Button, MetricCard, StatusBadge, ToastProvider, useToast } from '@annondeveloper/ui-kit'
function App() {
return (
<ToastProvider>
<MetricCard label="CPU Usage" value={72.4} format={n => `${n.toFixed(1)}%`} status="warning" />
<StatusBadge status="active" pulse />
<DeployButton />
</ToastProvider>
)
}
function DeployButton() {
const toast = useToast()
return <Button variant="primary" onClick={() => toast.success('Deployed!')}>Deploy</Button>
}Why This Library?
Most component libraries are built for CRUD apps. This one is built for ops dashboards, infrastructure tools, and AI-powered interfaces -- where data density, real-time updates, and status visualization are first-class concerns.
Smart Components -- SmartTable auto-generates filter suggestions (outliers, top-N, patterns). CommandBar provides fuzzy search with recent history.
AI-Ready -- StreamingText renders LLM output with a blinking cursor. TypingIndicator, ConfidenceBar, and copy-on-complete are built in.
Real-Time -- RealtimeValue tracks data freshness with connection state indicators and stale-data dimming. LiveFeed auto-scrolls with pause controls. NotificationStack supports auto-dismiss with progress bars.
Monitoring -- MetricCard with trend arrows and sparklines. ThresholdGauge with color-coded zones. UtilizationBar, UptimeTracker, PortStatusGrid, and PipelineStage for infrastructure dashboards.
Data-Dense -- DataTable with 10+ features in one import (search, column filters, sort, pagination, density control, column picker, CSV export, row animations). HeatmapCalendar, SeverityTimeline, LogViewer for high-density displays.
Developer Experience -- CLI for scaffolding (
npx @annondeveloper/ui-kit add button). react-hook-form adapters. Zero config theming. Full TypeScript coverage with exported types.
Component Reference
Core
Button
A themed button with variant, size, and loading support.
import { Button } from '@annondeveloper/ui-kit'
<Button variant="primary" size="md" loading={isPending}>Save</Button>Prop | Type | Default | Description |
|
|
| Visual variant |
|
|
| Size preset |
|
|
| Show spinner and disable interaction |
Extends all native <button> attributes. Supports ref forwarding.
Badge
A pill-shaped label with 10 color presets and optional icon.
import { Badge, createBadgeVariant } from '@annondeveloper/ui-kit'
import { Shield } from 'lucide-react'
<Badge color="green" icon={Shield} size="sm">Secure</Badge>Prop | Type | Default | Description |
|
| -- | Badge content |
|
|
| Color preset |
|
| -- | Optional icon before the label |
|
|
| Size variant |
Badge Factory
Create domain-specific badge components without modifying the library:
const SeverityBadge = createBadgeVariant({
colorMap: { critical: 'red', warning: 'yellow', info: 'blue' },
labelMap: { critical: 'Critical', warning: 'Warning', info: 'Info' },
})
<SeverityBadge value="critical" />Card
A styled card container with semantic structure via children.
import { Card } from '@annondeveloper/ui-kit'
<Card variant="interactive" padding="lg">
<h2>Server Health</h2>
<p>All systems operational</p>
</Card>Prop | Type | Default | Description |
|
|
| Visual variant ( |
|
|
| Padding preset |
Supports ref forwarding and all native HTML attributes.
Tabs
Accessible tabbed interface with three visual variants and animated indicator.
import { Tabs } from '@annondeveloper/ui-kit'
<Tabs tabs={[{ value: 'metrics', label: 'Metrics' }, { value: 'logs', label: 'Logs' }]}
value={tab} onChange={setTab} variant="pills" />Prop | Type | Default | Description |
|
| -- | Array of |
|
| -- | Currently selected tab value |
|
| -- | Selection callback |
|
|
| Visual variant |
|
|
| Size preset |
Supports keyboard navigation (arrow keys, Home, End) and ARIA roles. Animated indicator uses Framer Motion layoutId.
Sheet
A slide-over drawer panel from any screen edge.
import { Sheet } from '@annondeveloper/ui-kit'
<Sheet open={isOpen} onClose={() => setOpen(false)} title="Settings" side="right" width="max-w-lg">
{children}
</Sheet>Prop | Type | Default | Description |
|
| -- | Whether the sheet is open |
|
| -- | Close callback |
|
|
| Slide-in edge |
|
| -- | Header title |
|
| -- | Header description |
|
|
| Width/height class |
Features: backdrop blur, spring animation, Escape to close, body scroll lock, auto-focus.
Tooltip
Simple tooltip wrapper built on Radix UI with theme-styled content and arrow pointer.
import { Tooltip } from '@annondeveloper/ui-kit'
<Tooltip content="Copy to clipboard" side="top"><button>...</button></Tooltip>Prop | Type | Default | Description |
|
| -- | Tooltip content |
|
| -- | Trigger element |
|
|
| Display side |
|
|
| Delay in ms |
Popover
Popover wrapper built on Radix Popover with Framer Motion entry animation.
import { Popover } from '@annondeveloper/ui-kit'
<Popover trigger={<button>Options</button>} side="bottom" align="end">
<p>Popover content</p>
</Popover>Prop | Type | Default | Description |
|
| -- | Element that opens the popover |
|
| -- | Popover content |
|
|
| Display side |
|
|
| Alignment |
DropdownMenu
Action/context dropdown menu built on Radix DropdownMenu with danger variant support.
import { DropdownMenu } from '@annondeveloper/ui-kit'
import { Edit, Trash2 } from 'lucide-react'
<DropdownMenu
trigger={<button>Actions</button>}
items={[
{ label: 'Edit', icon: Edit, onClick: handleEdit },
{ label: 'Delete', icon: Trash2, onClick: handleDelete, variant: 'danger' },
]}
/>Prop | Type | Default | Description |
|
| -- | Element that opens the menu |
|
| -- |
|
|
|
| Menu alignment |
ConfirmDialog
Confirmation modal built on Radix AlertDialog with animated enter/exit.
import { ConfirmDialog } from '@annondeveloper/ui-kit'
<ConfirmDialog
open={showDelete} onOpenChange={setShowDelete}
title="Delete server?" description="This action cannot be undone."
variant="danger" confirmLabel="Delete" loading={isDeleting}
onConfirm={handleDelete}
/>Prop | Type | Default | Description |
|
| -- | Control open state |
|
| -- | Open state callback |
|
| -- | Dialog title |
|
| -- | Dialog description |
|
|
| Confirm button text |
|
|
| Cancel button text |
|
|
| Icon and button color |
|
|
| Show spinner on confirm button |
|
| -- | Confirm callback |
Forms
FormInput
Themed form input with label, required indicator, and optional hint text.
import { FormInput } from '@annondeveloper/ui-kit'
<FormInput label="Hostname" value={host} onChange={setHost} placeholder="10.0.0.1" required hint="IPv4 or FQDN" />Prop | Type | Default | Description |
|
| -- | Label text |
|
| -- | Input value |
|
| -- | Value change callback |
|
|
| HTML input type |
|
| -- | Placeholder text |
|
| -- | Show required indicator |
|
| -- | Disable input |
|
| -- | Help text below input |
|
| -- | Autocomplete attribute |
Supports ref forwarding and all native input attributes.
Select
Themed dropdown built on Radix UI Select.
import { Select } from '@annondeveloper/ui-kit'
<Select value={protocol} onValueChange={setProtocol}
options={[{ value: 'snmp', label: 'SNMP' }, { value: 'ssh', label: 'SSH' }]}
placeholder="Select protocol" />Prop | Type | Default | Description |
|
| -- | Selected value |
|
| -- | Selection callback |
|
| -- |
|
|
| -- | Placeholder text |
|
| -- | Disable select |
Checkbox
Themed checkbox with indeterminate state support. Forwards ref.
import { Checkbox } from '@annondeveloper/ui-kit'
<Checkbox checked={selected} onChange={handleChange} indeterminate={isPartial} size="sm" />Prop | Type | Default | Description |
|
| -- | Show minus indicator |
|
|
| Size variant |
Extends native <input> attributes (except type and size).
ToggleSwitch
Icon-based boolean toggle using lucide icons.
import { ToggleSwitch } from '@annondeveloper/ui-kit'
<ToggleSwitch enabled={isActive} onChange={setIsActive} label="Auto-refresh" />Prop | Type | Default | Description |
|
| -- | Toggle state |
|
| -- | Change callback |
|
|
| Size variant |
|
| -- | Disable toggle |
|
| -- | Accessible label |
RadioGroup
Custom-styled radio button group with animated selection indicator.
import { RadioGroup } from '@annondeveloper/ui-kit'
<RadioGroup
options={[
{ value: 'v2c', label: 'SNMPv2c' },
{ value: 'v3', label: 'SNMPv3', description: 'Recommended for production' },
]}
value={version} onChange={setVersion} orientation="vertical"
/>Prop | Type | Default | Description |
|
| -- |
|
|
| -- | Selected value |
|
| -- | Selection callback |
|
|
| Layout direction |
Supports keyboard navigation (arrow keys, Home, End) and ARIA roles.
Slider
Custom range slider with keyboard accessibility and hover tooltip.
import { Slider } from '@annondeveloper/ui-kit'
<Slider value={threshold} onChange={setThreshold} min={0} max={100} step={5} label="Alert threshold" showValue />Prop | Type | Default | Description |
|
| -- | Current value |
|
| -- | Change callback |
|
|
| Minimum value |
|
|
| Maximum value |
|
|
| Step increment |
|
| -- | Label text |
|
|
| Show value display |
Supports keyboard (arrow keys, Home, End), mouse drag, and touch.
ColorInput
Compact color picker with expandable panel, hue/saturation area, format switching, and presets.
import { ColorInput } from '@annondeveloper/ui-kit'
<ColorInput value={color} onChange={setColor} label="Accent" format="hex"
presets={['#3b82f6', '#10b981', '#f59e0b', '#ef4444']} />Prop | Type | Default | Description |
|
| -- | Hex color string |
|
| -- | Change callback |
|
| -- | Optional label |
|
| -- | Preset color swatches |
|
|
| Show alpha slider |
|
|
| Display format |
Features: HSL picker area, hue slider, format switching, clipboard copy, recent color history (localStorage).
StepWizard
Multi-step form wizard with animated slide transitions and per-step validation.
import { StepWizard } from '@annondeveloper/ui-kit'
<StepWizard
steps={[
{ id: 'creds', title: 'Credentials', content: <CredentialsForm /> },
{ id: 'targets', title: 'Targets', content: <TargetForm />, validate: () => targets.length > 0 },
{ id: 'review', title: 'Review', content: <ReviewSummary /> },
]}
onComplete={handleDeploy} showSummary
/>Prop | Type | Default | Description |
|
| -- |
|
|
| -- | Final step completion callback |
|
| -- | Step change callback |
|
|
| Step indicator layout |
|
|
| Allow skipping to uncompleted steps |
|
|
| Show completion state after last step |
Features: animated step transitions, progress bar, keyboard navigation (Enter to advance), session storage auto-save, async validation.
FilterPill
Rounded pill-style filter toggle with optional count.
import { FilterPill } from '@annondeveloper/ui-kit'
<FilterPill label="Critical" count={12} active={filter === 'critical'} onClick={() => setFilter('critical')} />Prop | Type | Default | Description |
|
| -- | Pill text |
|
| -- | Optional count badge |
|
| -- | Active/selected state |
|
| -- | Click handler |
Data Display
DataTable
Full-featured data grid built on TanStack Table v8.
import { DataTable } from '@annondeveloper/ui-kit'
<DataTable
columns={columns} data={devices} isLoading={isLoading}
searchPlaceholder="Search devices..."
defaultPageSize={25} exportFilename="devices"
onRowClick={(row) => router.push(`/devices/${row.id}`)}
emptyState={{ icon: Server, title: 'No devices', description: 'Run a discovery scan to get started.' }}
/>Prop | Type | Default | Description |
|
| -- | TanStack column definitions |
|
| -- | Row data |
|
|
| Show loading skeleton |
|
| -- | Custom empty state |
|
|
| Search input placeholder |
|
| -- | Row click handler |
|
| -- | Initial sort configuration |
|
|
| Rows per page |
|
| -- | Enables CSV export button |
|
|
| Sticky first column on scroll |
|
|
| Row density |
Built-in features: global search, auto-detected column filters (text/enum/number range), multi-column sort, pagination, density control (persisted to localStorage), column visibility picker with drag reorder, CSV export, row click, loading skeleton, empty state, Framer Motion row animations.
SmartTable
Enhanced DataTable that auto-generates filter suggestions by analyzing column data.
import { SmartTable } from '@annondeveloper/ui-kit'
<SmartTable columns={columns} data={data} maxSuggestions={4} onFilterSuggestion={console.log} />Prop | Type | Default | Description |
...all DataTable props | Inherits all DataTable props | ||
|
| -- | Suggestion click callback |
|
|
| Max visible suggestions |
Auto-detects: statistical outliers (>2 std dev), top-N frequent values, dominant pattern detection, minority value highlighting.
AnimatedCounter
Smooth number animation using requestAnimationFrame with cubic easing.
import { AnimatedCounter } from '@annondeveloper/ui-kit'
<AnimatedCounter value={deviceCount} duration={400} format={n => n.toLocaleString()} />Prop | Type | Default | Description |
|
| -- | Target value |
|
|
| Animation duration (ms) |
|
| -- | Custom number formatter |
Sparkline
Tiny inline SVG sparkline chart with gradient fill.
import { Sparkline } from '@annondeveloper/ui-kit'
<Sparkline data={[10, 25, 18, 30, 22]} width={80} height={24} showDots />Prop | Type | Default | Description |
|
| -- | Values to plot (min 2) |
|
|
| SVG width |
|
|
| SVG height |
|
|
| Line color |
|
|
| Gradient fill opacity (0 to disable) |
|
|
| Dots on first/last points |
TruncatedText
Auto-truncating text with tooltip and copy-to-clipboard on hover.
import { TruncatedText } from '@annondeveloper/ui-kit'
<TruncatedText text="very-long-hostname-that-overflows.example.com" maxWidth={200} />Prop | Type | Default | Description |
|
| -- | Full text content |
|
|
| Max width for truncation |
CopyBlock
Monospace code/text display with one-click copy and collapsible overflow.
import { CopyBlock } from '@annondeveloper/ui-kit'
<CopyBlock content="curl -X GET https://api.example.com/health" language="bash" label="Health check" />Prop | Type | Default | Description |
|
| -- | Text content |
|
| -- | Language hint (e.g. "json", "bash") |
|
|
| Show line number gutter |
|
| -- | Max height before "Show more" toggle |
|
| -- | Label above the block |
DiffViewer
Line-by-line diff viewer using LCS algorithm with collapsible unchanged sections.
import { DiffViewer } from '@annondeveloper/ui-kit'
<DiffViewer oldValue={previousConfig} newValue={currentConfig} mode="side-by-side" showLineNumbers />Prop | Type | Default | Description |
|
| -- | Original text |
|
| -- | Modified text |
|
|
| Display mode |
|
| -- | Language hint |
|
|
| Show line numbers |
Status & Monitoring
StatusBadge
Configurable status indicator with colored dot and label.
import { StatusBadge, defaultStatusMap } from '@annondeveloper/ui-kit'
<StatusBadge status="active" pulse />
<StatusBadge status="healthy" statusMap={myCustomStatuses} />Prop | Type | Default | Description |
|
| -- | Status key |
|
| -- | Override display label |
|
|
| Size variant |
|
|
| Pulse animation on the dot |
|
|
| Custom status definitions |
Built-in statuses: ok, active, warning, critical, unknown, maintenance, stale, inactive, decommissioned, pending.
StatusPulse
Animated status dot with optional pulse ring and label.
import { StatusPulse } from '@annondeveloper/ui-kit'
<StatusPulse status="online" />
<StatusPulse status="degraded" label={false} />Prop | Type | Default | Description |
|
| -- | Status key |
|
|
| Show status text |
|
|
| Custom pulse configs |
Built-in statuses: online (green pulse), degraded (yellow fast pulse), offline (red, no pulse), unknown (gray, no pulse).
MetricCard
Dashboard stat tile with animated counter, trend indicator, and optional sparkline.
import { MetricCard } from '@annondeveloper/ui-kit'
import { HardDrive } from 'lucide-react'
<MetricCard
label="Disk Usage" value={78.3} format={n => `${n.toFixed(1)}%`}
previousValue={72.1} trendDirection="up-bad"
icon={HardDrive} status="warning"
sparklineData={[65, 68, 70, 72, 75, 78]}
/>Prop | Type | Default | Description |
|
| -- | Metric name |
|
| -- | Current value |
|
| -- | Custom formatter |
|
| -- | Previous value for trend |
|
| -- | Color interpretation |
|
| -- | Lucide icon component |
|
| -- | Left border accent color |
|
| -- | Recent values for inline chart |
ThresholdGauge
Semicircular SVG gauge with color-coded threshold zones.
import { ThresholdGauge } from '@annondeveloper/ui-kit'
<ThresholdGauge value={85} label="CPU" thresholds={{ warning: 70, critical: 90 }} size={120} />Prop | Type | Default | Description |
|
| -- | Gauge value (0-100) |
|
| -- | Label below gauge |
|
|
| Color zone boundaries |
|
|
| Diameter in pixels |
|
|
| Show value in center |
|
| -- | Custom value formatter |
UtilizationBar
Horizontal bar with color-coded thresholds. Animates fill on mount.
import { UtilizationBar } from '@annondeveloper/ui-kit'
<UtilizationBar value={92} label="Memory" thresholds={{ warning: 70, critical: 90 }} size="md" />Prop | Type | Default | Description |
|
| -- | Utilization percentage (0-100) |
|
|
| Color zone boundaries |
|
| -- | Label to the left |
|
|
| Show percentage text |
|
|
| Bar height |
|
|
| Animate fill width |
UptimeTracker
GitHub/Statuspage-style daily uptime bar strip.
import { UptimeTracker } from '@annondeveloper/ui-kit'
<UptimeTracker
days={last90Days} label="API Server" showPercentage
onDayClick={(day) => showIncidents(day.date)}
/>Prop | Type | Default | Description |
|
| -- |
|
|
|
| Show overall uptime % |
|
| -- | Header label |
|
| -- | Day click callback |
PortStatusGrid
Grid of colored indicators for network ports/interfaces.
import { PortStatusGrid } from '@annondeveloper/ui-kit'
<PortStatusGrid
ports={switchPorts} columns={24} size="md"
onPortClick={(port) => showPortDetail(port.id)}
/>Prop | Type | Default | Description |
|
| -- |
|
|
| auto-fit | Grid columns |
|
|
| Indicator size |
|
| -- | Port click callback |
PipelineStage
Horizontal data pipeline visualization with status dots and chevron connectors.
import { PipelineStage } from '@annondeveloper/ui-kit'
<PipelineStage
stages={[
{ name: 'Collector', status: 'active', metric: { label: 'msg/s', value: '1.2K' } },
{ name: 'Normalizer', status: 'active' },
{ name: 'Writer', status: 'error' },
]}
onStageClick={(stage) => showStageDetail(stage)}
/>Prop | Type | Default | Description |
|
| -- |
|
|
| -- | Stage click callback |
SeverityTimeline
Horizontal scrollable event timeline with severity-colored dots.
import { SeverityTimeline } from '@annondeveloper/ui-kit'
<SeverityTimeline events={recentAlerts} maxVisible={20} onEventClick={showAlertDetail} />Prop | Type | Default | Description |
|
| -- |
|
|
|
| Max visible events |
|
| -- | Event click callback |
TimeRangeSelector
Compact horizontal pill-group time range selector.
import { TimeRangeSelector } from '@annondeveloper/ui-kit'
<TimeRangeSelector value={range} onChange={(v, r) => setRange(v)} />Prop | Type | Default | Description |
|
| -- | Selected range value |
|
| -- | Selection callback |
|
|
| Custom range options (each |
LogViewer
Real-time log stream viewer with severity-colored borders and auto-scroll.
import { LogViewer } from '@annondeveloper/ui-kit'
<LogViewer entries={logs} maxHeight={400} autoScroll showTimestamps onEntryClick={showDetail} />Prop | Type | Default | Description |
|
| -- |
|
|
|
| Container max height |
|
|
| Auto-scroll on new entries |
|
|
| Show timestamps column |
|
|
| Show level badge |
|
| -- | Entry click callback |
Features: search filtering, "N new entries" floating badge when scrolled up.
Real-Time & AI
RealtimeValue
Live data display with freshness tracking, connection state, and delta arrows.
import { RealtimeValue } from '@annondeveloper/ui-kit'
import { fmtBps } from '@annondeveloper/ui-kit'
<RealtimeValue
value={throughput} format={fmtBps}
previousValue={prevThroughput} lastUpdated={lastTs}
staleAfterMs={30000} connectionState="connected" size="lg"
/>Prop | Type | Default | Description |
|
| -- | Current value |
|
| -- | Label text |
|
| -- | Custom formatter |
|
| -- | Last data timestamp |
|
|
| Staleness threshold (ms) |
|
|
| Connection indicator |
|
| -- | Previous value for delta |
|
|
| Animate value changes |
|
|
| Display size |
Features: animated number transitions, freshness dot (green/yellow/red), ping animation when fresh, connection state icon (reconnecting spinner, disconnected icon), auto-updating relative timestamp.
StreamingText
AI/LLM streaming text display with blinking cursor and inline markdown formatting.
import { StreamingText } from '@annondeveloper/ui-kit'
<StreamingText text={response} isStreaming={isGenerating} onComplete={() => logCompletion()} />Prop | Type | Default | Description |
|
| -- | Text content (grows as tokens arrive) |
|
| -- | Whether tokens are still arriving |
|
|
| Cursor blink speed (ms) |
|
|
| Show blinking cursor |
|
| -- | Streaming complete callback |
Features: auto-scroll during streaming, inline **bold** and `code` formatting, copy button appears on completion.
TypingIndicator
"Someone is typing" indicator with three animation variants.
import { TypingIndicator } from '@annondeveloper/ui-kit'
<TypingIndicator variant="dots" label="AI is thinking" size="md" />Prop | Type | Default | Description |
|
| -- | Status text |
|
|
| Animation variant |
|
|
| Size preset |
ConfidenceBar
Horizontal probability bar with color-coded threshold zones.
import { ConfidenceBar } from '@annondeveloper/ui-kit'
<ConfidenceBar value={0.87} label="Match confidence" thresholds={{ low: 0.3, medium: 0.7 }} />Prop | Type | Default | Description |
|
| -- | Confidence (0-1) |
|
| -- | Label text |
|
|
| Show percentage |
|
|
| Color zone boundaries |
|
|
| Bar height |
CommandBar
Universal command palette activated by Cmd+K / Ctrl+K.
import { CommandBar } from '@annondeveloper/ui-kit'
<CommandBar
items={[
{ id: 'devices', label: 'Go to Devices', shortcut: 'G D', onSelect: () => navigate('/devices') },
{ id: 'search', label: 'Search entities', icon: Search, onSelect: openSearch, keywords: ['find'] },
]}
placeholder="Type a command..."
onSearch={async (q) => fetchResults(q)}
/>Prop | Type | Default | Description |
|
| -- |
|
|
|
| Search placeholder |
|
|
| Hotkey letter (Cmd/Ctrl+key) |
|
| -- | Async search function |
|
|
| localStorage key for recents |
|
|
| Max recent items |
Features: fuzzy search scoring, grouped sections, recent selections (localStorage), async search with debounce, keyboard navigation (arrows + Enter), keyboard shortcut hints in footer.
LiveFeed
Real-time event feed with animated entry, pause/resume, and type-colored borders.
import { LiveFeed } from '@annondeveloper/ui-kit'
<LiveFeed
items={events} maxVisible={50} showTimestamps autoScroll
onItemClick={(item) => showDetail(item.id)}
emptyMessage="Waiting for events..."
/>Prop | Type | Default | Description |
|
| -- |
|
|
|
| Max visible items |
|
|
| Show relative timestamps |
|
|
| Auto-scroll to newest |
|
| -- | Item click callback |
|
|
| Empty state text |
Features: pause/resume button, "N new items" floating badge when scrolled, auto-updating relative timestamps.
NotificationStack
Fixed-position notification cards with auto-dismiss progress bars.
import { NotificationStack } from '@annondeveloper/ui-kit'
<NotificationStack
notifications={notifications}
onDismiss={(id) => removeNotification(id)}
position="top-right" maxVisible={5}
/>Prop | Type | Default | Description |
|
| -- |
|
|
| -- | Dismiss callback |
|
|
| Screen position |
|
|
| Max visible before stacking |
Features: type-specific icons and colors, action buttons, auto-dismiss with progress bar, overflow indicator, spring entry/exit animations.
Layout & Feedback
EmptyState
Decorative placeholder with icon, title, description, and optional actions.
import { EmptyState, Button } from '@annondeveloper/ui-kit'
import { Inbox } from 'lucide-react'
<EmptyState icon={Inbox} title="No alerts" description="Your infrastructure is healthy."
actions={<Button size="sm">Configure Rules</Button>} />Prop | Type | Default | Description |
|
| -- | Center icon |
|
| -- | Title text |
|
| -- | Description text |
|
| -- | Action buttons |
Skeleton
Shimmer loading placeholder.
import { Skeleton } from '@annondeveloper/ui-kit'
<Skeleton width={128} height={32} />
<Skeleton width="100%" height={16} />
<Skeleton variant="circle" width={40} height={40} />Prop | Type | Default | Description |
|
|
| Skeleton width |
|
|
| Skeleton height |
|
|
| Shape variant |
Progress
Progress bar with optional label, animated fill, and indeterminate mode.
import { Progress } from '@annondeveloper/ui-kit'
<Progress value={65} max={100} label="Upload" showValue variant="success" />
<Progress indeterminate label="Processing..." />Prop | Type | Default | Description |
|
| -- | Current value |
|
|
| Maximum value |
|
| -- | Label text |
|
|
| Show percentage |
|
|
| Color variant |
|
|
| Bar height |
|
|
| Animate fill changes |
|
|
| Shimmer animation |
Avatar
User/entity avatar with image support, initials fallback, and status dot.
import { Avatar } from '@annondeveloper/ui-kit'
<Avatar src="/avatar.jpg" alt="Jane Doe" size="md" status="online" />
<Avatar alt="John Smith" size="sm" /> {/* Shows "JS" initials */}Prop | Type | Default | Description |
|
| -- | Image URL |
|
| -- | Alt text (used for initials derivation) |
|
| -- | Override initials |
|
|
| Size preset |
|
| -- | Status dot overlay |
InfiniteScroll
Virtualized infinite-scroll list using IntersectionObserver.
import { InfiniteScroll } from '@annondeveloper/ui-kit'
<InfiniteScroll
items={logs} hasMore={hasNextPage} isLoading={isFetching}
loadMore={fetchNextPage} itemHeight={48}
renderItem={(item, i) => <LogRow key={item.id} entry={item} />}
/>Prop | Type | Default | Description |
|
| -- | Loaded items |
|
| -- | Item renderer |
|
| -- | Load more callback |
|
| -- | Whether more items exist |
|
|
| Loading state |
|
|
| Trigger distance from bottom (px) |
|
| -- | Fixed height for virtualization |
|
| -- | Empty content |
Features: optional height-based virtualization, scroll-to-top button, skeleton placeholders.
SortableList
Drag-and-drop reorderable list with smooth layout animations.
import { SortableList } from '@annondeveloper/ui-kit'
<SortableList
items={[
{ id: '1', content: <span>Rule 1</span> },
{ id: '2', content: <span>Rule 2</span> },
]}
onChange={setRules}
/>Prop | Type | Default | Description |
|
| -- |
|
|
| -- | Reorder callback |
|
| -- | Show drag handle |
|
|
| Layout direction |
Features: pointer-based drag (no external DnD library), keyboard reordering (Space to pick, arrows to move, Enter to drop), touch support, drop indicator line.
KanbanColumn
Kanban board column with title, count badge, and scrollable card list.
import { KanbanColumn } from '@annondeveloper/ui-kit'
<KanbanColumn
title="In Progress" color="hsl(var(--status-warning))"
items={tasks} onItemClick={showTask} onAddItem={createTask}
/>Prop | Type | Default | Description |
|
| -- | Column title |
|
| -- |
|
|
| -- | Override count badge |
|
| -- | Header accent color |
|
| -- | Card click callback |
|
| -- | Add button callback |
HeatmapCalendar
GitHub-style contribution heatmap calendar with configurable color scale.
import { HeatmapCalendar } from '@annondeveloper/ui-kit'
<HeatmapCalendar data={dailyMetrics} onDayClick={(d) => showDayDetail(d.date)} showMonthLabels showDayLabels />Prop | Type | Default | Description |
|
| -- |
|
|
| 365 days ago | Start date |
|
| Today | End date |
|
| Green 5-step scale | 5 colors lightest to darkest |
|
| -- | Day click callback |
|
|
| Month labels at top |
|
|
| Day-of-week labels |
|
| -- | Custom tooltip format |
ToastProvider / useToast
Toast notification system using ToastProvider and the useToast hook.
import { ToastProvider, useToast, Button } from '@annondeveloper/ui-kit'
function App() {
return (
<ToastProvider position="bottom-right">
<Content />
</ToastProvider>
)
}
function Content() {
const toast = useToast()
return (
<>
<Button onClick={() => toast.success('Deployment complete')}>Deploy</Button>
<Button onClick={() => toast.error('Connection failed')}>Test Error</Button>
</>
)
}Prop | Type | Default | Description |
|
|
| Screen position |
|
|
| Auto-dismiss (ms) |
SuccessCheckmark
Animated SVG checkmark with circle and path draw animations.
import { SuccessCheckmark } from '@annondeveloper/ui-kit'
<SuccessCheckmark size={24} />Prop | Type | Default | Description |
|
|
| SVG size in pixels |
Utilities
Class Merging
import { cn } from '@annondeveloper/ui-kit'
cn('px-4 py-2', isActive && 'bg-blue-500', className)Formatters
Function | Example | Output |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
createBadgeVariant
Factory for domain-specific badge components. See Badge section above.
Theme System
The library uses CSS custom properties for theming. Dark mode is the default; add the light class to <html> for light mode.
Token Reference
Token | Purpose | Dark Default | Light Default |
| Page background |
|
|
| Card/panel background |
|
|
| Elevated surface (dropdowns, popovers) |
|
|
| Overlay/hover background |
|
|
| Subtle borders |
|
|
| Default borders |
|
|
| Strong/focus borders |
|
|
| Primary text |
|
|
| Secondary text |
|
|
| Tertiary text |
|
|
| Disabled text |
|
|
| Brand/accent color |
|
|
| Secondary accent |
|
|
| Text on brand backgrounds |
|
|
| Success/online |
|
|
| Warning/degraded |
|
|
| Critical/error |
|
|
| Unknown status |
|
|
| Maintenance mode |
|
|
| Chart color series | Various | Various |
Customization
Override any token in your own CSS:
:root {
--brand-primary: 160 84% 39%; /* teal accent */
--status-ok: 160 84% 39%;
}Theme Toggle
function ThemeToggle() {
const toggle = () => document.documentElement.classList.toggle('light')
return <button onClick={toggle}>Toggle theme</button>
}Typography Scale
The theme CSS includes utility classes: .text-display, .text-heading-1, .text-heading-2, .text-heading-3, .text-body, .text-small, .text-label.
CLI
Scaffold components directly into your project -- shadcn/ui-style.
Initialize
npx @annondeveloper/ui-kit initCopies theme.css and utils.ts into your target directory (default ./components/ui).
Add a Component
npx @annondeveloper/ui-kit add button
npx @annondeveloper/ui-kit add data-table
npx @annondeveloper/ui-kit add metric-cardCopies the component source file and resolves internal dependencies automatically.
List Available Components
npx @annondeveloper/ui-kit listOptions
Flag | Description |
| Target directory (default |
| Overwrite existing files |
Form Engine
The built-in form engine requires no external dependencies. Import from the dedicated entry point:
import { createForm, useForm, Form, v } from '@annondeveloper/ui-kit/form'Example with Validation
import { createForm, useForm, Form } from '@annondeveloper/ui-kit/form'
import { Button } from '@annondeveloper/ui-kit'
const credentialForm = createForm({
hostname: { initial: '', validator: v.required('Hostname is required') },
protocol: { initial: '', validator: v.required('Select a protocol') },
})
function CredentialForm() {
const form = useForm(credentialForm)
return (
<Form form={form} onSubmit={(values) => console.log(values)}>
<input name="hostname" placeholder="10.0.0.1" />
<select name="protocol">
<option value="snmp">SNMP</option>
<option value="ssh">SSH</option>
</select>
<Button type="submit" variant="primary">Save</Button>
</Form>
)
}The form engine includes createForm, useForm, Form, FieldArray, and validators (v).
Contributing
Development Setup
git clone https://github.com/annondeveloper/ui-kit.git
cd ui-kit
npm install
npm run storybook # Component explorer at localhost:6006
npm run test:watch # Vitest in watch mode
npm run typecheck # TypeScript checkRunning Tests
npm test # Run all tests once
npm run test:watch # Watch modeTests use Vitest + Testing Library + jest-axe for accessibility.
Adding a Component
Create
src/components/my-component.tsxwith the'use client'directiveExport from
src/index.tsAdd to
src/cli/registry.tsfor CLI supportAdd a Storybook story in
src/components/my-component.stories.tsxAdd tests in
src/__tests__/my-component.test.tsxRun
npm run typecheck && npm testto verify
Conventions
All colors use
hsl(var(--token))syntax -- never hardcoded hex valuesAll animations respect
useReducedMotion()from Framer MotionComponents use
'use client'directive for React Server Component compatibilityTypes are exported alongside components for consumer use
License
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/annondeveloper/ui-kit'
If you have feedback or need assistance with the MCP directory API, please join our Discord server