name:uikit-kinetic
version:"2.2.0"
description:Implements motion-first studio-black visual website builders, interactive breakpoint canvas editors, spring physics keyframe timelines, production edge publish consoles, pricing matrices, and keyboard command palettes using the Kinetic — Motion Web Studio design system (W3C DTCG tokens, CSS v4 @theme bridge, design variables JSON, Dark & Light modes, 7 CSS-variable-first TSX templates with @phosphor-icons/react, and WCAG 2.2 AA governance specs).
license:MIT
compatibility:"React 18+/19+, Next.js 14+/16+, CSS v4 @theme, TypeScript 5+"
metadata:
id:"kinetic"
version:"2.2.0"
category:"design-web"
status:"stable"
author:"uikits.tech"
backbone:"uikit-backbone"
iconLibrary:"@phosphor-icons/react"
wcag:"2.2 AA"
preview:"/previews/kinetic-hero.webp"
uikit-kinetic — Master Execution Protocol (v2.2.0)
You are building commercial visual website studios, responsive breakpoint editors, spring-physics animation timelines, and site publishing consoles with the Kinetic — Motion Web Studio UI Skill Pack (tokens/ + templates/ + empirical screen & governance specs). Pair with registry/backbone/ (uikit-backbone) when applications require deeper billing or team management forms while preserving Kinetic's obsidian-and-electric-blue studio craft.
MOTION-STUDIO EXECUTION MANDATE: Never flatten this pack into a generic dark dashboard. Anchor every default Dark canvas on studio obsidian black (#08090c), step inspector panes onto slate-charcoal (#12151e) with specular top-edge hairlines (inset 0 1px 0 rgba(255,255,255,0.12)), set poster-tight Space Grotesk display headings (-0.04em tracking), deploy electric studio blue (#0066ff with #ffffff ink at 4.83:1 AA) for primary studio actions and active artboard selections, illuminate spring curves and layout guides with ice cyan (#38bdf8 paired with #08090c ink at 9.5:1 AAA), maintain 0.75rem (12px) studio panel corners with crisp pill action triggers, implement all 5 registered motion profiles with offscreen pause and reduced-motion discipline, and deliver Daylight Studio Light mode (#f7f8fa / #ffffff / #0c0e14 / #0052cc at 7.10:1 AAA) automatically on the very first pass.
1. Task Routing Table
Always inspect DESIGN.md and tokens.css first, then load the companion specs and drop-in templates matching the active screen:
2. Step-0 Bootstrap Procedure
- 1.Install via CLI, Registry, or MCP:
- CLI:
npx uikits-md@latest add kinetic --platform all --out . - Registry:
npx shadcn@latest add https://uikits.tech/r/kinetic.json - MCP: invoke
get_ui_kit_skill and get_ui_kit_file for kinetic. - Peer dependencies:
npm install @phosphor-icons/react (plus react and react-dom). - 2.Load Fonts in
src/app/layout.tsx:
Import Space_Grotesk (weight: ["500", "600", "700"], variable --font-space-grotesk), Inter (weight: ["400", "500", "600", "700"], variable --font-inter), and JetBrains_Mono (weight: ["400", "500", "600"], variable --font-jetbrains-mono) via next/font/google. Attach all three variables to <html> and apply .kn-root to <body>.
- 3.Import
tokens.css and tokens/tailwind.css:
Load tokens.css and tokens/tailwind.css directly below your root stylesheet import to activate Dark default (:root, [data-theme="dark"], .dark) and Light companion ([data-theme="light"], .light) surfaces, specular panel hairlines, and all 5 registered motion primitives.
- 4.Install All 7 Starter Templates:
Copy WebStudioShell.tsx, KeyframeTimelineBar.tsx, ResponsiveStageFrame.tsx, CommandPalette.tsx, StatusBadge.tsx, ScrollReveal.tsx, and Sparkline.tsx into src/components/uikit-kinetic/.
3. The 12 Mandatory First-Pass Rules
- 1.Obsidian Studio Default + Daylight Studio Light Parity: Anchor Dark mode on
#08090c (var(--background)), recess the canvas surround to #050609 (var(--app-bg)), and elevate inspector panes on #12151e (var(--surface) / var(--card)). Switching to [data-theme="light"] transitions cleanly to #f7f8fa canvas, #ffffff inspector panels, #0c0e14 ink, and #0052cc primary blue (7.10:1 AAA with white ink). - 2.100% Semantic CSS Variables (Zero Hardcoded
#hex in TSX): Never embed raw #08090c, #12151e, #0066ff, #38bdf8, bg-slate-900, or bg-zinc-950 inside reusable template JSX. Bind every surface, border, text fill, beam accent, and wash to semantic variables (var(--background), var(--surface), var(--foreground), var(--primary), var(--highlight), var(--border)). - 3.Electric Studio Blue Primary + Ice-Cyan Highlight Discipline: Spend electric studio blue (
--primary: #0066ff dark with white ink 4.83:1 AA; #0052cc light with white ink 7.10:1 AAA) on one decisive studio action per bar (Publish Site, Play Transition, Start Studio) and active artboard outlines. Reserve ice-cyan (--highlight: #38bdf8 dark with #08090c ink 9.5:1 AAA) for spring trajectory plots, layout guides, and focus rings. - 4.Poster-Tight
Space Grotesk + Inter Inspector + JetBrains Mono Telemetry: Set display headlines in Space Grotesk (-0.04em tracking, 1.02 line-height), inspector controls in crisp Inter (13–15px), and EVERY breakpoint width (1440px, 768px, 390px), stiffness/damping parameter (280 / 24), frame time (16.6 ms), and deploy commit hash in .kn-mono (tabular-nums). - 5.Specular Hairline Framing &
0.75rem Studio Geometry: Frame inspector cards and breakpoint viewports at 0.75rem (12px) with 1px solid var(--border) plus subtle top specular highlight (inset 0 1px 0 rgba(255,255,255,0.12)). Use full pills (9999px) for conversion actions and breakpoint switches; never use puffy rounded-3xl bubbles or generic vibecode gradients. - 6.Live Breakpoint Stage Editor (
ResponsiveStageFrame.tsx): Provide instant Desktop (1440px), Tablet (768px), and Mobile (390px) stage switching with .kn-stage-resize spring feedback, optional 12-column cyan layout guides toggled via Settings, and live radius, padding, and stiffness controls updating the embedded preview card in real time. - 7.Spring Physics & Keyframe Timeline (
KeyframeTimelineBar.tsx): Render labeled timeline rails with selectable diamond keyframes (.kn-diamond-pop), live playhead progress scrubber, spring stiffness/damping readout in .kn-mono, and one-click Play Transition preview honoring Reduced Motion mode. - 8.Precision Technical SVG Craft (Zero Collisions): Every spring curve plot, coordinate grid, and responsive stage diagram MUST label axes cleanly, place node labels inside opaque rounded pills (
rx="6"), keep generous spacing so text never touches curves or borders, and format all telemetry with tabular-nums. - 9.Global
⌘K Studio Palette & Nested Escape (CommandPalette.tsx): Bind Cmd/Ctrl+K to <CommandPalette /> (role="dialog" aria-modal="true") with ArrowUp/ArrowDown navigation, Enter execution, and nested Escape (clears query first, dismisses dialog second, restores trigger focus). - 10.All 5 Registered Motion Profiles + Offscreen Pause + No-JS Safety: Implement
stage-spring-resize, keyframe-diamond-pop, blue-beam-sweep, inspector-accordion, and canvas-pan-ease via compositor-only @keyframes in tokens.css. Pause repeating beam sweeps offscreen via [data-offscreen="true"], ensure No-JS visibility (@media (scripting: none)), and respect prefers-reduced-motion: reduce. - 11.Verified
@phosphor-icons/react Exclusive Iconography: Use @phosphor-icons/react exclusively (Play, Pause, Desktop, DeviceTablet, DeviceMobile, Sliders, RocketLaunch, Sparkle, GridFour, GitBranch, MagnifyingGlass, Check, Copy, X, Sun, Moon). Never insert external placeholder URLs or clipart SVG illustrations. - 12.Skip Link, Independent Scroll & Zero Drawer Overlap: Include
<a href="#main-content" className="sr-only focus:not-sr-only ...">Skip to studio</a> and <main id="main-content">, collapse or wrap headers cleanly at <= 1160px drawer widths and <= 520px mobile, and guarantee 0px horizontal overflow from 390px through 1440px.
4. Blueprint Recipes
- Motion Studio Hero Workbench: Pair a tightly tracked
Space Grotesk headline and CTA cluster on the left with a specular-framed Interactive Spring & Breakpoint Hero Workbench on the right featuring animated blue-beam ambient sweep (offscreen paused), live spring curve SVG plot (Snappy, Bouncy, Silk) with opaque coordinate pills, and a live playable spring transition preview card. - Visual Breakpoint Canvas (
Canvas): Combine <ResponsiveStageFrame /> in the center with a structured property inspector (Border Radius, Card Padding, Spring Stiffness sliders + Layout Guides toggle) and <KeyframeTimelineBar /> anchored below. - Edge Publish Log (
Publishes): Searchable deployment ledger with custom environment dropdown (All, Production, Staging, Preview), StatusBadge build health pills, Core Web Vitals sparklines (<Sparkline />), and slide-over diff & rollback drawer.
5. Explicitly Banned Anti-Patterns
- BANNED — Hardcoded
#hex Literals in Reusable JSX: Always bind chrome, borders, text, and halos to semantic CSS variables (var(--background), var(--surface), var(--primary), var(--highlight)). - BANNED — Vibecode Rainbow Gradients & Clipart SVGs: Never apply
from-indigo-500, from-purple-500, via-purple-500, to-pink-500, or flat cartoon SVG illustrations. Keep atmosphere disciplined to electric studio blue (#0066ff) and ice cyan (#38bdf8). - BANNED — Colliding SVG Labels or Empty Hero Halves: Never place unbacked text on top of SVG curves or leave the right half of the hero with sparse dotted rings. Every SVG telemetry node wears an opaque pill backdrop.
- BANNED — Third-Party Brand Names & Placeholder Media: Never mention third-party visual web builders, motion frameworks, or stock placeholder URLs. Use neutral studio projects (
Northstar Launch, Kestrel Cloud, Vesper Audio, Helios OS, Arbor Store) and RFC 2606 domains (example.com).
Hero Card & Visual Craft Mandate
- Zero Clipart SVGs for Real-World Subjects: Never draw devices, objects, buildings, or scenes using primitive clipart
<svg> polygons. Use precision UI/motion telemetry frames or verified local .webp studio renders. - High-Craft Technical Hero Cards & Precision SVGs: Kinetic's hero workbench card enforces specular top-edge lighting (
inset 0 1px 0 rgba(255,255,255,0.14)), a labeled coordinate grid (0ms–400ms), interactive spring preset tabs (Snappy, Elastic, Silk), font-variant-numeric: tabular-nums, and opaque rounded SVG badge pills (rx="6") guaranteeing zero text-on-line or text-on-text collisions.
Card, Diagram & Data Table Craft Standard
- DOM-First Product Visuals (Zero Slide-Style Circle Diagrams): Never depict workflows, pipelines, or architecture with numbered
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. - Unified Metric Rails Over Identical Floating Boxes: Prefer a single hairline-divided KPI rail flush to the workspace container over 4 disconnected floating rounded cards. Lead with one focal
tabular-nums value, an inline semantic delta (no redundant pill chrome), and a compact composition bar or sparkline grounded in real row data. - Dense, Interactive Data Tables: Operational lists (>6 items) must ship a toolbar (instant search, faceted filters, and a
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. - DOM-First Node Graphs & Topology Cards: Never render topology, ontology, DAG, module-bundle, or entity-relation graphs as
<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. - Visual Critique Gate: Inspect rendered cards and tables at desktop (
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.