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

Prismadb — TypeScript ORM

Soft white cards over subtle drafting grain with near-black pill actions, indigo-teal schema relations, and type-safe query studio panels.

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

Color palette & contrast
Balance: 48% Background · 22% Surface · 14% Text · 10% Accent · 6% Highlight
Live Typography Specimen (Inter · JetBrains Mono · Space Grotesk)
Display / HeroSpace Grotesk
Inspect typed relational models and zero-downtime SQL migration diffs
tracking: -0.025em · leading: 1.2
UI & Prose BodyInter

Inspect typed relational models and zero-downtime SQL migration diffs. Crisp hierarchy with intentional whitespace and zero decorative noise.

14px–16px · leading: 1.6 · WCAG 2.2 AA
Tabular Metrics & IDsJetBrains Mono
MODELS
24 typed
MIGRATIONS
0 drift
font-mono tabular-nums · exact column alignment
Surface & Geometry Primitives
Canvas Ground
var(--background)
Subtle teal relational hairline
Surface Layer
Drafting-Grain Schema
var(--surface) · Dual-Mode
Tactile Radius
--radius: 0.75rem
Enforced by lint.json
Motion Profile & Recommended Fit
relation-edge-tracecard-soft-settlepill-crisp-pressmigration-step-fadebadge-snap
TypeScript ORM studios, declarative schema editors & entity-relation visualizers
Database migration workflows, schema diff inspectors & zero-downtime deploy consoles
Connection pool accelerators, edge query caches & latency telemetry dashboards
Developer data-platform landing pages, interactive query playgrounds & SDK documentation

Install uikit-prismadb

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

Inspect Full Skill Pack (27 files)

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

Files
Specs & Docs (17)
Tokens (3)
Drop-In TSX Templates (7)
SKILL.md· 123 lines
Master task routing protocol & 12-point first-pass contract
name:uikit-prismadb
version:"2.2.0"
description:Implements TypeScript ORM studios, declarative schema relation visualizers, migration deploy consoles, connection pool accelerators, type-safe query panels, keyboard command palettes, auth flows, settings consoles, and telemetry views using the Prismadb — TypeScript ORM design system (W3C DTCG tokens, CSS v4 @theme bridge, design-tool variables JSON, Light & Dark modes, 7 CSS-variable-first TSX templates with @phosphor-icons/react, and WCAG 2.2 AA governance/eval specs).
license:MIT
compatibility:"React 18+/19+, Next.js 14+/16+, CSS v4 @theme, TypeScript 5+"
metadata:
id:"prismadb"
version:"2.2.0"
category:"devtools-orm"
status:"stable"
author:"uikits.tech"
backbone:"uikit-backbone"
iconLibrary:"@phosphor-icons/react"
wcag:"2.2 AA"
preview:"/previews/prismadb-hero.webp"
uikit-prismadb — Master Execution Protocol (v2.2.0)

You are building production TypeScript ORM workbenches, declarative schema migration studios, and edge connection accelerator platforms with the Prismadb — TypeScript ORM UI Skill Pack (tokens/ + templates/ + empirical subpage & governance blueprints). Pair with registry/backbone/ (uikit-backbone) whenever an application requires extended form controls or multi-route layout scaffolding beyond the 7 Prismadb starter templates.

