uikits.md logouikits.md
Explore
HomeAll Packs17AI Recommender
Resources
DocsChangelogFAQSponsor
uikits.md logouikits.md
uikits.md/Pack · strata
0
Sign inSign up
Back to all packs
v2.1.0 · stabledevtools-database26 files · Inter + JetBrains Mono

Strata — Database Studio

Postgres-first cloud database studio with emerald accents, dot-grid banners, and bento architecture cards.

Surfaces:landingsaas-appdashboardauthformsdocssettingsdata-viz
npx uikits-md@latest add strata --platform all --out .
Installs full v2.1.0 pack into .agents, .claude, .cursor, .codex & components/
Explore 5 Live Surfaces ↓
Strata — Database Studio visual preview
v2.1.0 · 26 filesLIVE PACK
PALETTE · #171717 / #1680533 MOTION PRESETS
https://strata.uikits.md/preview
100% · Desktop
Interactive Live Preview · Strata Pack (v2.1.0)

Postgres-first cloud database studio with dot-grid announcement bar, emerald CTAs, and 3-column bento architecture.

Launch Week 16· Postgres Vector & Edge Workers
strata
Product Developers PricingDocs

Build in a weekend
Scale to millions

Start your project with a dedicated Postgres database. Add Authentication, instant Data APIs, Edge Functions, Realtime subscriptions, and Vector embeddings.

Postgres Database

Full relational database with pgvector, branching, and instant connection pooling.

users (id uuid PK, email text, plan text)
Authentication

User sign-ups, OAuth providers, and Row Level Security policies enforced at SQL depth.

alex@example.comRLS ON
Edge Functions

Globally distributed TypeScript functions with zero cold-start configuration.

$ strata functions deploy
Before & After · Architectural Audit

Default AI Prompt vs. uikit-strata

Drag the slider to compare a generic AI-generated UI against a token-driven, WCAG-compliant console built with uikit-strata.

Strata
Tables
SQL Editor
Auth
Edge Functions
Pro Workspace
Primary Online
Strata · Postgres Studio
pgvector + RLS · 3.2ms p95 query latency
Search⌘KRLS ON · AFTER
Connections
142 / 500Pooled
P95 Query
3.2 msIndexed
Token-bound surface
Edge Calls
1.94M+12%
WCAG 2.2 AA
Query Throughputprod-01
Active Policies
users_read_own3.1 msACTIVE
org_admin_write2.8 msACTIVE
edge_webhook_fn14 msDEPLOYED
uikit-strata · W3C DTCG + Tailwind v4 · WCAG 2.2 AAuikits-md check: 0 ERRORS
Analytics Dashboard
Default AI Prompt Output
Active · Before
Total Modules
14820+4.2%
No sparkline / tabular-nums
Speed
Fast
Vague copy, no units
Chart Placeholder
Image here · No NodeGraph
Missing App States
• No Loading Skeleton / Empty / Error
• No Esc / Focus Trap / Keyboard A11y
Generic Tailwind defaults · rounded-2xl · purple gradient slopuikits-md check: 6 ERRORS
Before
uikit-strata
01 · Geometry & Tokens

Replaces rounded-2xl shadow-xl with sharp 0–2px borders, dashed grids, and W3C DTCG tokens.

02 · Data-Viz & NodeGraph

Replaces gray chart placeholders with colorblind-safe Sparkline and interactive NodeGraph.

03 · Accessibility & States

Ships Esc + focus trap, sr-only tables, and Loading/Empty/Error parity.

04 · Brand-Safe & Linted

Zero third-party trademark leaks, zero placeholder.com URLs, verified by uikits-md check.

Design System Overview

Colors, Typography & Layout Style

Explore the color balance, contrast checks, fonts, and spacing rules built into uikit-strata.

