Interactive UI component workshop and cross-platform preview deck with midnight-navy chrome, coral-pink highlight pins, and live prop controls.
npx uikits-md@latest add catalog --platform all --out .Explore the color balance, dual WCAG 2.2 AA & APCA Lc contrast checks, typography scale, and geometry tokens built into uikit-catalog.
Inspect interactive UI stories, prop controls, and WCAG ratios live. Crisp hierarchy with intentional whitespace and zero decorative noise.
Install with the CLI, shadcn, an AI agent prompt, MCP, or download the ZIP directly.
One command adds the full design system, motion rules, and React templates to your project and coding agents.
npx uikits-md@latest add catalog --platform all --out .
Browse the design specs, theme variables, and React templates included in uikit-catalog.
You are building UI with the Catalog — Component Workshop UI Skill Pack (tokens/ + templates/ + governance/eval specs). Pair with registry/backbone/ (uikit-backbone) for full layout and form coverage while preserving Catalog's midnight-navy chrome, coral-pink highlight pins, electric cyan active story links, and crisp white catalog stage Light mode.
COMPONENT WORKSHOP MANDATE: Never treat this pack as loose aesthetic inspiration. Build deep midnight-navy #0f1422 workshop canvases and #171e30 toolbars paired with crisp #f4f6fc ink, WCAG AA calibrated coral-pink #db2777 primary fills (with #ffffff ink at 4.60:1) and #f43f8e highlight pins, electric cyan #38bdf8 active story links, Space Grotesk compressed engineering headlines, Inter dense inspector UI, JetBrains Mono prop/viewport readouts, collapsible story-tree navigation, multi-device viewport simulation, and live prop controls automatically on the very first pass. The user must never have to ask afterward to wire interactive prop switches, fix light-mode contrast, pause offscreen animations, or resolve broken media.
Always read DESIGN.md and tokens.css first, then load the exact companion specs and starter templates for the screen you are authoring:
| User Task | Required Spec Files | Drop-In Templates to Copy / Use |
|---|---|---|
| Workshop Landing & Device Preview Showcase | DESIGN.md, MOTION.md, ASSETS.md, CONTENT.md, tokens.css | templates/ViewportDeviceFrame.tsx, templates/ComponentPropStage.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx, templates/CommandPalette.tsx |
| Interactive Component Workbench & Story Explorer | DESIGN.md, APP_PATTERNS.md (§1–§2, §9), MOTION.md, ACCESSIBILITY.md, tokens.css | templates/WorkshopShell.tsx, templates/ComponentPropStage.tsx, templates/ViewportDeviceFrame.tsx, templates/CommandPalette.tsx |
| Visual Diff Queue & Component Registry Table | DESIGN.md, APP_PATTERNS.md (§3–§4, §10), DATA_VIZ.md, tokens.css | templates/StatusBadge.tsx (WorkshopMetricTile + StatusBadge), templates/Sparkline.tsx, templates/ScrollReveal.tsx |
| Cross-Platform Mobile & Web Simulator | DESIGN.md, APP_PATTERNS.md (§2, §4), MOTION.md, ASSETS.md, tokens.css | templates/ViewportDeviceFrame.tsx, templates/WorkshopShell.tsx, templates/StatusBadge.tsx |
| Workshop Settings, Auth & Team Billing | DESIGN.md, APP_PATTERNS.md (§5, §7–§9), ACCESSIBILITY.md, CONTENT.md, tokens.css | templates/WorkshopShell.tsx, templates/StatusBadge.tsx, templates/ComponentPropStage.tsx |
| Design-System Docs, Addon Catalog & Token Reference | DESIGN.md, APP_PATTERNS.md (§6, §11), CONTENT.md, ASSETS.md, tokens.css | templates/WorkshopShell.tsx, templates/CommandPalette.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx |
| Any UI Task (Final Acceptance Gate) | CHECKLIST.md, EVALS.md, ACCESSIBILITY.md | All applicable templates verified via npx uikits-md check catalog --dir . |
src/app/layout.tsx:Load Space_Grotesk (--font-space-grotesk, weights 500, 600, 700), Inter (--font-inter, weights 400, 500, 600, 700), and JetBrains_Mono (--font-jetbrains-mono, weights 400, 500, 600) and attach all three CSS variable classes onto <html>.
tokens.css & Optional tokens/tailwind.css:Import tokens.css (and optionally tokens/tailwind.css) in your root stylesheet immediately beneath your framework base import. This registers :root / [data-theme="dark"] / .dark, [data-theme="light"] / .light, all --ct-* workshop tokens, semantic variables, .ct-chrome, .ct-stage-canvas, .ct-kbd, .ct-pin-badge, .ct-reveal, and all six compositor-only @keyframes.
Ensure templates/WorkshopShell.tsx, templates/ComponentPropStage.tsx, templates/ViewportDeviceFrame.tsx, templates/CommandPalette.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx, and templates/Sparkline.tsx exist in src/components/uikit-catalog/ (installed via npx uikits-md add catalog --platform all --out .).
react, react-dom, @phosphor-icons/react.var(--...)) and color-mix().Every view created under uikit-catalog MUST implement all 12 rules on the first pass:
#0f1422 (var(--background)), #131a2b story sidebars (var(--ct-sidebar-bg)), and #171e30 toolbar/inspector surfaces (var(--surface) / var(--card)), while keeping every component 100% bound to semantic CSS variables so [data-theme="light"] / .light switches effortlessly to a crisp #ffffff catalog stage, #f5f7fb sidebar, #111827 ink, #be185d accent, and #0369a1 links with zero hardcoded #hex values in TSX.#f43f8e (--ct-coral) for highlight pins, dark-background badge text (4.70:1 on #171e30), glow halos, and active tab underlines. Fill solid primary buttons with #db2777 (--primary) + #ffffff (--primary-foreground) in Dark mode (4.60:1 AA) and #be185d + #ffffff in Light mode (6.04:1 AA+), accented by subtle inset button depth (var(--ct-button-inset)).#38bdf8 (--ct-cyan, 7.75:1 AAA on #171e30) in Dark mode and #0369a1 (5.93:1 AA on #ffffff) in Light mode consistently for active story-tree entries, viewport preset selections, keyboard focus rings (--focus-ring), and inline documentation links.Space Grotesk (var(--font-display), weight 600–700, tight -0.03em tracking), dense sidebar/inspector UI in Inter (var(--font-sans)), and every pixel dimension (390 × 540px), prop name (variant), code block, coverage percentage (98.4%), and shortcut chord (⌘K) in JetBrains Mono (var(--font-mono)) with tabular-nums.0.5rem Developer Geometry: Rely on 1px borders (var(--border) / var(--ct-border-strong)) and crisp top specular rim highlights (var(--ct-specular)) for panel containment. Standardize cards, buttons, and inputs at 0.5rem (8px), compact controls at 6px, device bezels & dialogs at 12px, and pill geometry (rounded-full) strictly for search pills, highlight badges, and prop switches—never puffy rounded-3xl bubbles.ComponentPropStage): Every component sandbox screen MUST pair an isolated .ct-stage-canvas dot-grid stage with live prop controls (text, enum pills, size segment, numeric slider, boolean switches with .ct-knob-snap), an Actions event log, an A11y contrast panel, a live copyable JSX snippet (Code tab), and a one-click Reset Props action.ViewportDeviceFrame): Present responsive previews inside <ViewportDeviceFrame /> with instant Mobile (390px), Tablet (768px), Desktop (1080px), and Fluid (100%) presets, portrait/landscape orientation toggle, zoom steps (75%, 100%, 115%), grid toggle, and smooth stage-resize-glide frame width transitions.⌘K Quick-Jump (WorkshopShell + CommandPalette): Render a horizontally collapsible desktop story sidebar with instant client-side story filtering (defaults closed on mobile inside an accessible role="dialog" drawer) paired with <CommandPalette /> supporting ⌘ K / Ctrl+K, ArrowUp / ArrowDown navigation, and two-stage nested Escape (clears filter before closing dialog).MOTION.md (stage-resize-glide, prop-knob-snap, story-tree-reveal, glow-accent-pulse, inspector-tab-shift) using compositor-only transform and opacity keyframes. Pause ambient .ct-glow-pulse and .ct-skeleton animations when [data-offscreen="true"], wrap below-the-fold grids in <ScrollReveal /> (with mount viewport check and html.js-ready), and honor prefers-reduced-motion: reduce..ct-skeleton loading placeholders, an actionable Empty State with Clear Filters (Esc), a semantic Error Banner (var(--destructive)) with Retry, and non-blocking role="status" toast confirmations.@phosphor-icons/react Exclusivity: Import every UI icon exclusively from @phosphor-icons/react (Cube, Folder, FolderOpen, DeviceMobile, DeviceTablet, Desktop, SlidersHorizontal, Code, CheckCircle, Sparkle, MagnifyingGlass, GridFour). Use verified local imagery from public/media/ or public/generated/ (or generate palette-locked imagery from ASSETS.md) and procedural SVG/Canvas patterns—never external stock placeholder URLs or bare placeholder text blocks.<a href="#main-content" className="sr-only focus:not-sr-only ...">Skip to content</a> as the first focusable control on every route, accompany every <Sparkline /> with aria-label and <table className="sr-only">, verify settings changes affect target workshop screens, and confirm 0px horizontal overflow at 390×844 mobile and 1440×900 desktop.<WorkshopShell
workspaceName="Northstar Workshop"
activeStoryId={storyId}
onSelectStory={setStoryId}
onOpenCommandPalette={() => setPaletteOpen(true)}
themeMode={theme}
onToggleTheme={toggleTheme}
>
<ViewportDeviceFrame initialPreset="desktop" title="northstar.example.com/action-button">
<ComponentPropStage componentName="ActionButton" storyPath="Primitives / ActionButton / Primary" />
</ViewportDeviceFrame>
<CommandPalette open={paletteOpen} onOpenChange={setPaletteOpen} onSelectItem={handleJump} />
</WorkshopShell><div className="grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-4"> <WorkshopMetricTile label="Story Coverage" value="98.4%" delta="+2.1%" badgeTone="passed" badgeLabel="AA Pass" featured /> <WorkshopMetricTile label="Visual Diffs" value="03" delta="Needs review" deltaTone="neutral" badgeTone="diff" badgeLabel="Pending" /> <WorkshopMetricTile label="Median Render" value="14ms" delta="-3ms" badgeTone="cyan" badgeLabel="60 fps" /> <WorkshopMetricTile label="Token Drift" value="00" delta="Clean" badgeTone="passed" badgeLabel="Synced" /> </div>
#hex literals, text-white, or bg-black inside reusable components—always bind semantic CSS variables from tokens.css so Light (#ffffff / #f5f7fb) and Dark (#0f1422 / #171e30) modes stay balanced.#ffffff text directly over bright #f43f8e small buttons (3.53:1 fails AA)—use --primary (#db2777 dark / #be185d light) with --primary-foreground (#ffffff) for solid primary buttons.rounded-3xl container bubbles, generic bg-slate-900 dark slabs, or uncalibrated rainbow gradient utilities (from-indigo-500, from-purple-500, via-purple-500, to-pink-500).opacity: 0 scroll reveals, unpaused offscreen loops, browser alert() dialogs, or ASCII glyphs replacing @phosphor-icons/react.<svg> polygons or outline clipart. Physical subjects MUST use verified local .webp studio photography or 3D renders (fetchPriority="high" on Hero LCP, locked aspect-ratio for CLS === 0, calibrated gradient scrims for WCAG AA/AAA text legibility, zero baked-in text or logos).inset 0 1px 0 rgba(255,255,255,0.14) on dark cards), labeled coordinate grids, font-variant-numeric: tabular-nums, and opaque rounded label pills (rx="4") so SVG labels NEVER collide with edges or neighboring text. Never leave the visual half of a Hero Card empty with faint rings or mock loading spinners.01 → 02 → 03 <circle> SVGs, wavy dashed connectors, and repeated step boxes underneath. Render real miniaturized software UI in HTML/DOM: a crisp object/endpoint header, a focal tabular-nums figure with split metadata, a clickable proportional execution waterfall or timeline bar, and a flush hairline telemetry/signal matrix below with zero nested card-in-card clutter.tabular-nums value, an inline semantic delta (no redundant pill chrome), and a compact composition bar or sparkline grounded in real row data.compact/comfortable density toggle), sortable headers (aria-sort), multi-row selection with a custom color-scheme-safe checkbox and contextual bulk-action bar, multi-layer cells (primary label + mono ID + sub-meta), inline micro-meters for numeric scores, right-aligned tabular-nums values, hover-revealed quick actions, and @container-responsive column collapse with zero duplicate mobile status badges on desktop.<svg><rect><text> boxes with tiny unreadable SVG text or diagonal dashed lines slicing through labels. Structure graphs as tiered HTML/DOM interactive node cards (>=12.5px titles, >=11px mono IDs, semantic status LED, inline latency/throughput/weight micro-bar, upstream/downstream highlighting) with any connector lines confined strictly to dedicated column gutters.1440px), split-pane (700px), and mobile (390px) to verify zero clipped text, zero duplicate badges, zero dark-mode native checkbox bleed on light surfaces, and 0px horizontal overflow.