uikits.tech
Explore
HomeAll Packs84
Tools
AI RecommenderURL ExtractorUI GraderToken RemixPrompt StudioCompare KitsMotion Lab
Resources
DocsChangelogFAQSubmit PackSponsor
uikits.tech
uikits.tech/Pack · spark
Star on GitHub
Sign inSign up
uikits.tech

Complete design systems, smooth animations, and app layouts for AI coding agents.

Product
  • All Packs
  • Recommender
  • URL Extractor
  • UI Grader
  • Compare Kits
  • Prompt Studio
  • Token Remix
  • Motion Lab
  • Install CLI
  • Skill Spec
UI Packs
  • Canopy
  • Obsidian
  • Ledger
  • Alabaster
  • Monolith
  • +79 more →
Resources
  • Docs
  • Submit Pack
  • Changelog
  • FAQ
  • Sponsor
  • Account
  • Privacy Policy
  • Terms of Use
  • MIT License
  • llms.txt
84 Live Packs: Canopy · Obsidian · Ledger · Alabaster · Monolith · +79 more · MITCLI · MCP Server · Skill Files · Authenticated ZIP
uikits.tech
Back to all packs
v2.2.0 · stabledevtools-web27 files · Plus Jakarta Sans + JetBrains Mono

Spark — Build Framework

Modern web framework showcase pairing dark hairline-ruled cells, electric-violet and mint highlights, instant HMR benchmark bars, and serif doc bands.

Surfaces:landingsaas-appdashboardauthformsdocssettingsdata-viz
npx uikits-md@latest add spark --platform all --out .
Installs full v2.2.0 pack into .agents, .claude, .cursor, .codex & components/
Remix TokensComparePrompt StudioMotion Lab
Design System Overview

Colors, Typography & Layout Style

Explore the color balance, dual WCAG 2.2 AA & APCA Lc contrast checks, typography scale, and geometry tokens built into uikit-spark.

Color palette & contrast
Balance: 48% Background · 22% Surface · 14% Text · 10% Accent · 6% Highlight
Live Typography Specimen (Plus Jakarta Sans · JetBrains Mono · Plus Jakarta Sans)
Display / HeroPlus Jakarta Sans
Ship instant HMR builds across hairline-ruled dark modules and serif docs
tracking: -0.025em · leading: 1.2
UI & Prose BodyPlus Jakarta Sans

Ship instant HMR builds across hairline-ruled dark modules and serif docs. Crisp hierarchy with intentional whitespace and zero decorative noise.

14px–16px · leading: 1.6 · WCAG 2.2 AA
Tabular Metrics & IDsJetBrains Mono
COLD START
118 ms
HMR UPDATE
9 ms
font-mono tabular-nums · exact column alignment
Surface & Geometry Primitives
Canvas Ground
var(--background)
1px electric-mint cell border
Surface Layer
Hairline Cell Grid
var(--surface) · Dual-Mode
Tactile Radius
--radius: 0.5rem
Enforced by lint.json
Motion Profile & Recommended Fit
cell-hairline-glowhmr-bar-racecode-tab-glidepill-spring-snaphero-halo-breathe
Frontend build tools, zero-config bundlers & compiler toolchains
Full-stack web framework showcases, interactive CLI playgrounds & module registries
Editorial technical documentation portals, API references & migration guides
Live HMR latency comparators, bundle telemetry consoles & developer portals

Install uikit-spark

Install with the CLI, shadcn, an AI agent prompt, MCP, or download the ZIP directly.

Install with CLI

One command adds the full design system, motion rules, and React templates to your project and coding agents.

npx uikits-md@latest add spark --platform all --out .

Inspect Full Skill Pack (27 files)

Browse the design specs, theme variables, and React templates included in uikit-spark.

