uikits.tech
Explore
HomeAll Packs84
Tools
AI RecommenderURL ExtractorUI GraderToken RemixPrompt StudioCompare KitsMotion Lab
Resources
DocsChangelogFAQSubmit PackSponsor
uikits.tech
uikits.tech/Pack · mint
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 · stabledocs-portal27 files · Inter + JetBrains Mono

Mint — Developer Docs

Reading-optimized white drafting sheet for developer docs and interactive REST playgrounds with #0d9373 emerald active rails and faint blueprint rules.

Surfaces:landingsaas-appdashboardauthformsdocssettingsdata-viz
npx uikits-md@latest add mint --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-mint.

Color palette & contrast
Balance: 48% Background · 22% Surface · 14% Text · 10% Accent · 6% Highlight
Live Typography Specimen (Inter · JetBrains Mono · Inter)
Display / HeroInter
Read crisp blueprint documentation and test REST endpoints inline
tracking: -0.025em · leading: 1.2
UI & Prose BodyInter

Read crisp blueprint documentation and test REST endpoints inline. Crisp hierarchy with intentional whitespace and zero decorative noise.

14px–16px · leading: 1.6 · WCAG 2.2 AA
Tabular Metrics & IDsJetBrains Mono
ENDPOINTS
84
AVG LATENCY
42 ms
font-mono tabular-nums · exact column alignment
Surface & Geometry Primitives
Canvas Ground
var(--background)
1px emerald-slate rule
Surface Layer
Blueprint Drafting
var(--surface) · Dual-Mode
Tactile Radius
--radius: 0.5rem
Enforced by lint.json
Motion Profile & Recommended Fit
rail-indicator-slideresponse-json-revealcallout-subtle-risecopy-badge-confirmtoc-heading-fade
Developer documentation portals, technical handbooks & MDX knowledge bases
Interactive OpenAPI / REST reference consoles with live Try-It playgrounds
Multi-language SDK quickstarts, webhook guides & schema property tables
Platform API telemetry, changelog hubs & developer portal dashboards

Install uikit-mint

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 mint --platform all --out .

Inspect Full Skill Pack (27 files)

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

Files
Specs & Docs (17)
Tokens (3)
Drop-In TSX Templates (7)
SKILL.md· 116 lines
Master task routing protocol & 12-point first-pass contract
name:uikit-mint
description:Implements reading-optimized developer documentation portals, OpenAPI/REST reference pages, interactive Try-It API playgrounds, multi-language SDK guides, callout-and-code cards, and API telemetry consoles using the Mint Developer Docs design system (W3C DTCG tokens, Tailwind v4 @theme, Light drafting sheet & Dark pine-slate modes, 7 CSS-variable-first TSX templates, and accessibility/eval specs).
license:MIT
compatibility:"React 18+/19+, Next.js 14+/16+, Tailwind CSS v4, TypeScript 5+"
metadata:
id:"mint"
version:"2.2.0"
category:"docs-portal"
status:"stable"
author:"uikits.tech"
backbone:"uikit-backbone"
iconLibrary:"@phosphor-icons/react"
preview:"/previews/mint-hero.webp"
uikit-mint — Master Execution Protocol (v2.2.0)

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"*.


1. Task-Based Read Routing

Always read DESIGN.md and tokens.css first, then load the companion specs and drop-in templates for the surface you are building:

User TaskRequired Spec FilesDrop-In Templates to Copy / Use
Developer Portal LandingDESIGN.md, MOTION.md, ASSETS.md, CONTENT.md, tokens.csstemplates/DocsPortalShell.tsx, templates/CalloutCodeCard.tsx, templates/ScrollReveal.tsx
3-Column Docs & MDX GuidesDESIGN.md, APP_PATTERNS.md (§2, §6), CONTENT.md, tokens.csstemplates/DocsPortalShell.tsx, templates/CalloutCodeCard.tsx, templates/CommandPalette.tsx, templates/ScrollReveal.tsx
REST Reference & Try-It PlaygroundDESIGN.md, APP_PATTERNS.md (§3, §4), MOTION.md, tokens.csstemplates/DocsPortalShell.tsx, templates/ApiPlaygroundPanel.tsx, templates/StatusBadge.tsx
API Telemetry & Status ConsoleDESIGN.md, DATA_VIZ.md, APP_PATTERNS.md (§3, §10), tokens.csstemplates/StatusBadge.tsx, templates/Sparkline.tsx, templates/ScrollReveal.tsx
Settings, Auth & Key ManagementDESIGN.md, APP_PATTERNS.md (§5, §8, §9), ACCESSIBILITY.md, tokens.csstemplates/DocsPortalShell.tsx, templates/CalloutCodeCard.tsx, templates/StatusBadge.tsx
Token Sync & Design-Tool Bridgetokens.css, tokens/tokens.json, tokens/tailwind.css, tokens/figma-variables.json, lint.jsonSemantic CSS variables (var(--background)..var(--chart-5))
Any UI Task (Final Verification)CHECKLIST.md, ACCESSIBILITY.md, EVALS.md, lint.jsonAll active templates audited before completion

