Reading-optimized white drafting sheet for developer docs and interactive REST playgrounds with #0d9373 emerald active rails and faint blueprint rules.
npx uikits-md@latest add mint --platform all --out .Explore the color balance, dual WCAG 2.2 AA & APCA Lc contrast checks, typography scale, and geometry tokens built into uikit-mint.
Read crisp blueprint documentation and test REST endpoints inline. 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 mint --platform all --out .
Browse the design specs, theme variables, and React templates included in uikit-mint.
You are building production UI with the Mint — Developer Docs UI Skill Pack (tokens/ + templates/ + architectural & governance specifications). Pair with registry/backbone/ (uikit-backbone) for full base primitive coverage.
DRAFTING-SHEET EXECUTION MANDATE: Never treat this pack as loose aesthetic inspiration. Build a reading-optimized pure white #ffffff drafting sheet framed by #e4ebe8 hairline blueprint rules and #f8faf9 drafting-tint navigation rails, calibrated #11181c / #36444a prose ink constrained to a 68ch–74ch column, #0d9373 leaf-emerald active rails (#0a7a5f deep emerald at 5.30:1 AA for small text links), #0284c7 / #0369a1 sky HTTP method highlights, dark pine-charcoal #0f1716 syntax code slabs, interactive REST Try-It playgrounds (ApiPlaygroundPanel.tsx), compositor-only motion (rail-indicator-slide, response-json-reveal, callout-subtle-rise, copy-badge-confirm, toc-heading-fade), and 100% CSS-variable-driven Light & Dark modes automatically on the very first pass. The user must never have to follow up with *"fix dark mode"*, *"constrain reading width"*, *"add copy feedback"*, or *"make the playground interactive"*.
Always read DESIGN.md and tokens.css first, then load the companion specs and drop-in templates for the surface you are building:
| User Task | Required Spec Files | Drop-In Templates to Copy / Use |
|---|---|---|
| Developer Portal Landing | DESIGN.md, MOTION.md, ASSETS.md, CONTENT.md, tokens.css | templates/DocsPortalShell.tsx, templates/CalloutCodeCard.tsx, templates/ScrollReveal.tsx |
| 3-Column Docs & MDX Guides | DESIGN.md, APP_PATTERNS.md (§2, §6), CONTENT.md, tokens.css | templates/DocsPortalShell.tsx, templates/CalloutCodeCard.tsx, templates/CommandPalette.tsx, templates/ScrollReveal.tsx |
| REST Reference & Try-It Playground | DESIGN.md, APP_PATTERNS.md (§3, §4), MOTION.md, tokens.css | templates/DocsPortalShell.tsx, templates/ApiPlaygroundPanel.tsx, templates/StatusBadge.tsx |
| API Telemetry & Status Console | DESIGN.md, DATA_VIZ.md, APP_PATTERNS.md (§3, §10), tokens.css | templates/StatusBadge.tsx, templates/Sparkline.tsx, templates/ScrollReveal.tsx |
| Settings, Auth & Key Management | DESIGN.md, APP_PATTERNS.md (§5, §8, §9), ACCESSIBILITY.md, tokens.css | templates/DocsPortalShell.tsx, templates/CalloutCodeCard.tsx, templates/StatusBadge.tsx |
| Token Sync & Design-Tool Bridge | tokens.css, tokens/tokens.json, tokens/tailwind.css, tokens/figma-variables.json, lint.json | Semantic CSS variables (var(--background)..var(--chart-5)) |
| Any UI Task (Final Verification) | CHECKLIST.md, ACCESSIBILITY.md, EVALS.md, lint.json | All active templates audited before completion |
npx uikits-md@latest add mint --platform all --out .npx shadcn@latest add https://uikits.tech/r/mint.jsonget_ui_kit_skill and get_ui_kit_file for mint.npm install @phosphor-icons/react (plus react, react-dom).src/app/layout.tsx:Load Inter (weight: ["400", "500", "600", "700"], --font-inter) and JetBrains_Mono (weight: ["400", "500", "600"], --font-jetbrains-mono), attach both font CSS variables to <html>, and apply .mt-root on <body> (bg-[var(--background)] text-[var(--foreground)]).
tokens.css & tokens/tailwind.css:Import tokens.css and tokens/tailwind.css directly after @import "tailwindcss"; in src/app/globals.css. This activates Light (:root, [data-theme="light"], .light) and Dark ([data-theme="dark"], .dark) drafting palettes, blueprint hairline helpers, .mt-code-slab, .mt-rail-indicator, all 6 compositor keyframes, offscreen pause guards, prefers-reduced-motion, and forced-colors fallbacks.
Copy all 7 TSX templates into src/components/uikit-mint/: DocsPortalShell.tsx, ApiPlaygroundPanel.tsx, CalloutCodeCard.tsx, CommandPalette.tsx, StatusBadge.tsx, ScrollReveal.tsx, and Sparkline.tsx.
Do not use for native mobile (React Native) or legacy CSS-in-JS stacks that cannot consume CSS custom properties (var(--...)) or Tailwind CSS v4 utilities.
Every screen authored with uikit-mint MUST deliver all 12 engineering rules automatically on the first pass:
DocsPortalShell with a collapsible 256px left sidebar on var(--surface) (#f8faf9 light / #121c1a dark), a centered 68ch–74ch reading prose column on var(--background) (#ffffff light / #0b1110 dark), and a sticky 288px–320px right rail for On-This-Page TOC and interactive REST playgrounds—separated exclusively by 1px solid var(--border) blueprint hairlines.var(--...) tokens from tokens.css so switching [data-theme="light"] ↔ [data-theme="dark"] flips the entire portal cleanly without stale light-only colors.var(--mt-emerald) (#0d9373 light / #2dd4a8 dark) for active 2.5px sidebar rails, focus rings, and bold primary CTAs; use var(--mt-emerald-deep) (#0a7a5f light, 5.30:1 AA on white / #2dd4a8 dark, 10.07:1 AAA) for all < 14px emerald text links and active nav labels; use var(--info) (#0369a1 light / #38bdf8 dark) for HTTP GET badges and inline code anchors..mt-code-slab (var(--mt-code-bg): #0f1716 light / #080d0c dark) with var(--mt-code-surface) file tabs, tabular line numbers, and 16.44:1 AAA foreground legibility.ApiPlaygroundPanel.tsx): Never render inert static API boxes or flat <svg><rect><text> pipeline diagrams when documenting endpoints. Provide editable path/query inputs, JSON body editing for POST/PUT/PATCH, synced cURL / TypeScript / Python / Go tabs, one-click copy confirmation (.mt-copy-pop), a live Send Request trigger that animates response payloads via .mt-json-reveal, and a DOM-first API Request Trace Waterfall & Header Inspector built from real HTML <button> stages (>= 11px mono IDs/timings, >= 12.5px semibold titles, proportional emerald/slate timing bars over ruler ticks, dedicated gutter connectors, upstream/active/downstream highlighting, active SDK sync, and a flush hairline 3-row header/check strip).StatusBadge.tsx): Encode every HTTP verb consistently across sidebar links, endpoint headers, and directories: GET (sky), POST (emerald), PUT (amber), PATCH (violet), DELETE (destructive), plus REQUIRED, STABLE, BETA, and DEPRECATED pills with AA-verified tinted washes.16px / 1.65 (Inter, var(--mt-ink-secondary)), tighten display headings (-0.03em to -0.02em), and enforce .mt-mono (JetBrains Mono, font-variant-numeric: tabular-nums) on endpoints, status codes (201 Created), latency metrics (84 ms), rate-limit quotas, and line numbers.rail-indicator-slide (.mt-rail-indicator), response-json-reveal (.mt-json-reveal), callout-subtle-rise (.mt-callout-enter), copy-badge-confirm (.mt-copy-pop), and toc-heading-fade (.mt-toc-active) using transform/opacity only, with html.js-ready + @media (scripting: none) no-JS visibility, [data-offscreen="true"] ambient pause, and complete prefers-reduced-motion: reduce neutralization.< 1024px) inside a backdrop drawer, and preserves the active document and scroll state without resetting context.CommandPalette.tsx): Support global Cmd/Ctrl+K to open documentation search, ArrowUp/ArrowDown + Enter selection, and nested Escape behavior (clears active query before dismissing the modal; closes popovers before mobile drawers).@phosphor-icons/react, DOM-First Traces & Procedural Media: Render all navigation, code, method, and callout icons with @phosphor-icons/react, build request traces and pipeline topologies strictly as interactive HTML/DOM node-cards with CSS gutter connectors (never <svg><rect><text> node boxes), and reserve inline <svg> strictly for continuous line telemetry (Sparkline.tsx). Zero raw bitmaps for UI chrome and zero external placeholder domains.<a href="#main-content"> and <main id="main-content"> on every route, ensure settings changes (default SDK language, base environment, line numbers, theme) visibly mutate target documentation and playground screens, and verify zero horizontal page overflow at 390px and 1440px.DocsPortalShell with grouped sidebar items (GETTING STARTED, REST REFERENCE, SDK GUIDES) and active TOC headings (Authentication, Path Parameters, Request Body, Response Schema).StatusBadge (post, stable), monospace path (/v2/workspaces/{workspace_id}/webhooks), and a concise 68ch summary.CalloutCodeCard (tip callout on HMAC-SHA256 verification + multi-file TypeScript/Python tabs) and a blueprint-ruled property table listing required/optional schema fields.ApiPlaygroundPanel inside rightRailExtra (or stacked below prose on < 1280px viewports) so developers can test parameters while reading the schema.var(--mt-hero-wash) over 1px blueprint horizontal rules), crisp 48px tight-tracked headline, inline ⌘K search pill, and one primary leaf-emerald CTA (Quickstart Guide) paired with an outlined API Reference action. Pair the right column's live SDK code slab (TypeScript / Python / cURL) with a DOM-first API Request Trace Waterfall & Header Inspector Card (GET /v2/projects · 200 OK · 64ms p95 · synced SDK badge, 3 clickable proportional DOM stage segments 01 Client Auth / 02 Edge Gateway / 03 JSON Spec with ruler ticks and emerald/slate timing bars, and a flush hairline 3-row header/check strip underneath)..mt-sheet-card wrapped in ScrollReveal with 0ms, 60ms, 120ms staggers) linking to Authentication, Webhooks, and SDKs.CalloutCodeCard beside a compact EndpointMetricCard + Sparkline API uptime strip (99.99% availability, 64 ms p95 latency).#hex or rgb(...) values inside TSX className or inline style blocks instead of semantic var(--...) tokens.#000000 ink (bg-black, text-black), generic bg-zinc-950 shells, exaggerated rounded-2xl / rounded-3xl bubbles, or heavy diffuse shadow-2xl drops on flat documentation sheets.from-indigo-500, from-purple-500, to-pink-500) or neon glow borders that compete with syntax highlighting and HTTP method badges.74ch (causes eye-tracking fatigue in technical documentation) or proportional jumping numerals in latency/rate-limit tables.Copied visual/screen-reader confirmation, non-functional search bars, or modals that ignore nested Escape.<svg><rect><text> pipeline node cards, tiny sub-11px SVG box labels, or dashed connector lines crossing over labels—all request traces, gateway hops, and API waterfalls MUST be real interactive HTML/DOM cards with dedicated gutter connectors and proportional timing bars.Northstar, Kestrel, Arbor, Vesper, Helios, Cinder) and RFC 2606 domains (example.com).<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.<svg><rect><text> Node Boxes): Never depict API request flows, pipelines, or architecture with flat <svg><rect><text> boxes, numbered 01 → 02 → 03 <circle> SVGs, wavy dashed connectors, or repeated step boxes underneath. Render real miniaturized software UI in HTML/DOM: a crisp request header bar (GET /v2/projects · 200 OK · 64ms p95 · active SDK sync chip), clickable proportional DOM stage <button> rows (>= 11px mono IDs/timings, >= 12.5px semibold titles, semantic status LEDs, dedicated column-gutter hop connectors, upstream/active/downstream highlighting, and emerald/slate timing bars over ruler ticks), and a flush hairline 3-row header/check strip (x-request-id, cache-control, schema-validate with tabular-nums timing and status dots) 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.