FIRST-PASS STUDIO EXECUTION MANDATE: Never treat this pack as a generic developer template. Anchor Light mode on subtle drafting-grain canvas (#f9fafb) layered with soft white stacked-paper cards (#ffffff, 0.75rem / 12px radius, crisp 1px solid #e5e7eb edges), decisive near-black pill CTAs (#111827 fill, #ffffff ink at 17.74:1 AAA, subtle top inset highlight) paired with thin outlined secondary pills, accessible teal primary accents (#0f766e, #ffffff ink at 5.47:1 AA) and indigo schema-relation highlights (#4f46e5, #ffffff ink at 6.29:1 AA), Space Grotesk (500) display headings over Inter (400–600) UI copy and JetBrains Mono (tabular-nums) schema/SQL panels, all 5 calibrated motion behaviors (relation-edge-trace, card-soft-settle, pill-crisp-press, migration-step-fade, badge-snap), and complete deep-slate Dark Mode (#0c1017 canvas, #151b26 surface, #f3f6fa ink, #2dd4bf accent with #0c1017 AAA ink) automatically on the very first pass.


1. Task Routing Table

Always inspect DESIGN.md, tokens.css, and lint.json first, then load the exact companion specifications and drop-in starter templates for the surface you are authoring:

User Task / SurfaceRequired Specification FilesMachine Tokens & RulesDrop-In Templates (templates/*.tsx)
ORM Platform Landing & Hero BandDESIGN.md, MOTION.md, ASSETS.md, CONTENT.md, tokens.csstokens/tokens.json, tokens/tailwind.csstemplates/ScrollReveal.tsx, templates/SchemaRelationDiagram.tsx, templates/TypedQueryEditor.tsx, templates/StatusBadge.tsx
Schema Studio & App Workspace ShellDESIGN.md, APP_PATTERNS.md (§2–§3), MOTION.md, ACCESSIBILITY.md, tokens.csstokens/tokens.json, tokens/tailwind.css, lint.jsontemplates/OrmStudioShell.tsx, templates/CommandPalette.tsx, templates/StatusBadge.tsx
Interactive Entity-Relation GraphDESIGN.md, APP_PATTERNS.md (§2, §4), MOTION.md, ASSETS.md, tokens.csstokens/tokens.jsontemplates/SchemaRelationDiagram.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx
Type-Safe Query Editor & SQL InspectorDESIGN.md, APP_PATTERNS.md (§4, §10), MOTION.md, CONTENT.md, tokens.csstokens/tokens.jsontemplates/TypedQueryEditor.tsx, templates/StatusBadge.tsx, templates/Sparkline.tsx
Global ⌘K Schema & Query PaletteDESIGN.md, APP_PATTERNS.md (§2), MOTION.md, ACCESSIBILITY.md, tokens.csstokens/tokens.jsontemplates/CommandPalette.tsx, templates/OrmStudioShell.tsx
Migration Activity & Settings ConsoleDESIGN.md, APP_PATTERNS.md (§3, §5, §9), ACCESSIBILITY.md, tokens.csstokens/tokens.json, tokens/figma-variables.jsontemplates/OrmStudioShell.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx
SDK Docs, Pricing & Auth FlowsDESIGN.md, APP_PATTERNS.md (§6–§8, §11), CONTENT.md, ACCESSIBILITY.md, tokens.csstokens/tokens.json, tokens/tailwind.csstemplates/TypedQueryEditor.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx
Connection Pool & Latency TelemetryDESIGN.md, DATA_VIZ.md, APP_PATTERNS.md (§2–§3, §10), tokens.csstokens/tokens.jsontemplates/Sparkline.tsx, templates/StatusBadge.tsx
Any UI Task (Mandatory Final Gate)CHECKLIST.md, EVALS.md, ACCESSIBILITY.md, NOTICE.mdlint.json, meta.jsonRun npx uikits-md check prismadb --dir . + tsc --noEmit

2. Step-0 Bootstrap Procedure

Complete all four setup steps before building screens:

  • 1.Install Pack & Peer Dependencies:
  • CLI: npx uikits-md add prismadb --platform all --out .
  • Registry: npx shadcn@latest add https://uikits.tech/r/prismadb.json
  • MCP: invoke get_ui_kit_skill and get_ui_kit_file for prismadb.
  • Icons: npm install @phosphor-icons/react (peer dependencies: react, react-dom, @phosphor-icons/react).
  • 2.Load Fonts in src/app/layout.tsx:

Import Space_Grotesk (weight: ["500", "600"], 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 CSS variables to <html> and apply .pm-root to <body>.

  • 3.Import tokens.css & tokens/tailwind.css:

Place tokens.css and tokens/tailwind.css directly after your root stylesheet import in src/app/globals.css. This activates Light (:root, [data-theme="light"], .light) and Dark ([data-theme="dark"], .dark) token scopes, .pm-drafting-grain, .pm-card, .pm-btn-pill, .pm-code-well, 6 compositor keyframes, [data-offscreen="true"] pause guards, and accessibility media queries.

  • 4.Copy All 7 Starter Templates:

Install into src/components/uikit-prismadb/: OrmStudioShell.tsx, SchemaRelationDiagram.tsx, TypedQueryEditor.tsx, CommandPalette.tsx, StatusBadge.tsx, ScrollReveal.tsx, and Sparkline.tsx.


3. The 12 Mandatory First-Pass Rules

Every surface authored under uikit-prismadb MUST fulfill all 12 rules on the first pass:

  • 1.Drafting-Grain Canvas & Stacked White Paper Cards:

Ground light pages on var(--background) (#f9fafb) enhanced with .pm-drafting-grain (20px subtle dot grid), float crisp #ffffff (var(--surface)) cards framed by 1px solid var(--border) (#e5e7eb) and --pm-shadow-card, and transition cleanly in .dark / [data-theme="dark"] to #0c1017 canvas and #151b26 cards.

  • 2.Near-Black Pill CTAs + Teal/Indigo Schema Discipline:

Use near-black pill actions (.pm-btn-pill, #111827 fill with #ffffff ink at 17.74:1 AAA; porcelain #f3f6fa with #0c1017 ink in Dark mode) for primary page and studio commitments (Deploy Migration, Run Query, Start Building), thin outlined pills (.pm-btn-outline) for secondary controls, accessible teal (var(--primary) #0f766e light / #2dd4bf dark) for active ORM states and focus rings, and indigo (var(--highlight) #4f46e5 light / #818cf8 dark) for foreign-key relations and connection pooling signals.

  • 3.Dark-Mode Teal & Indigo Contrast Enforcement:

Never pair white text over dark-mode #2dd4bf teal or #818cf8 indigo fills. Always pair dark-mode --primary (#2dd4bf) and --highlight (#818cf8) with var(--primary-foreground) / var(--highlight-foreground) (#0c1017, delivering 10.24:1 AAA and 6.39:1 AA respectively).

  • 4.100% Semantic CSS Variables (Zero Hardcoded Hex in TSX):

Never embed #f9fafb, #ffffff, #111827, #0f766e, #4f46e5, #0c1017, bg-zinc-950, or bg-neutral-950 inside reusable template JSX. Bind every surface, ink tone, border, code well, and chart series strictly to semantic CSS variables (var(--background), var(--surface), var(--foreground), var(--primary), var(--highlight), var(--pm-code-bg), var(--border)).

  • 5.Rounded Paper Geometry (0.75rem Default + Full Pill Actions):

Apply 0.75rem (12px, var(--radius)) to studio cards, query panels, and command dialogs; 0.5rem (8px, var(--radius-sm)) to keycaps, schema file chips, and inputs; 1.125rem (18px, var(--radius-lg)) to elevated showcase tiles; 1.5rem (24px, var(--radius-band)) to framed drafting bands; and 9999px (rounded-full) to every CTA pill and status badge. Never use rounded-3xl or shadow-2xl.

  • 6.Space Grotesk 500 Display + Inter UI + Tabular JetBrains Mono:

Set heroes, section titles, card titles, and pricing digits in .pm-display (Space Grotesk weight 500, tight tracking -0.02em), UI copy and buttons in Inter (400–600), and every schema model field, migration timestamp (20261204_add_billing_ledger), query latency (3.4 ms), pool ratio (42/100), row count, and SQL statement in .pm-mono (JetBrains Mono with tabular-nums).

  • 7.DOM-First Interactive Schema Relation Graph (SchemaRelationDiagram.tsx):

Render an Active Relation Graph Bar directly above linked HTML/DOM model cards over .pm-drafting-grain—never redundant <svg><rect><text> node pills or colliding Bezier curves. Provide clickable typed foreign-key relation chips (Source [1:N] → Target · fkField) with cardinality badges and live join/referential-action readout (ON DELETE RESTRICT / CASCADE / SET NULL), model cardinality filters (All, 1:N, 1:1, Indexed), bidirectional click highlighting (clicking either a relation chip OR a model card spotlights both source/target or upstream/downstream DOM model cards AND highlights exact emerald PK & indigo FK → Model field rows), semantic status LEDs, inline >= 11px tabular-nums latency & row-count telemetry micro-bars, and one-click schema.pmdb model copy with aria-live="polite" confirmation.

  • 8.Type-Safe Query Editor (TypedQueryEditor.tsx):

Provide switchable ORM presets (findMany, aggregate, $transaction), editable dark slate code well (var(--pm-code-bg)) with line numbers and Cmd/Ctrl+Enter execution, simulated run feedback, tabbed Typed Output / Generated SQL / Explain Plan panes animated via .pm-step-fade, and clipboard SQL copy.

  • 9.Global ⌘K Schema Command Palette & Nested Escape (CommandPalette.tsx):

Bind Cmd+K / Ctrl+K and header search to <CommandPalette /> (role="dialog" aria-modal="true") with ArrowUp/ArrowDown/Enter traversal, trigger focus restoration, and nested Escape (clears non-empty search text first via stopPropagation(), closes dialog second).

  • 10.All 5 Registered Motion Behaviors, Offscreen Pause & No-JS Safety:

Implement relation-edge-trace, card-soft-settle, pill-crisp-press, migration-step-fade, and badge-snap in tokens.css using GPU-composited transforms, opacity, and SVG stroke offsets. Pause ambient loops under [data-offscreen="true"], keep .pm-reveal visible without JavaScript (html.js-ready + @media (scripting: none)), and honor @media (prefers-reduced-motion: reduce).

  • 11.Complete 4-State Parity & Universal Skip Link:

Include <a href="#main-content" className="sr-only focus:not-sr-only ...">Skip to studio workspace</a> and <main id="main-content"> on every route, plus styled Loading (.pm-skeleton), Empty (dashed card + clear reset CTA), Error (role="alert" crimson wash + Retry), and Toast (role="status") patterns.

  • 12.Verified @phosphor-icons/react Exclusive Iconography & Brand-Safe Data:

Import icons exclusively from @phosphor-icons/react (aria-hidden="true" on decorative icons, aria-label on icon-only buttons). Use only original neutral schema/org fixtures (Prismadb, Northstar, Kestrel, Vesper, Arbor, Helios, Cinder, example.com) and zero external stock placeholder URLs.


4. Blueprint Recipes
  • ORM Studio Workbench: Mount <OrmStudioShell /> with frosted top bar (Northstar Ledger / schema.pmdb), branch switcher (main / preview), 4-card KPI strip (Query p50, Pool Hit Rate, Active Connections, Applied Migrations) paired with <Sparkline series={1..4} />, stacked <SchemaRelationDiagram /> and <TypedQueryEditor />, and global <CommandPalette />.
  • Developer Platform Landing Hero: Wrap a Space Grotesk 500 centered headline (clamp(38px, 4.8vw, 62px)) inside a rounded-[var(--radius-band)] .pm-drafting-grain frame with three teal/indigo check rows, a pill CTA pair (.pm-btn-pill + .pm-btn-outline), and an embedded live <SchemaRelationDiagram /> showcase.
  • Migration Review & Rollout Console: Combine a migration queue list (Applied, Pending, Drift Detected) using <StatusBadge /> with a .pm-card-settle SQL diff drawer and advisory-lock checklist.

5. Explicitly Banned Anti-Patterns
  • BANNED — Hardcoded #hex Colors in Reusable TSX: Never write #f9fafb, #ffffff, #111827, #0f766e, #4f46e5, bg-zinc-950, or bg-neutral-950 inside shared component templates where Light ↔ Dark CSS variables belong.
  • BANNED — White Ink on Dark #2dd4bf Accent: White text on #2dd4bf fails WCAG AA (1.92:1). Always pair Dark --primary (#2dd4bf) with var(--primary-foreground) (#0c1017, 10.24:1 AAA).
  • BANNED — Vibecode Gradients & Oversized Blur Shadows: Never apply rounded-3xl, shadow-2xl, blur-3xl, or multi-stop neon gradients (bg-gradient-to-r from-indigo-500, from-purple-500, from-fuchsia-500 — blocked by lint.json).
  • BANNED — Proportional Jumping Telemetry & Schema Gutters: Never render latency readouts, row counts, connection pool ratios, migration timestamps, or code line numbers without .pm-mono (tabular-nums).
  • BANNED — SVG <rect><text> Node Boxes & Line-Through-Label ER Diagrams: Never render schema models, topology nodes, IDs, or metrics as <svg><rect><text> boxes or draw foreign-key Bezier curves across text labels. Render every node as a real HTML/DOM <button> or <div> card (>= 12.5px semibold titles, >= 11px mono IDs/metrics, semantic status LED, inline live telemetry, PK/FK row highlighting) paired with a dedicated hairline Active Relation Graph Bar where directional arrows sit in clean flex/grid slots with zero collisions.
  • BANNED — Third-Party Trademarks & External Placeholder Media: Never leak third-party ORM, database, cloud, or design-tool brand names, nor external stock placeholder URLs or empty gray image boxes. Stick strictly to original Prismadb fixtures (Northstar, Kestrel, Vesper, Arbor, Helios, Cinder, example.com).
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 & Entity-Relation Canvases (Zero Slide-Style Circle or SVG Box Diagrams): Never depict workflows, pipelines, or schema topologies with numbered 01 → 02 → 03 <circle> SVGs, <svg><rect><text> node pills, or wavy dashed connectors slicing through labels. For schema & topology canvases, pair a hairline Active Relation Graph Bar (clickable typed relation chips with cardinality pills and flex-gutter directional arrows) directly above real HTML/DOM model/node cards featuring semantic status LEDs, >= 11px tabular-nums telemetry micro-bars, and exact PK/FK row highlighting. For operational cards, render miniaturized real software UI in HTML/DOM 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.