Sky-blue omnichannel AI chatbot and support inbox with illustrated customer avatars, workflow pills, and 3-pane live chat.
npx uikits-md@latest add relay --platform all --out .Explore the color balance, dual WCAG 2.2 AA & APCA Lc contrast checks, typography scale, and geometry tokens built into uikit-relay.
Resolve customer questions instantly with grounded AI copilots. 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 relay --platform all --out .
Browse the design specs, theme variables, and React templates included in uikit-relay.
You are building production web interfaces with the Relay — AI Chatbot & Support UI Skill Pack (tokens/ + templates/ + lint.json + governance/eval specs). Pair with registry/backbone/ (uikit-backbone) whenever an application needs extended form primitives or multi-route page skeletons beyond the 7 Relay starter templates.
ANTI-VIBECODE MANDATE: Never treat this pack as loose mood-board inspiration. Apply the crisp #ffffff / #fcfcfd omnichannel support cards, #242f47 slate typography ink, #030d26 midnight ticket status headers, #0d66e9 electric support blue pills with inset 0 0 0 1px rgba(255,255,255,0.20) bevels and rgba(25,114,245,0.06) AI draft washes, airy sky dot-grid hero stages (.rl-sky-backdrop), verified local customer avatars, interactive AI copilot threads (AiSupportCopilotThread.tsx), grounding knowledge base controls (KnowledgeBaseSources.tsx), directional message choreography, and full Light/Dark CSS variable parity automatically on the very first pass. The user must NEVER have to follow up with *"add animations"*, *"fix dark mode"*, *"make it responsive"*, *"wire up keyboard controls"*, or *"replace those placeholder boxes"*.
Always load DESIGN.md, tokens.css, and lint.json first, then read the exact companion specifications and drop-in templates for the surface you are building:
| User Task / Surface | Required Specification Files | Drop-In Templates (templates/*.tsx) |
|---|---|---|
| AI Support Landing & Hero | DESIGN.md, MOTION.md, ASSETS.md, CONTENT.md, ACCESSIBILITY.md, tokens.css | templates/ScrollReveal.tsx, templates/StatusBadge.tsx, templates/Sparkline.tsx, templates/AiSupportCopilotThread.tsx |
| Omnichannel 3-Pane Inbox & Copilot Thread | DESIGN.md, APP_PATTERNS.md (§1, §6, §9), MOTION.md, ACCESSIBILITY.md, tokens.css | templates/ChatbotInboxShell.tsx, templates/AiSupportCopilotThread.tsx, templates/CommandPalette.tsx, templates/StatusBadge.tsx |
| Knowledge Base Grounding Manager | DESIGN.md, APP_PATTERNS.md (§4, §9), DATA_VIZ.md, MOTION.md, tokens.css | templates/KnowledgeBaseSources.tsx, templates/StatusBadge.tsx, templates/Sparkline.tsx, templates/ScrollReveal.tsx |
| Command Palette / Quick Ticket Jump | DESIGN.md, APP_PATTERNS.md (§2), MOTION.md, ACCESSIBILITY.md, tokens.css | templates/CommandPalette.tsx, templates/ChatbotInboxShell.tsx |
| Agent Auth, SLA Routing & Settings | DESIGN.md, APP_PATTERNS.md (§5, §7, §8, §10–§11), CONTENT.md, ACCESSIBILITY.md, tokens.css | templates/ChatbotInboxShell.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx |
| Deflection & SLA Analytics Dashboard | DESIGN.md, DATA_VIZ.md, APP_PATTERNS.md (§3, §4), ACCESSIBILITY.md, tokens.css | templates/Sparkline.tsx, templates/StatusBadge.tsx, templates/KnowledgeBaseSources.tsx |
| Help Center Docs & Changelog | DESIGN.md, CONTENT.md, ASSETS.md, MOTION.md, ACCESSIBILITY.md, tokens.css | templates/ScrollReveal.tsx, templates/CommandPalette.tsx, templates/StatusBadge.tsx |
| Token Export / Design-System Handoff | DESIGN.md, tokens.css, tokens/tokens.json, tokens/tailwind.css, tokens/figma-variables.json, lint.json | All 7 templates verified against semantic CSS variables |
| Any UI Task (Mandatory Final Gate) | CHECKLIST.md, EVALS.md, NOTICE.md, lint.json | Run npx uikits-md check relay --dir . + tsc --noEmit |
Complete all four setup actions before authoring feature components:
src/app/layout.tsx:Load Inter (weight: ["400", "500", "600", "700"], variable --font-inter) and JetBrains_Mono (weight: ["400", "500", "600"], variable --font-jetbrains-mono) via next/font/google, attach both CSS variable classes to <html>, and apply .rl-root (bg-[var(--background)] text-[var(--foreground)] font-sans antialiased) to <body>.
tokens.css and tokens/tailwind.css:Place tokens.css (and tokens/tailwind.css for Tailwind v4 @theme utility classes) immediately after @import "tailwindcss"; in src/app/globals.css. Verify both Light (:root, [data-theme="light"], .light) and Dark ([data-theme="dark"], .dark) semantic token scopes are loaded intact.
Ensure templates/ChatbotInboxShell.tsx, templates/AiSupportCopilotThread.tsx, templates/KnowledgeBaseSources.tsx, templates/CommandPalette.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx, and templates/Sparkline.tsx are present in src/components/uikit-relay/ (npx uikits-md add relay --platform all --out . installs them automatically).
npm install @phosphor-icons/react (strictly required icon library per lint.json).Every time you create or update UI under uikit-relay, implement all 12 engineering contracts automatically:
Anchor support cards on var(--card) (#ffffff Light / #131b2e Dark), outer workspaces on var(--app-bg) (#f7f9fc / #080d1a), sidebars on var(--surface) (#fcfcfd / #131b2e), hairlines on var(--border) (#d9dbe6 / rgba(241,245,249,0.14)), and escalation/ticket strips on var(--rl-surface-navy) (#030d26). Bind 100% of React JSX styles to CSS variables with zero hardcoded #hex utilities so Light and Dark modes toggle seamlessly.
#0d66e9), Beveled Pills & AI Tint Washes:Pair .rl-btn-primary (--rl-accent-gradient, --rl-inset-white, --rl-shadow-halo) pill CTAs with soft var(--rl-blue-tint) (rgba(25,114,245,0.06) Light / rgba(59,130,246,0.15) Dark) AI copilot draft bubbles and var(--rl-blue-border) framing. Enforce Relay's rounded geometry (0.5rem controls, 0.75rem cards, 1.125rem hero frames, 9999px workflow pills) and ban rounded-3xl per lint.json.
tabular-nums SLA Telemetry:Render marketing H1 up to 48px (-0.025em tracking), section H2s at 38px (-0.02em), thread copy at 13px–15px (1.5 leading), and every ticket ID (#RLY-2041), SLA countdown (1m 42s), deflection KPI, and confidence percentage (96%) in font-mono tabular-nums.
Wrap below-the-fold marketing sections, capability grids, and telemetry cards in <ScrollReveal delayMs={...}> with 45ms–75ms stagger. For horizontal scroll rails (overflow-x-auto), ALWAYS wrap the outer track container rather than individual off-screen right cards so nothing ever remains stuck at opacity: 0.
Implement Relay's 5 signature motion primitives (message-stream-in, workflow-pill-pop, typing-dot-pulse, copilot-drawer-slide, source-card-lift) using strictly GPU-composited transform and opacity keyframes (MOTION.md). Pause looping typing indicators and skeletons offscreen with [data-offscreen="true"] and honor @media (prefers-reduced-motion: reduce) and @media (scripting: none).
AiSupportCopilotThread.tsx):Distinguish Customer (left, var(--card)), AI Draft (right, var(--rl-blue-tint)), and Agent (right, var(--primary)) messages with explicit sender headers (CUSTOMER / AI / AGENT), wire 1-click macro workflow pills, live reply submission, and a midnight Resolved toggle (aria-pressed).
KnowledgeBaseSources.tsx):Provide live Min Confidence range threshold (50%–95%), semantic crawl status badges (var(--rl-success) vs var(--warning)), subtle .rl-source-card hover lift, and working per-source "Re-index" triggers.
⌘K), Drawer Focus Trap & Nested Escape:Wire Cmd+K / Ctrl+K to open <CommandPalette /> with ↑/↓/Enter/Esc keyboard traversal and role="listbox" semantics. Give the mobile drawer in <ChatbotInboxShell /> role="dialog", aria-modal="true", Tab focus trapping, scroll lock, Escape dismissal, and focus restoration to the menu button. When overlays nest, Escape dismisses only the topmost layer.
Every async inbox or analytics view MUST ship with styled Loading Skeletons (.rl-skeleton), Empty Queue States ("Inbox zero" + Reset filters), Error Banners (var(--rl-danger-bg) + var(--rl-danger-text) + Retry), and Toast Notifications (role="status").
Every hero product visual, editorial cover, spot illustration, or customer avatar MUST render a verified local <img> from /media/relay-*.webp or /generated/relay-*.webp with explicit dimensions and complete === true && naturalWidth > 0. Invoke image-generator with the 6 brand-locked prompts in ASSETS.md if a required asset is missing locally. Use @phosphor-icons/react exclusively for UI controls and multi-path <svg> marks for SSO buttons.
Bind sparklines, queue histograms, and deflection charts to --chart-1..--chart-5 (DATA_VIZ.md), label every chart with role="img" and aria-label, format all metrics with font-mono tabular-nums, and pair multi-series charts with <table className="sr-only"> summaries.
Render <a href="#main-content" className="sr-only focus:not-sr-only ...">Skip to content</a> as the first focusable element on EVERY page (including standalone landing pages), verify zero horizontal overflow at 390×844 and 1440×900, confirm saved Settings affect target screens, and pass CHECKLIST.md + npx uikits-md check relay --dir . + tsc --noEmit.
#ffffff, #030d26, #0d66e9, or light-only Tailwind palette literals (bg-white, bg-emerald-500, bg-zinc-950, bg-neutral-950) inside shared React templates instead of semantic CSS variables.shadow-xl) on crisp customer support cards; use --rl-shadow-card (0 3px 6px rgba(16,24,40,0.05)) for cards and --rl-shadow-overlay strictly for floating dialogs/palettes.rounded-3xl, generic indigo/purple/pink vibecode gradients (from-indigo-500, from-purple-500), or filter: blur() scroll reveals.placeholder.com, picsum.photos), bare "Image here" boxes, single-letter OAuth buttons, or unstyled alert() / confirm() dialogs.<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.