Midnight-navy instant search and discovery API platform with tightly tracked Space Grotesk headings, electric-blue CTAs, and sub-10ms latency gauges.
npx uikits-md@latest add searchly --platform all --out .Explore the color balance, dual WCAG 2.2 AA & APCA Lc contrast checks, typography scale, and geometry tokens built into uikit-searchly.
Query millions of records with sub-4ms typo-tolerant facet ranking. 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 searchly --platform all --out .
Browse the design specs, theme variables, and React templates included in uikit-searchly.
You are building commercial hosted search, AI discovery, and relevance engineering interfaces with the Searchly — Search API UI Skill Pack (tokens/ + templates/ + empirical screen & governance specs). Pair with registry/backbone/ (uikit-backbone) when an application requires additional enterprise forms or standard layout primitives while preserving Searchly's midnight-navy identity.
INSTANT DISCOVERY EXECUTION MANDATE: Never treat this pack as a generic dark SaaS template. Anchor every default Dark screen on midnight navy (#0a1026), elevate hit lists and ranking panels on stepped navy (#131c3d) framed by 1px crisp indigo-navy borders (#1e2c5c), set headlines in tightly tracked bold Space Grotesk (-0.04em display tracking), reserve filled electric blue (#2563eb with #ffffff ink at 5.17:1 AA) for one primary CTA per section/toolbar, illuminate sub-10ms latency gauges with cyan telemetry (#38bdf8 at 8.79:1 AAA), enforce 0.5rem (8px) button/panel radii with full-pill geometry strictly reserved for .sr-search-pill inputs and progress tracks, wire all 5 registered motion primitives, and guarantee crisp Cloud-White Light mode (#f7f9fc / #ffffff / #0f172a / #1d4ed8) parity automatically on the very first pass.
Always inspect DESIGN.md and tokens.css first, then load the companion specs and starter templates matching the active user request:
| User Task | Required Spec Files | Machine Tokens & Lint | Drop-In Templates to Copy / Use |
|---|---|---|---|
| Search API Product Landing & Pricing | DESIGN.md, MOTION.md, ASSETS.md, CONTENT.md, tokens.css | tokens/tokens.json, tokens/tailwind.css | templates/ScrollReveal.tsx, templates/InstantSearchPlayground.tsx, templates/StatusBadge.tsx, templates/Sparkline.tsx |
| Search Cloud Console Shell | DESIGN.md, APP_PATTERNS.md (§1–§4), MOTION.md, ACCESSIBILITY.md, tokens.css | tokens/tokens.json, tokens/tailwind.css, lint.json | templates/SearchPlatformShell.tsx, templates/CommandPalette.tsx, templates/StatusBadge.tsx |
| Instant Hybrid Search Playground | DESIGN.md, APP_PATTERNS.md (§2, §4, §10), MOTION.md, CONTENT.md, tokens.css | tokens/tokens.json | templates/InstantSearchPlayground.tsx, templates/StatusBadge.tsx, templates/Sparkline.tsx |
| Relevance & Tie-Breaking Ranking Tuner | DESIGN.md, APP_PATTERNS.md (§3–§4, §9), MOTION.md, DATA_VIZ.md, tokens.css | tokens/tokens.json | templates/RelevanceRankingPanel.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx |
Global ⌘K Discovery Palette | DESIGN.md, APP_PATTERNS.md (§2), MOTION.md, ACCESSIBILITY.md, tokens.css | tokens/tokens.json | templates/CommandPalette.tsx, templates/SearchPlatformShell.tsx |
| Settings, Index Rules, Auth & Forms | DESIGN.md, APP_PATTERNS.md (§5, §7–§9, §11), ACCESSIBILITY.md, tokens.css | tokens/tokens.json, tokens/figma-variables.json | templates/SearchPlatformShell.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx |
| API Reference Docs & SDK Guides | DESIGN.md, APP_PATTERNS.md (§6–§7, §11), CONTENT.md, tokens.css | tokens/tokens.json, tokens/tailwind.css | templates/InstantSearchPlayground.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx |
| Search Analytics & Latency Telemetry | DESIGN.md, DATA_VIZ.md, APP_PATTERNS.md (§3, §10), tokens.css | tokens/tokens.json | templates/Sparkline.tsx, templates/StatusBadge.tsx (LatencyGaugeCard) |
| Any UI Task (Pre-Flight Gate) | CHECKLIST.md, EVALS.md, ACCESSIBILITY.md | lint.json, meta.json | Run npx uikits-md check searchly --dir . and verify Dark + Light parity |
npx uikits-md@latest add searchly --platform all --out .npx shadcn@latest add https://uikits.tech/r/searchly.jsonget_ui_kit_skill and get_ui_kit_file for searchly.npm install @phosphor-icons/react (plus react and react-dom).src/app/layout.tsx:Import Space_Grotesk (weight: ["300", "500", "600", "700"], variable --font-space-grotesk), Inter (weight: ["400", "500", "600"], variable --font-inter), and JetBrains_Mono (weight: ["400", "500", "600"], variable --font-jetbrains-mono) via next/font/google. Attach all three variables to <html> and apply .sr-root to <body>.
tokens.css and tokens/tailwind.css:Import tokens.css (or uikit-searchly.tokens.css) and tokens/tailwind.css directly below your root stylesheet import. This enables Dark default (:root, [data-theme="dark"], .dark) and Light companion ([data-theme="light"], .light) bridges, .sr-stage, .sr-panel, .sr-panel-featured, .sr-search-pill, .sr-btn-primary, all 6 compositor keyframes, offscreen pauses, and reduced-motion rules.
Copy SearchPlatformShell.tsx, InstantSearchPlayground.tsx, RelevanceRankingPanel.tsx, CommandPalette.tsx, StatusBadge.tsx, ScrollReveal.tsx, and Sparkline.tsx into src/components/uikit-searchly/.
Every surface built under uikit-searchly MUST satisfy all 12 rules on the first pass:
#0a1026 (var(--background)), recess sidebar rails and JSON response decks to #070c1e (var(--app-bg)), and elevate interactive panels to #131c3d (var(--surface) / var(--card)). Switching to [data-theme="light"] / .light shifts cleanly to #f7f9fc canvas, #ffffff pure white surfaces, #0f172a slate-navy ink, and #1d4ed8 primary blue with zero contrast breaks.#hex in TSX): Never write #0a1026, #131c3d, #2563eb, #38bdf8, bg-black, bg-slate-900, or bg-zinc-950 inside reusable template JSX. Bind every surface, border, text fill, highlight mark, and wash strictly to semantic CSS variables (var(--background), var(--surface), var(--foreground), var(--primary), var(--accent), var(--highlight), var(--sr-*-wash)).--primary: #2563eb dark with #ffffff ink 5.17:1 AA; #1d4ed8 light with #ffffff ink 6.70:1 AA+) on ONE primary action per band or toolbar (Apply to Index, Reindex Snapshot, Start Free Cluster). Pair secondary actions with 1.5px outlined buttons (.sr-btn-outline) or high-contrast surface buttons (.sr-btn-contrast).Space Grotesk Headings + Inter Body + JetBrains Mono Telemetry: Style hero display headings in Space Grotesk 700 (clamp(40px, 5.2vw, 76px), -0.04em tracking, 1.05 line-height), section headings at -0.025em, body copy in Inter (16px / 1.5), and EVERY latency gauge (4.1 ms), relevance score (0.962), record count, facet counter, endpoint URL, and keycap in .sr-mono (JetBrains Mono + tabular-nums).0.5rem (8px) Geometry + Search-Pill Exception: Keep primary buttons, hit cards, ranking stages, and pricing cards crisp at 0.5rem (var(--radius)), inputs at 4px (var(--radius-xs)), facet chips/tabs at 6px (var(--radius-sm)), and showcase frames at 10px (var(--radius-lg)). Reserve full-pill geometry (9999px) strictly for .sr-search-pill inputs, latency meter bars, slider tracks, and status dots—never puffy rounded-2xl / rounded-3xl cards or pill CTAs.StatusBadge.tsx): Surface live query speed continuously via <StatusBadge /> and <LatencyGaugeCard /> pairing cyan #38bdf8 (dark) / #0369a1 (light) telemetry figures with .sr-latency-snap progress bars reflecting real latency budget utilization (< 10 ms).InstantSearchPlayground.tsx): Provide instant zero-debounce filtering inside .sr-search-pill, switchable Hybrid AI / Keyword / Vector tabs, interactive facet sidebar with .sr-facet-pop removable chips, matched token <mark className="sr-mark"> highlights, .sr-hit-cascade hit rows, .sr-score-fill relevance bars, JSON payload inspection with Copy feedback, and complete Loading/Empty/Error states.RelevanceRankingPanel.tsx): Include keyboard-accessible priority reordering (ArrowUp / ArrowDown buttons), weight sliders (0–100), query guardrail switches (Pin exact SKU, Hybrid neural reranking, Zero-hit fallback), and real-time composite score recalculation (0.000–1.000) with .sr-score-fill bars.⌘K Discovery Palette & Nested Escape (CommandPalette.tsx): Bind Cmd/Ctrl+K and header search-pill triggers to <CommandPalette /> with live instant lookup timing, ArrowUp/ArrowDown wrap navigation, Enter activation, and nested Escape (first press clears active query via stopPropagation(), second press closes modal and restores trigger focus).hit-row-cascade, latency-bar-snap, facet-chip-pop, stage-band-fade, and score-meter-fill (plus .sr-skeleton loading shimmer) via compositor-only @keyframes in tokens.css. Pause repeating animations offscreen via [data-offscreen="true"], guarantee No-JS visibility (@media (scripting: none)), and honor prefers-reduced-motion: reduce.@phosphor-icons/react Exclusive Iconography: Use @phosphor-icons/react exclusively across navigation, facets, gauges, and alerts (MagnifyingGlass, Sparkle, Lightning, SlidersHorizontal, Gauge, Database, Funnel, CheckCircle, WarningCircle, ArrowsClockwise, Code, Key). Never insert external stock placeholder URLs or bare empty media blocks.<a href="#main-content" className="sr-only focus:not-sr-only ...">Skip to content</a> and <main id="main-content"> on every route, ship styled Loading/Empty/Error/Toast states, default mobile sidebars closed with dialog focus restoration, and verify 0px horizontal overflow at 390×844 and 1440×900.<SearchPlatformShell /> anchored on #0a1026 midnight navy with active index selector (northstar_catalog_prod), 4-up <LatencyGaugeCard /> telemetry strip (Edge p95 4.1 ms, QPS 18,420, Zero-Hit Rate 0.42%, Conversion Lift +14.8%) paired with <Sparkline series={1..4} />, interactive <InstantSearchPlayground /> + <RelevanceRankingPanel />, and global <CommandPalette />.#0a1026 midnight-navy top navigation, hero stage (tight -0.04em Space Grotesk headline + interactive <InstantSearchPlayground />), cloud-white #f7f9fc use-case accordion band, #0a1026 pricing stage with electric-blue .sr-panel-featured halo card + usage slider calculator, and midnight-navy footer.<RelevanceRankingPanel /> alongside an A/B telemetry comparison card showing lexical vs. hybrid neural CTR curves in <Sparkline /> with sr-only data tables.#hex Literals in JSX/TSX: Never embed #0a1026, #131c3d, #2563eb, #38bdf8, bg-black, bg-slate-900, or bg-zinc-950 directly in reusable component files; use semantic CSS variables for Dark ↔ Light parity.rounded-2xl, rounded-3xl, shadow-2xl, or blur-3xl to cards or primary buttons. Buttons stay at 0.5rem (8px); rounded-full belongs strictly to .sr-search-pill, latency bars, range tracks, and status dots.from-indigo-500, from-purple-500, via-purple-500, from-fuchsia-500, or to-pink-500 — enforced by lint.json.0.962), QPS counter, facet total, and pricing tier figure MUST use .sr-mono (tabular-nums).Searchly, Northstar, Kestrel, Vesper, Arbor, Helios, Cinder, Loomis) 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.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.