Developer-dense open-weight ML model hub with IBM Plex Mono repo slugs, crisp white cards, warm amber tags, and live inference playground.
npx uikits-md@latest add modelhub --platform all --out .Explore the color balance, dual WCAG 2.2 AA & APCA Lc contrast checks, typography scale, and geometry tokens built into uikit-modelhub.
Browse open-weight models, benchmarks, and live inference endpoints. 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 modelhub --platform all --out .
Browse the design specs, theme variables, and React templates included in uikit-modelhub.
You are building production open-weight ML registry and inference interfaces with the Modelhub — Open ML Registry UI Skill Pack (tokens/ + templates/ + empirical subpage & governance blueprints). Pair with registry/backbone/ (uikit-backbone) when a project needs the broader 27-component and 6-page-recipe web skeleton.
FIRST-PASS PRECISION MANDATE: Never treat this pack as a generic light SaaS template. Build on a pure white #ffffff canvas paired with crisp #f7f8fa card headers, 1px solid #e5e7eb structural hairlines, jet #111827 primary ink and black pill actions (#ffffff label, 17.74:1 AAA), disciplined warm amber (#d97706 light / #f59e0b dark) hub tags and focus rings paired strictly with dark ink (5.57:1 AA light / 8.99:1 AAA dark), ubiquitous IBM Plex Mono repository slugs (northstar/kestrel-7b-instruct), SHA-256 weight digests, CLI pull snippets, tabular counters, live interactive inference sandboxes, compositor-only motion, and complete #0c0e12 Dark Mode parity automatically on the very first pass.
Read DESIGN.md and tokens.css first, then load the companion specifications and drop-in starter templates matching the active surface:
| User Task | Required Spec Files | Machine Tokens & Rules | Drop-In Templates to Copy / Use |
|---|---|---|---|
| Open-Weight Hub Landing Page | DESIGN.md, MOTION.md, ASSETS.md, CONTENT.md, tokens.css | tokens/tokens.json, tokens/tailwind.css | templates/ScrollReveal.tsx, templates/ModelCardTable.tsx, templates/InferenceSandboxPanel.tsx, templates/StatusBadge.tsx |
| Registry AppShell & Filter Sidebar | DESIGN.md, APP_PATTERNS.md (§1–§3), MOTION.md, ACCESSIBILITY.md, tokens.css | tokens/tokens.json, tokens/tailwind.css, lint.json | templates/RegistryHubShell.tsx, templates/CommandPalette.tsx, templates/StatusBadge.tsx |
| Model & Dataset Catalog Browser | DESIGN.md, APP_PATTERNS.md (§3), CONTENT.md, DATA_VIZ.md, tokens.css | tokens/tokens.json | templates/ModelCardTable.tsx, templates/StatusBadge.tsx, templates/Sparkline.tsx |
| Model Detail & Inference Playground | DESIGN.md, APP_PATTERNS.md (§4), MOTION.md, DATA_VIZ.md, tokens.css | tokens/tokens.json | templates/InferenceSandboxPanel.tsx, templates/StatusBadge.tsx, templates/Sparkline.tsx |
| Command Palette & Repo Search | DESIGN.md, APP_PATTERNS.md (§2–§3), MOTION.md, ACCESSIBILITY.md, tokens.css | tokens/tokens.json | templates/CommandPalette.tsx, templates/RegistryHubShell.tsx |
| CLI & REST API Documentation | DESIGN.md, APP_PATTERNS.md (§6), CONTENT.md, ACCESSIBILITY.md, tokens.css | tokens/tokens.json, tokens/tailwind.css | templates/InferenceSandboxPanel.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx |
| Compute Pricing, Auth, Settings & Forms | DESIGN.md, APP_PATTERNS.md (§5, §7–§9), ACCESSIBILITY.md, tokens.css | tokens/tokens.json, tokens/figma-variables.json | templates/RegistryHubShell.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx |
| Benchmark & Throughput Telemetry | DESIGN.md, DATA_VIZ.md, APP_PATTERNS.md (§3–§4, §10), tokens.css | tokens/tokens.json | templates/Sparkline.tsx, templates/StatusBadge.tsx |
| Any UI Task (Final Verification Gate) | CHECKLIST.md, EVALS.md, ACCESSIBILITY.md | lint.json, meta.json | Run npx uikits-md check modelhub --dir . and verify Light + Dark parity |
src/app/layout.tsx:Import Inter (weight: ["400", "500", "600", "700"], variable --font-inter) and IBM_Plex_Mono (weight: ["400", "500", "600"], variable --font-ibm-plex-mono) via next/font/google. Attach both font variables to <html> and apply .mh-root on <body>.
tokens.css and tokens/tailwind.css:Place tokens.css (or uikit-modelhub.tokens.css) and tokens/tailwind.css directly below @import "tailwindcss"; in src/app/globals.css. This activates the default pure-white Light palette (:root, [data-theme="light"], .light), deep-graphite Dark palette ([data-theme="dark"], .dark), Tailwind CSS v4 @theme bindings, and all 6 compositor keyframes.
Run npx uikits-md@latest add modelhub --platform all --out . (or copy templates/*.tsx into src/components/uikit-modelhub/). Install @phosphor-icons/react as the sole UI icon dependency.
Toggle data-theme="dark" / .dark and data-theme="light" / .light on <html> or an isolated preview container. Every template consumes semantic CSS variables exclusively so polarity switches instantaneously with zero stale hardcoded colors.
#f7f8fa Card Headers: Ground light screens on #ffffff (var(--background)), frame repo card headers, filter sidebars, and CLI pull trays on #f7f8fa (var(--surface)), and divide dense catalog rows with crisp 1px solid var(--border) (#e5e7eb light / rgba(255, 255, 255, 0.10) dark).Use this model, Pull Weights, Sign Up, Deploy Endpoint) as crisp jet #111827 pills (var(--primary) / var(--primary-foreground), 17.74:1 AAA light; inverted #f3f4f6 / #0c0e12 dark) so color stays free to signify taxonomy and status.var(--accent) — #d97706 light, #f59e0b dark) for active tab underlines (.mh-tab[data-active="true"]::after), open-weight category pills, focal CLI actions, and 2px :focus-visible rings. ALWAYS pair solid amber fills with dark ink (var(--accent-foreground) — 5.57:1 AA light, 8.99:1 AAA dark) and use --mh-amber-ink (#92400e, 6.84:1 AA) for text on --accent-wash (#fffbeb). Never place white text on #d97706 or #f59e0b.IBM Plex Mono Repo Slugs & SHA Digests: Render every org/model-name slug (northstar/kestrel-7b-instruct), SHA-256 weight digest (sha256:9f4a2e1), quantization tag (Q4_K_M, FP8), CLI command (modelhub pull ...), parameter count (7.2B), and throughput metric (84.6 tok/s) in IBM Plex Mono (font-mono tabular-nums).#hex literals or static theme utility classes (bg-indigo-600, bg-purple-600) inside reusable TSX templates. Reference var(--background), var(--surface), var(--card), var(--foreground), var(--muted-foreground), var(--primary), var(--accent), var(--border), and semantic wash tokens exclusively.0.375rem Default): Use 6px (var(--radius)) on model rows, tool buttons, inputs, and filter chips; 4px (var(--radius-xs)) on <kbd> keycaps and SHA tags; 8px (var(--radius-md)) on inference playgrounds and terminal wells; 12px (var(--radius-lg)) on dark hero/enterprise panels; and 9999px (var(--radius-pill)) on primary action pills and inline CLI pull snippets. Never use rounded-2xl or rounded-3xl.ModelCardTable.tsx): Support live text search across repo slugs/tags/SHA digests, task and weight-format filter chips, sort switching (Trending, Downloads, Updated, Likes), interactive like toggles with mhTokenCounterTick, and one-click CLI pull copy with aria-live="polite" confirmation.InferenceSandboxPanel.tsx): Pair an interactive model selector, editable prompt composer, quantization/temperature controls, streaming token output with real-time tok/s / TTFT ms / VRAM GB counters, and a CLI / cURL / JSON snippet switcher featuring .mh-terminal-fade copyable pull commands.⌘K Registry Command Palette (CommandPalette.tsx): Connect Cmd+K / Ctrl+K and the header search trigger to <CommandPalette /> with ArrowUp/ArrowDown navigation, Enter execution, focus restoration, and nested Escape (first clears non-empty query, second closes modal).transform and opacity via the 5 registered motion profiles (repo-row-highlight, token-counter-tick, tab-rail-slide, badge-snap-in, terminal-pull-fade). Pause offscreen pulses and skeletons via [data-offscreen="true"], keep .mh-reveal visible without JS (@media (scripting: none)), and honor prefers-reduced-motion: reduce.<a href="#main-content" className="sr-only focus:not-sr-only ...">Skip to catalog</a> and <main id="main-content"> on every route. Ship styled Loading (.mh-skeleton), Empty (clear recovery CTA), and Error (role="alert" rose wash + retry button) states for all catalog and sandbox panels.@phosphor-icons/react & Brand-Safe Data: Import icons strictly from @phosphor-icons/react (aria-hidden="true" on decorative icons, aria-label on icon-only controls). Keep all sample orgs, models, datasets, and domains neutral (Northstar, Kestrel, Vesper, Arbor, Helios, Cinder, example.com).<RegistryHubShell /> with top navigation tabs (.mh-tab), collapsible task/format filter rail, main <ModelCardTable />, and global <CommandPalette />.#f7f8fa repo header (slug, license, SHA digest, copyable modelhub pull pill, like button) over a 7/5 split pairing the README model card & <Sparkline /> download trend left with <InferenceSandboxPanel /> right..mh-card <RegistryMetricCard /> tiles (Weekly Pulls, Median TTFT, Verified Checkpoints, Eval Pass Rate) with IBM Plex Mono tabular-nums values and --chart-1..5 sparklines inside <ScrollReveal />.#ffffff, #f7f8fa, #111827, #d97706, or static utility palette fills (bg-indigo-600, bg-purple-600) inside reusable TSX templates.#d97706 or #f59e0b Amber: White text on warm amber fails WCAG AA (3.19:1 light / 2.14:1 dark). Always pair solid amber with var(--accent-foreground) (#111827 light / #0c0e12 dark) and use --mh-amber-ink (#92400e) on light washes.bg-gradient-to-r from-indigo-500, from-purple-500, from-fuchsia-500, rounded-2xl, rounded-3xl, shadow-2xl, or blur-3xl glow orbs (enforced by lint.json).tok/s readouts without font-mono tabular-nums.Northstar, Kestrel, Vesper, Arbor, Helios, Cinder) and 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.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.