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

Relay — AI Chatbot & Support

Sky-blue omnichannel AI chatbot and support inbox with illustrated customer avatars, workflow pills, and 3-pane live chat.

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

Color palette & contrast
Balance: 48% Background · 22% Surface · 14% Text · 10% Accent · 6% Highlight
Live Typography Specimen (Inter · JetBrains Mono · Inter)
Display / HeroInter
Resolve customer questions instantly with grounded AI copilots
tracking: -0.025em · leading: 1.2
UI & Prose BodyInter

Resolve customer questions instantly with grounded AI copilots. Crisp hierarchy with intentional whitespace and zero decorative noise.

14px–16px · leading: 1.6 · WCAG 2.2 AA
Tabular Metrics & IDsJetBrains Mono
AI RESOLVED
84.6%
FIRST REPLY
1.8 s
font-mono tabular-nums · exact column alignment
Surface & Geometry Primitives
Canvas Ground
var(--background)
Clean 1px sky-slate rail
Surface Layer
3-Pane Inbox
var(--surface) · Dual-Mode
Tactile Radius
--radius: 0.5rem
Enforced by lint.json
Motion Profile & Recommended Fit
message-stream-inworkflow-pill-poptyping-dot-pulsecopilot-drawer-slidesource-card-lift
Omnichannel AI customer support consoles & shared inboxes
AI copilot live-chat widgets & automated ticket triage workspaces
Help center knowledge-base grounding & confidence management portals
SLA monitoring, deflection telemetry, and customer operations SaaS

Install uikit-relay

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

Inspect Full Skill Pack (27 files)

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

Files
Specs & Docs (17)
Tokens (3)
Drop-In TSX Templates (7)
SKILL.md· 111 lines
Master task routing protocol & 12-point first-pass contract
name:uikit-relay
description:Implements cohesive landing pages, omnichannel support consoles, AI copilot chat threads, grounding knowledge base managers, command palettes, auth flows, settings, and telemetry data-viz using the Relay — AI Chatbot & Support design system (W3C DTCG tokens, Tailwind v4 @theme, tokens/figma-variables.json, dual Light/Dark mode, 7 CSS-variable-first TSX templates with @phosphor-icons/react, and governance/eval specs).
license:MIT
compatibility:"React 18+/19+, Next.js 14+/16+, Tailwind CSS v4, TypeScript 5+"
metadata:
id:"relay"
version:"2.2.0"
category:"ai-chatbot"
status:"stable"
author:"uikits.tech"
backbone:"uikit-backbone"
iconLibrary:"@phosphor-icons/react"
preview:"/previews/relay-hero.webp"
uikit-relay — Master Execution Protocol (v2.2.0)

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


1. Task-Based Read Routing

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 / SurfaceRequired Specification FilesDrop-In Templates (templates/*.tsx)
AI Support Landing & HeroDESIGN.md, MOTION.md, ASSETS.md, CONTENT.md, ACCESSIBILITY.md, tokens.csstemplates/ScrollReveal.tsx, templates/StatusBadge.tsx, templates/Sparkline.tsx, templates/AiSupportCopilotThread.tsx
Omnichannel 3-Pane Inbox & Copilot ThreadDESIGN.md, APP_PATTERNS.md (§1, §6, §9), MOTION.md, ACCESSIBILITY.md, tokens.csstemplates/ChatbotInboxShell.tsx, templates/AiSupportCopilotThread.tsx, templates/CommandPalette.tsx, templates/StatusBadge.tsx
Knowledge Base Grounding ManagerDESIGN.md, APP_PATTERNS.md (§4, §9), DATA_VIZ.md, MOTION.md, tokens.csstemplates/KnowledgeBaseSources.tsx, templates/StatusBadge.tsx, templates/Sparkline.tsx, templates/ScrollReveal.tsx
Command Palette / Quick Ticket JumpDESIGN.md, APP_PATTERNS.md (§2), MOTION.md, ACCESSIBILITY.md, tokens.csstemplates/CommandPalette.tsx, templates/ChatbotInboxShell.tsx
Agent Auth, SLA Routing & SettingsDESIGN.md, APP_PATTERNS.md (§5, §7, §8, §10–§11), CONTENT.md, ACCESSIBILITY.md, tokens.csstemplates/ChatbotInboxShell.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx
Deflection & SLA Analytics DashboardDESIGN.md, DATA_VIZ.md, APP_PATTERNS.md (§3, §4), ACCESSIBILITY.md, tokens.csstemplates/Sparkline.tsx, templates/StatusBadge.tsx, templates/KnowledgeBaseSources.tsx
Help Center Docs & ChangelogDESIGN.md, CONTENT.md, ASSETS.md, MOTION.md, ACCESSIBILITY.md, tokens.csstemplates/ScrollReveal.tsx, templates/CommandPalette.tsx, templates/StatusBadge.tsx
Token Export / Design-System HandoffDESIGN.md, tokens.css, tokens/tokens.json, tokens/tailwind.css, tokens/figma-variables.json, lint.jsonAll 7 templates verified against semantic CSS variables
Any UI Task (Mandatory Final Gate)CHECKLIST.md, EVALS.md, NOTICE.md, lint.jsonRun npx uikits-md check relay --dir . + tsc --noEmit

2. Bootstrap Procedure (Step 0 Before Writing Components)

Complete all four setup actions before authoring feature components:

  • 1.Wire Fonts in 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>.

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

  • 3.Install All 7 Starter Primitives:

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).

  • 4.Peer Dependencies & Scope Boundaries:
  • Install peer packages: npm install @phosphor-icons/react (strictly required icon library per lint.json).
  • Compatible with React 18+/19+, Next.js 14+/16+ App Router, Tailwind CSS v4, and TypeScript 5+.
  • Do not use for native mobile (React Native) or legacy runtimes unable to evaluate CSS custom properties.

3. The 12-Point Automatic First-Pass Contract

Every time you create or update UI under uikit-relay, implement all 12 engineering contracts automatically:

  • 1.Crisp Paper Surfaces, Midnight Escalation Bars & 100% Semantic CSS Variables:

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.

  • 2.Electric Support Blue (#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.

  • 3.Readable Support Typography & 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.

  • 4.Automatic Below-the-Fold Scroll Reveals & Horizontal-Track Safety:

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.

  • 5.Directional Support Choreography & Offscreen Discipline:

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).

  • 6.Interactive AI Copilot Thread (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).

  • 7.Grounding Knowledge Base Manager (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.

  • 8.Keyboard Command Palette (⌘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.

  • 9.Full Application State Parity:

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

  • 10.Mandatory Local Media, Illustrated Avatars & Multi-Path SVG Marks:

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.

  • 11.Accessible Support Data-Viz Parity:

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.

  • 12.Universal Skip Link, Responsive Verification & CLI Gate:

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.


4. Explicitly Forbidden Anti-Patterns
  • BANNED: Hardcoding #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.
  • BANNED: Heavy dark drop shadows (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.
  • BANNED: rounded-3xl, generic indigo/purple/pink vibecode gradients (from-indigo-500, from-purple-500), or filter: blur() scroll reveals.
  • BANNED: Third-party trademarks or brand assets, external hotlink placeholders (placeholder.com, picsum.photos), bare "Image here" boxes, single-letter OAuth buttons, or unstyled alert() / confirm() dialogs.
  • BANNED: Relying on color alone to distinguish customer, AI draft, and agent messages, or shipping static pages missing directional message motion and focus-visible states.
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 (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.