2. Bootstrap Procedure (Step 0 Before Writing Components)
  • 1.Install via CLI, Registry, or MCP:
  • CLI: npx uikits-md@latest add mint --platform all --out .
  • Registry: npx shadcn@latest add https://uikits.tech/r/mint.json
  • MCP: invoke get_ui_kit_skill and get_ui_kit_file for mint.
  • Peer dependencies: npm install @phosphor-icons/react (plus react, react-dom).
  • 2.Load Fonts in 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)]).

  • 3.Import 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.

  • 4.Install Drop-In Primitives:

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.

  • 5.When NOT to Use:

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.


3. First-Pass Mandatory Execution Rules (12-Point Contract)

Every screen authored with uikit-mint MUST deliver all 12 engineering rules automatically on the first pass:

  • 1.Strict 3-Column Drafting Architecture: Compose documentation pages inside 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.
  • 2.100% Semantic CSS Variables (Zero Hardcoded Hex in JSX): Every component background, border, text color, badge tint, and code slab MUST reference var(--...) tokens from tokens.css so switching [data-theme="light"] ↔ [data-theme="dark"] flips the entire portal cleanly without stale light-only colors.
  • 3.Contrast-Calibrated Leaf-Emerald & Sky Accents: Use 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.
  • 4.Persistent Dark Pine-Charcoal Syntax Slabs: Render multi-line code examples, cURL commands, and JSON responses inside .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.
  • 5.Live Interactive Try-It REST Playground & DOM-First Request Trace (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).
  • 6.Semantic HTTP Method & Schema Badge Grammar (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.
  • 7.Reading-First Typography & Tabular Monospace Precision: Set body prose at 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.
  • 8.Signature 5-Cue Compositor Motion: Deliver 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.
  • 9.Collapsible Sidebar Preserving Current Document: Collapsing the left navigation rail hides the entire sidebar horizontally on desktop, defaults closed on mobile (< 1024px) inside a backdrop drawer, and preserves the active document and scroll state without resetting context.
  • 10.Keyboard-First Command Search & Nested Escape (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).
  • 11.Strictly Verified @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.
  • 12.Universal Skip Link, Observable Settings & Zero Mobile Overflow: Include <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.

4. Blueprint Recipes
Recipe A — Standard REST Endpoint Reference Page
  • 1.Mount DocsPortalShell with grouped sidebar items (GETTING STARTED, REST REFERENCE, SDK GUIDES) and active TOC headings (Authentication, Path Parameters, Request Body, Response Schema).
  • 2.Render the endpoint header with StatusBadge (post, stable), monospace path (/v2/workspaces/{workspace_id}/webhooks), and a concise 68ch summary.
  • 3.Follow with CalloutCodeCard (tip callout on HMAC-SHA256 verification + multi-file TypeScript/Python tabs) and a blueprint-ruled property table listing required/optional schema fields.
  • 4.Pin ApiPlaygroundPanel inside rightRailExtra (or stacked below prose on < 1280px viewports) so developers can test parameters while reading the schema.
Recipe B — Developer Portal Landing Sheet
  • 1.Open with a drafting-sheet hero band (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).
  • 2.Place a 3-column quickstart card grid (.mt-sheet-card wrapped in ScrollReveal with 0ms, 60ms, 120ms staggers) linking to Authentication, Webhooks, and SDKs.
  • 3.Pair a live CalloutCodeCard beside a compact EndpointMetricCard + Sparkline API uptime strip (99.99% availability, 64 ms p95 latency).

5. Explicitly Banned Anti-Patterns
  • BANNED: Hardcoding #hex or rgb(...) values inside TSX className or inline style blocks instead of semantic var(--...) tokens.
  • BANNED: Pure #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.
  • BANNED: Generic rainbow hero gradients (from-indigo-500, from-purple-500, to-pink-500) or neon glow borders that compete with syntax highlighting and HTTP method badges.
  • BANNED: Unconstrained full-width paragraphs exceeding 74ch (causes eye-tracking fatigue in technical documentation) or proportional jumping numerals in latency/rate-limit tables.
  • BANNED: Inert copy buttons with no Copied visual/screen-reader confirmation, non-functional search bars, or modals that ignore nested Escape.
  • BANNED: Flat <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.
  • BANNED: External placeholder image services, bare text media stubs, or any third-party trademark, competitor documentation platform name, or borrowed proof points—use neutral names (Northstar, Kestrel, Arbor, Vesper, Helios, Cinder) and RFC 2606 domains (example.com).
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 & Request Traces (Zero <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.
  • 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.