Files
Specs & Docs (17)
Tokens (3)
Drop-In TSX Templates (7)
SKILL.md· 122 lines
Master task routing protocol & 12-point first-pass contract
name:uikit-spark
description:Implements modern web framework portals, build-tool showcases, HMR latency benchmark suites, interactive module-graph directories, editorial serif documentation shells, command palettes, pricing matrices, auth flows, settings, and telemetry dashboards using the Spark — Build Framework design system (dark #101116 hairline-ruled cells, #181a22 panels, #34d399 mint primary with #071c14 AAA ink, #8b5cf6 electric-violet secondary highlight, editorial #fafaf8 paper light mode, Plus Jakarta Sans + JetBrains Mono + Georgia serif doc bands, and 7 strict TypeScript templates).
version:"2.2.0"
license:MIT
compatibility:"React 18+/19+, Next.js 14+/16+, CSS v4 @theme, TypeScript 5+"
metadata:
id:"spark"
version:"2.2.0"
category:"devtools-web"
status:"stable"
author:"uikits.tech"
backbone:"uikit-backbone"
iconLibrary:"@phosphor-icons/react"
preview:"/previews/spark-hero.webp"
uikit-spark — Master Execution Protocol (v2.2.0)

You are building commercial-grade frontend build-tool showcases, full-stack web framework portals, live HMR benchmark runners, plugin/module graph registries, and editorial technical documentation hubs with the Spark — Build Framework UI Skill Pack (tokens/ + templates/ + lint.json + engineering specifications). Pair with registry/backbone/ (uikit-backbone) whenever an application requires extended form controls or multi-route skeletons beyond the 7 Spark starter templates.

FIRST-PASS PRECISION MANDATE: Apply every visual token, dual-mode CSS custom property, hairline-ruled cell grid, electric-violet and mint accent polarity, calibrated cubic-bezier motion primitive, keyboard contract, accessibility landmark, and build-pipeline state automatically on the very first pass. Never leave low-contrast white-on-mint buttons, unwired package-manager tabs, broken editorial paper light mode, external stock placeholder media URLs, or stuck reveal containers for a follow-up turn.


1. Task Routing Table

Always load DESIGN.md, tokens.css, and lint.json first, then route to the exact companion specification files and starter templates for your target surface:

User Task / SurfaceRequired Specification FilesDrop-In Templates (templates/*.tsx)
Framework Showcase Landing & HeroDESIGN.md, MOTION.md, ASSETS.md, CONTENT.md, ACCESSIBILITY.md, tokens.csstemplates/HmrBenchmarkPanel.tsx, templates/ModuleGraphGrid.tsx, templates/ScrollReveal.tsx, templates/StatusBadge.tsx
Build Workspace & Dev Server ConsoleDESIGN.md, APP_PATTERNS.md (§2–§4), DATA_VIZ.md, MOTION.md, ACCESSIBILITY.mdtemplates/FrameworkDocsShell.tsx, templates/HmrBenchmarkPanel.tsx, templates/ModuleGraphGrid.tsx, templates/Sparkline.tsx, templates/CommandPalette.tsx, templates/StatusBadge.tsx
HMR Benchmarks & Performance TelemetryDESIGN.md, APP_PATTERNS.md (§3, §4), DATA_VIZ.md, MOTION.md, tokens.csstemplates/HmrBenchmarkPanel.tsx, templates/Sparkline.tsx, templates/StatusBadge.tsx
Plugin & Module Graph ExplorerDESIGN.md, APP_PATTERNS.md (§3, §4, §9), CONTENT.md, MOTION.mdtemplates/ModuleGraphGrid.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx
Documentation Shell & Editorial GuidesDESIGN.md, APP_PATTERNS.md (§1, §6, §11), CONTENT.md, ACCESSIBILITY.mdtemplates/FrameworkDocsShell.tsx, templates/CommandPalette.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx
Settings, Compiler Config & Theme SyncDESIGN.md, APP_PATTERNS.md (§5, §9), ACCESSIBILITY.md, tokens.csstemplates/FrameworkDocsShell.tsx, templates/StatusBadge.tsx
Pricing, Cloud Build Tiers & AuthDESIGN.md, APP_PATTERNS.md (§7, §8), ACCESSIBILITY.md, CONTENT.mdtemplates/StatusBadge.tsx, templates/ScrollReveal.tsx
Token Export & Design-Tool HandoffDESIGN.md, tokens.css, tokens/tokens.json, tokens/tailwind.css, tokens/figma-variables.json, lint.jsonAll 7 templates verified strictly against var(--...) custom properties
Mandatory Final Verification GateCHECKLIST.md, EVALS.md, NOTICE.md, lint.jsonRun npx uikits-md check spark --dir . + tsc --noEmit

2. Bootstrap Procedure (Before Writing Feature Code)
  • 1.Load Fonts in src/app/layout.tsx:

Import Plus_Jakarta_Sans (weights 400, 500, 600, 700, --font-plus-jakarta-sans) and JetBrains_Mono (weights 400, 500, 600, --font-jetbrains-mono) via next/font/google. Attach both CSS variable classes to <html> and apply sp-root bg-[var(--background)] text-[var(--foreground)] font-sans antialiased to <body>. Serif documentation intro bands automatically resolve --font-serif (Georgia, "Iowan Old Style", "Times New Roman", serif).

  • 2.Import Dual-Mode Tokens & CSS v4 @theme Bridge:

Import tokens.css and tokens/tailwind.css immediately after your base utility stylesheet in src/app/globals.css. Dark mode (#101116 canvas / #181a22 cells) activates by default on :root, [data-theme="dark"], and .dark; Editorial Paper Light Mode (#fafaf8 paper / #ffffff surfaces / #059669 accent) activates cleanly under [data-theme="light"] and .light.

  • 3.Install All 7 Spark Starter Templates:

Run npx uikits-md@latest add spark --platform all --out . and install @phosphor-icons/react.

  • 4.Scope Boundaries:

Engineered for React 18+/19+, Next.js 14+/16+ App Router, CSS v4 @theme, and TypeScript 5+. Maintain 0.5rem (8px) calibrated rounding on controls and panels while keeping outer ruled section cells flush (0px) where hairlines intersect.


3. First-Pass Mandatory Execution Rules (12 Concrete Contracts)
  • 1.Dark Hairline-Ruled Cell Architecture:

Anchor default dark marketing and workspace views on #101116 (var(--background)) sliced into #181a22 (var(--surface)) cells by 1px solid var(--border) rules with .sp-tick-frame violet intersection crosshairs. Never drop disconnected oversized cards onto generic bg-slate-900 or bg-zinc-950 backgrounds.

  • 2.Mint-Emerald Primary + Electric-Violet Secondary Polarity:

In Dark mode, pair #071c14 (var(--primary-foreground)) on #34d399 (var(--primary) / var(--accent)) for 9.22:1 AAA primary actions and HMR pass fills—NEVER place white text over #34d399. Reserve Electric Violet (#8b5cf6 / --sp-violet-text: #a78bfa) for secondary highlight rings, active guide markers, cell hairline glows, and hero halo accents.

  • 3.Editorial Paper Light Mode & Serif Doc Bands:

Switching to [data-theme="light"] / .light MUST cleanly flip the workspace into warm #fafaf8 editorial paper, #ffffff surfaces, #16181d ink (16.99:1 AAA), #047857/#059669 emerald controls, and #6d28d9 deep-violet documentation links. Set long-form release essays, guide introductions, and manifesto callouts in .sp-serif-band (Georgia serif) to create tactile separation between narrative reading and monospace config mechanics.

  • 4.100% Semantic CSS Variables (Zero Hardcoded Hex in JSX):

Bind every background, foreground, border, badge tone, meter fill, and SVG stroke in React templates to semantic CSS variables (var(--background), var(--surface), var(--foreground), var(--muted-foreground), var(--primary), var(--primary-foreground), var(--highlight), var(--border), var(--chart-1)..--chart-5) so Dark and Light themes invert instantaneously with zero leaks.

  • 5.Architectural Type Scale & Monospace Tabular Readouts:

Set display headlines in Plus Jakarta Sans weight 500–600 with tight proportional negative tracking (-0.035em at 56px–72px, -0.025em at 40px–48px), UI controls at 14px–15px, and every CLI install command, module bundle size (12.4 kB), cold start (118 ms), and HMR update (14 ms) in JetBrains Mono with font-variant-numeric: tabular-nums.

  • 6.Interactive HMR Benchmark Bar Races (HmrBenchmarkPanel.tsx):

Visualize dev-server cold start, HMR hot-update latency, and production bundle time with horizontal .sp-hmr-bar bars driven by @keyframes spHmrBarRace (scaleX(0 -> 1) over 540ms cubic-bezier(0.22, 1, 0.36, 1)). Wire scenario tabs (Cold Start, HMR Update, Prod Build) and a live Re-run benchmark trigger so users can replay and compare real timings interactively.

  • 7.Calibrated Rounded Geometry (0.5rem Default):

Use 0.5rem (8px, rounded-[var(--radius)]) for buttons, code blocks, search triggers, dialogs, and standalone cards; 0.25rem (4px) for inline code and <kbd> chips; 0px (rounded-none) for flush hairline-ruled section cells; and 9999px strictly for compact release-announcement pills and status dots. Never use rounded-2xl, rounded-3xl, shadow-xl, or blur-3xl.

  • 8.Compositor-Only Motion, Offscreen Pause & Reduced Motion:

Implement Spark's 5 signature motions (cell-hairline-glow, hmr-bar-race, code-tab-glide, pill-spring-snap, hero-halo-breathe) strictly via compositor properties (transform, opacity). Pause ambient infinite animations (.sp-hero-halo, .sp-cell-glow::after, .sp-skeleton) whenever containers scroll offscreen via [data-offscreen="true"], and suppress all transitions/animations under @media (prefers-reduced-motion: reduce).

  • 9.Progressive Scroll Reveals & No-JS Content Safety:

Render above-the-fold hero headlines and interactive install tabs immediately on initial paint. Wrap below-the-fold ruled bands and module grids in <ScrollReveal delayMs={...}> (50ms–70ms sibling stagger). For horizontal scroll rails (overflow-x-auto), wrap the outer container only. Always preserve html.js-ready + @media (scripting: none) fallback visibility.

  • 10.Complete Interactive & Keyboard Wiring:

Wire real state for package-manager install tabs (npm, pnpm, yarn, spark), copy-to-clipboard CLI commands (1.8s "Copied" state), module category filter pills + search + inspector panel, ⌘K / Ctrl+K <CommandPalette> (ArrowUp/ArrowDown/Enter/Esc + focus restoration), collapsible docs sidebar, and nested Escape dismissal.

  • 11.Full 4-State Parity & Exclusive Phosphor Iconography:

Ship styled Loading (.sp-skeleton), Empty (calm hairline cell + filter-reset action), Error (var(--destructive) subtle border/tint + Retry build), and Toast (role="status") states. Import all UI icons exclusively from @phosphor-icons/react (weight="regular"), never external stock placeholder media URLs or bare text boxes.

  • 12.Universal Skip Link, Responsive Integrity & Verification Gate:

Render <a href="#main-content">Skip to content</a> as the first focusable element on every route, confirm 0px horizontal overflow at 390×844 and 1440×900, confirm saved Settings visibly persist into target docs/workspace views, and pass npx uikits-md check spark --dir . + tsc --noEmit with zero errors.


4. Blueprint Recipes
Blueprint A — Build Framework Hero & Ruled Feature Matrix
  • Full-width .sp-hero-halo atmospheric wash anchored on var(--background) framed by 1px solid var(--border) outer vertical rules.
  • Centered or 7/5 split hero: .sp-pill-snap version announcement pill (v4.2 · Sub-15ms HMR), Plus Jakarta Sans <h1> (clamp(2.5rem, 5.5vw, 4.5rem), -0.035em tracking), muted technical lead copy, primary .sp-btn-primary (Get Started — #071c14 on #34d399) + secondary .sp-btn-outline (Read the Guide), and an interactive tabbed CLI install switcher (npm / pnpm / yarn / spark) with .sp-code-tab glide underlines and copy button.
  • Directly below: a 2×2 .sp-ruled-cell.sp-tick-frame matrix pairing copy on top with embedded terminal/module visual panels below.
Blueprint B — Instant HMR Benchmark Arena & Module Graph
  • Mount <HmrBenchmarkPanel /> inside a 1px solid var(--border) ruled band with interactive scenario tabs (Cold Start, HMR Update, Prod Build), live replay button, and comparative ms bars.
  • Pair with <LayeredModuleGraph /> / <ModuleGraphGrid /> (templates/ModuleGraphGrid.tsx): a DOM-first 4-tier layered ESM module dependency graph (01 ENTRY, 02 PACKAGES, 03 ROUTES, 04 CHUNKS) where every module is a full-text HTML/DOM <button> card (>= 12.5px semibold unclipped name, >= 11px mono tabular-nums transform time + proportional micro-bar, synced gzip/raw kB weight, semantic status LED, and click-driven upstream/downstream emerald/violet highlighting with unrelated dimming), separated by dedicated column gutter connectors (→ desktop, 2×2 with 02→03 ↓ bridge at <= 820px, 1-col ↓ stack at <= 520px)—paired with the searchable plugin directory and slide-in dependency inspector.
Blueprint C — Three-Column Editorial Documentation Shell
  • Wrap guides and API references inside <FrameworkDocsShell />: 64px translucent sticky header with ⌘K search button and Dark ↔ Editorial Paper theme toggle, horizontally collapsible 264px left guide sidebar (default closed on mobile, role="dialog" drawer), readable 68ch central column featuring .sp-serif-band essay callouts alongside JetBrains Mono fenced config blocks, and a 200px right "On this page" outline rail.

5. Explicitly Banned Anti-Patterns
  • BANNED: White text on dark-mode #34d399 Mint Emerald buttons or badges—always pair #34d399 with var(--primary-foreground) (#071c14, 9.22:1 AAA).
  • BANNED: Oversized consumer radii (rounded-2xl, rounded-3xl), heavy drop shadows (shadow-xl), ambient neon blobs (blur-3xl), generic rainbow gradients (bg-gradient-to-r from-indigo-500, from-purple-500), or generic bg-slate-900 / bg-zinc-950 grounds.
  • BANNED: Hardcoded #hex color values inside reusable React TSX templates—consume semantic CSS variables exclusively so Dark and Light Editorial Paper modes switch cleanly.
  • BANNED: Non-tabular figures in HMR latency bars or module metrics, third-party brand/framework names in copy or fixtures, external stock placeholder image URLs, or missing prefers-reduced-motion fallbacks.
  • BANNED: Clipped <svg><rect><text> module-graph node boxes, connector paths crossing over node labels, or redundant duplicate node-picker chip rows underneath an SVG graph—always build module topologies as real keyboard-accessible HTML/DOM node cards with connectors isolated strictly inside column gutters.
Hero Card & Visual Craft Mandate
  • Zero Clipart SVGs for Real-World Subjects: Never draw buildings, interiors, fashion garments, hardware devices, vehicles, food, people, or cinema frames using flat <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).
  • High-Craft Technical Hero Cards & Precision SVGs: When rendering data visualizations, topology graphs, waveforms, or telemetry inside a Hero Card, enforce subtle specular top-edge hairlines (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.
Card, Diagram & Data Table Craft Standard
  • DOM-First Product Visuals & Layered Topology Graphs (Zero Clipped SVG Node Boxes): Never depict workflows, pipelines, or module dependency graphs with numbered 01 → 02 → 03 <circle> SVGs, clipped <svg><rect><text> boxes, or redundant duplicate pill-button rows underneath. Render real HTML/DOM node <button> cards arranged in layered dependency tiers (01 ENTRY, 02 PACKAGES, 03 ROUTES, 04 CHUNKS) with full unclipped titles (>= 12.5px semibold), >= 11px tabular-nums telemetry + proportional timing micro-bars, semantic status LEDs, upstream/downstream emerald/violet relation highlighting, and directional connectors placed strictly inside dedicated column gutters (@container-responsive at 820px and 520px).
  • 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.