name:uikit-hypercar
description:Implements cinema-black hypercar showrooms, bespoke chassis configurators, aerodynamic telemetry workbenches, and numbered provenance registries using the Hypercar — Bespoke Cathedral design system (0px monolithic geometry, W3C DTCG tokens, Tailwind v4 @theme, dual Cinema-Black/Limestone modes, and 7 CSS-variable-first TSX templates).
license:MIT
compatibility:"React 18+/19+, Next.js 14+/16+, Tailwind CSS v4, TypeScript 5+"
metadata:
id:"hypercar"
version:"2.2.0"
category:"automotive-hypercar"
status:"stable"
author:"uikits.tech"
backbone:"uikit-backbone"
iconLibrary:"@phosphor-icons/react"
preview:"/previews/hypercar-hero.webp"
uikit-hypercar — Master Execution Protocol (v2.2.0)
You are building production digital showrooms and bespoke commission applications with the Hypercar — Bespoke Cathedral UI Skill Pack (tokens/ + templates/ + lint.json + governance/eval specs). Pair with registry/backbone/ (uikit-backbone) when multi-step checkout or extended form infrastructure is required beyond the 7 starter primitives.
ANTI-VIBECODE MANDATE: Apply every monolithic 0px border token, champagne-gold high-contrast CTA rule, studio photography framing standard, keyboard focus contract, and reduced-motion discipline automatically on the first pass.
1. Task-Based Read Routing
Always load DESIGN.md, tokens.css, and lint.json first, then load the exact companion specs and drop-in templates for your target surface:
2. Bootstrap Procedure
- 1.Load Fonts in
src/app/layout.tsx:
Configure Inter (--font-inter), Barlow_Condensed (--font-barlow-condensed, weights 400, 500, 600, 700, 800), and JetBrains_Mono (--font-jetbrains-mono) via next/font/google, attach CSS variables to <html>, and default <html data-theme="dark">.
Import tokens.css and tokens/tailwind.css directly after @import "tailwindcss"; in globals.css. Preserve both Cinema-Black (:root, [data-theme="dark"], .dark) and Limestone Gallery ([data-theme="light"], .light) modes.
- 3.Install Starter Primitives:
Copy all 7 templates from templates/ (CathedralShowroomShell.tsx, AeroDownforcePanel.tsx, CommissionSpecSheet.tsx, CommandPalette.tsx, StatusBadge.tsx, ScrollReveal.tsx, Sparkline.tsx) into src/components/uikit-hypercar/.
Install @phosphor-icons/react (required by lint.json). Avoid generic non-Phosphor icon packs or custom raw emoji icons.
3. The 12 Mandatory First-Pass Contracts
- 1.Strict 0px Monolithic Geometry: Every card, plinth, button, input, modal, badge, and telemetry label uses
0px (rounded-none). Never apply rounded-md through rounded-3xl. - 2.Cinema-Black Default & Limestone Companion: Anchor dark views on
#050506 (var(--background)) with #101013 plinths (var(--surface)) and #f6f5f0 ivory ink (var(--foreground)). Support light limestone #f7f6f2 / #ffffff / #09090b via semantic tokens—zero hardcoded #hex values in TSX templates. - 3.Champagne-Gold High-Contrast Discipline: Reserve champagne gold (
#d4af37 dark / #7c6112 light) strictly for primary commission CTAs, active telemetry traces, and hairline rules. Always pair #d4af37 with #050506 dark ink (10.1:1 AAA) and #7c6112 with #ffffff ink (5.7:1 AA). - 4.Three-Voice Typography Split: Set uppercase monumental headlines in
Barlow Condensed (weight: 400–600, wide tracking), technical narrative prose in Inter, and all buttons, chassis serials, and numeric KPIs in JetBrains Mono with tabular-nums. - 5.Bespoke Studio Photography Mandate: Embed verified local
/images/hero-cathedral.webp (fetchPriority="high", locked aspect-ratio: 16 / 9, CLS === 0, calibrated dark cathedral gradient scrim). Never draw vehicle bodies or chassis silhouettes using cartoon <svg> polygons. - 6.Precision Aerodynamic SVG Craft: Data SVGs (
AeroDownforcePanel, Sparkline) must feature specular top-edge hairlines (inset 0 1px 0 rgba(246, 245, 240, 0.14)), labeled coordinate axes, opaque rx="0" readout pills, and zero text-on-line or text-on-text collisions. - 7.Monolith Motion Vocabulary: Implement
hc-monolith-curtain-rise, hc-gold-hairline-draw, hc-aero-curve-trace, hc-chassis-serial-reveal, and hc-cta-austere-invert. Keep above-the-fold hero content immediately visible (opacity: 1). - 8.Offscreen Pause & Reduced Motion: Pause ambient SVG traces when scrolled out of view (
[data-offscreen="true"]), honor @media (prefers-reduced-motion: reduce), and ensure .hc-reveal remains fully visible when JavaScript is absent. - 9.Nested Keyboard & Focus Management: Provide
Cmd/Ctrl+K command palette (role="dialog" aria-modal="true"), custom keyboard selects capturing Escape before closing parent overlays, visible champagne-gold focus outlines, and a skip-to-content link. - 10.Live Settings Propagation: Preferences (Metric/Imperial telemetry units, serial plate visibility, Cinema-Black/Limestone theme, default series filter) must persist in state and immediately update every dependent view.
- 11.Complete Data States: Every registry and configurator surface ships with loading skeletons, resettable empty states, inline validation alerts (
var(--destructive)), and role="status" toast feedback. - 12.Brand-Safety & Verification Gate: Use only original atelier identities (
Vespera Atelier, Monolith V16, Aurelia Carbon, example.com) and pass npx uikits-md check hypercar plus tsc --noEmit with zero errors.
4. Explicitly Banned Anti-Patterns
- BANNED: Rounded corners (
rounded-md, rounded-lg, rounded-xl, rounded-2xl, rounded-3xl) or soft pill cards. - BANNED: Clipart or vector-polygon car illustrations in place of studio
.webp photography. - BANNED: Generic purple/indigo gradients, heavy drop shadows (
shadow-xl, shadow-2xl), or light text on #d4af37 champagne gold. - BANNED: Third-party automotive marques, borrowed racetrack names, stock placeholder image URLs, or unformatted large currency integers (always format with
.toLocaleString("en-US")).
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.