Color Palette & Contrast Check (Click any swatch to copy)
Balance: 48% Background · 22% Surface · 14% Text · 10% Accent · 6% Highlight
Live Typography Specimen (Inter · JetBrains Mono · Manrope)
Display / HeroManrope
Shared context of codebase for agents and developers
tracking: -0.02em · leading: 1.25
UI & Prose BodyInter

Shared context of codebase for agents and developers. Crisp hierarchy with intentional whitespace and zero decorative noise.

14px–16px · leading: 1.6 · AA contrast
Tabular Metrics & IDsJetBrains Mono
NODES
49,270
SAVINGS
79×
font-mono tabular-nums · exact column alignment
Surface & Geometry Primitives
Dashed Grid
.dashed-box
1px dashed border
Focal Elevation
.corner-brackets
Active panel highlight
Sharp Geometry
rounded-[2px]
Zero rounded-xl bloat
Motion Profile & Recommended Fit
schema-card-risequery-streamemerald-pulse
Postgres-first cloud database studio with emerald accents, dot-grid banners, and bento architecture cards.

Install uikit-strata 

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

Inspect Full Skill Pack (26 files) 

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

Specs & Docs (16)
Tokens (3)
Drop-In TSX Templates (7)
SKILL.md· 77 lines
Master routing protocol & 12-point first-pass contract
name:uikit-strata
description:Implements cohesive landing pages, Postgres cloud database studios, SQL schema explorers, Row Level Security policy builders, command palettes, auth flows, and data-viz using the Strata — Database Studio design system (W3C DTCG tokens, Tailwind v4 @theme, Figma variables, Light & Dark modes, 7 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:"strata"
version:"2.1.0"
category:"devtools-database"
status:"stable"
author:"uikits-md"
backbone:"uikit-backbone"
iconLibrary:"@phosphor-icons/react"
preview:"/previews/strata-hero.webp"
uikit-strata — Master Execution Protocol (v2.1.0)

You are building UI with the Strata — Database Studio UI Skill Pack (tokens/ + templates/ + empirical subpage specs). Pair with registry/backbone/ (uikit-backbone) for full 27-component and 6-page-recipe coverage.

ANTI-VIBECODE MANDATE: Apply the Postgres-first dual-luminance system (#fcfcfc/#f4f5f4 light <-> #121212/#1c1c1c dark studio), #168053/#3ecf8e emerald CTA & highlight tokens, inset 0 0 0 1px panel hairlines (--st-inset-hairline), Manrope display headings (46px -> 34px) paired with Inter & JetBrains Mono SQL, interactive schema inspection (SqlSchemaExplorer.tsx), interactive RLS DDL generation (RlsPolicyMatrix.tsx), and strict tabular-nums alignment automatically on the very first pass.


1. Task-Based Read Routing

Always read DESIGN.md and tokens.css first, then load the exact companion specs and templates for the surface you are building:

User TaskRequired Spec FilesDrop-In Templates to Copy / Use
Marketing / Platform StageDESIGN.md, MOTION.md, ASSETS.md, tokens.csstemplates/ScrollReveal.tsx, templates/Sparkline.tsx, templates/StatusBadge.tsx
Database Studio & SQL ConsoleDESIGN.md, APP_PATTERNS.md, MOTION.md, tokens.csstemplates/DatabaseStudioShell.tsx, templates/SqlSchemaExplorer.tsx, templates/CommandPalette.tsx
Auth & Row Level Security (RLS)DESIGN.md, APP_PATTERNS.md (§3), ACCESSIBILITY.md, tokens.csstemplates/RlsPolicyMatrix.tsx, templates/StatusBadge.tsx
Telemetry & Query ThroughputDESIGN.md, DATA_VIZ.md, APP_PATTERNS.md, tokens.csstemplates/Sparkline.tsx, templates/StatusBadge.tsx
Command Palette / SearchDESIGN.md, APP_PATTERNS.md (§4), MOTION.md, tokens.csstemplates/CommandPalette.tsx
Any UI Task (Final Gate)CHECKLIST.md, EVALS.mdAll 7 templates & checks verified before finishing

2. Bootstrap Procedure (Step 0 Before Writing Components)
  • 1.Wire Fonts in src/app/layout.tsx:

Load Manrope (display weight 500/600), Inter, and JetBrains_Mono via next/font/google, attaching .st-db-root to <body>.

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

Import after @import "tailwindcss"; in src/app/globals.css so --background, --surface, --card, --primary (#168053 / #3ecf8e), --st-inset-hairline, .st-dot-banner, and compositor-only .st-db-reveal activate cleanly.

  • 3.Install Starter Primitives:

Copy templates/DatabaseStudioShell.tsx, templates/SqlSchemaExplorer.tsx, templates/RlsPolicyMatrix.tsx, templates/CommandPalette.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx, and templates/Sparkline.tsx into src/components/uikit-strata/.

  • 4.Dependencies & Default Icons:
  • Peer dependencies: react, react-dom, @phosphor-icons/react (npm install @phosphor-icons/react).
  • Always use @phosphor-icons/react (weight="regular" / weight="bold" / weight="fill").

3. The 12-Point Automatic First-Pass Contract
  • 1.Light Studio ↔ Dark SQL Studio Parity: Anchor marketing/docs on #fcfcfc/#f4f5f4 (#171717 ink) and dark SQL/query zones on #121212/#1c1c1c (#ededed ink), bound cleanly via semantic CSS variables.
  • 2.Emerald Voltage & Wash Restraint: Reserve #168053 (light CTA) / #3ecf8e (emerald highlight & dark CTA) strictly for primary triggers, dot-grid banners, and active RLS status pills.
  • 3.Inset Hairline Geometry: Frame schema bento cards and studio panels with 1px solid var(--border) plus --st-inset-hairline (inset 0 0 0 1px rgba(255,255,255,0.12) in dark mode) at 8px / 10.67px / 15px radii.
  • 4.Manrope + Inter + JetBrains Mono: Render H1 in Manrope (46px hero / 34px features/pricing, weight 500), UI prose in Inter, and all SQL/row counts/latencies in JetBrains Mono (tabular-nums).
  • 5.Interactive SQL Schema Explorer (SqlSchemaExplorer.tsx): Support switching tables, inspecting PK/type/nullable metadata, toggling RLS flags, and executing sample SELECT queries.
  • 6.Interactive RLS Policy Matrix (RlsPolicyMatrix.tsx): Support role (authenticated, anon, service_role) & SQL op (SELECT, INSERT, UPDATE, DELETE) selection with live Postgres CREATE POLICY DDL output & clipboard copy.
  • 7.Keyboard Command Palette (⌘K) & Drawer A11y: Wire Cmd+K / Ctrl+K to open <CommandPalette />; give mobile navigation role="dialog", aria-modal="true", and Esc close.
  • 8.Compositor-Only Expo Motion: Apply cubic-bezier(0.16, 1, 0.3, 1) expo ease and cubic-bezier(0.24, 0, 0.22, 0.99) control snap respecting prefers-reduced-motion.
  • 9.Complete App States: Implement Ready, Loading Skeleton, Empty table/query result with CTA, and Error Banner (#dc2626) with Retry.
  • 10.Strict Phosphor Icons: Never use ASCII glyphs (▾, ›, ●) as UI icons.
  • 11.Brand-Safe Copy: Use Strata, prod-postgres-01, public.projects, and elena@example.com exclusively.
  • 12.Pre-Flight Check: Run npx uikits-md check strata --dir . and tsc --noEmit before finishing.

4. Explicitly Forbidden Anti-Patterns
  • BANNED: Hardcoding light-only #fcfcfc or dark-only #121212 colors inside reusable <DatabaseStudioShell /> / <RlsPolicyMatrix /> components without semantic CSS variables.
  • BANNED: Neon glowing blobs behind SQL code boxes or rounded-3xl (blocked by lint.json).
  • BANNED: Sluggish filter: blur() scroll reveals or third-party cloud database trademarks.