Warm paper block-based workspace and knowledge base inspired by collaborative document studios.

Warm paper block workspace with clean wordmark, AI prompt pill, relational database card, and slash editor.
Folio turns your team's knowledge into the structured context your workflows need.
uikit-folioDrag the slider to compare a generic AI-generated UI against a token-driven, WCAG-compliant console built with uikit-folio.
Replaces rounded-2xl shadow-xl with sharp 0–2px borders, dashed grids, and W3C DTCG tokens.
Replaces gray chart placeholders with colorblind-safe Sparkline and interactive NodeGraph.
Ships Esc + focus trap, sr-only tables, and Loading/Empty/Error parity.
Zero third-party trademark leaks, zero placeholder.com URLs, verified by uikits-md check.
Explore the color balance, contrast checks, fonts, and spacing rules built into uikit-folio.
Shared context of codebase for agents and developers. 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 folio --platform all --out .
Browse the design specs, theme variables, and React templates included in uikit-folio.
You are building UI with the Folio — Block Workspace 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 warm white/stone luminance hierarchy (#ffffff / #f6f5f4), contextual pastel washes (#f2f9ff, #fff5ed, #fbebf4), "lnum", "locl" 0, "ss01" OpenType styling, ultra-subtle multi-stop card shadows, slash-command block editing (BlockSlashEditor.tsx), relational database table/board views (DatabaseRollupView.tsx), keyboard shortcuts (⌘K, /, Esc), and token-driven Light & Dark modes automatically on the very first pass.
Always read DESIGN.md and tokens.css first, then load the exact companion specs and templates for the surface you are building:
| User Task | Required Spec Files | Drop-In Templates to Copy / Use |
|---|---|---|
| Marketing / Landing Page | DESIGN.md, MOTION.md, ASSETS.md, tokens.css | templates/ScrollReveal.tsx, templates/Sparkline.tsx, templates/StatusBadge.tsx |
| Block Editor / Document Canvas | DESIGN.md, APP_PATTERNS.md, MOTION.md, tokens.css | templates/BlockWorkspaceShell.tsx, templates/BlockSlashEditor.tsx, templates/CommandPalette.tsx |
| Relational Database & Board | DESIGN.md, APP_PATTERNS.md (§3), DATA_VIZ.md, tokens.css | templates/DatabaseRollupView.tsx, templates/StatusBadge.tsx, templates/Sparkline.tsx |
| Command Palette / Search | DESIGN.md, APP_PATTERNS.md (§2), MOTION.md, tokens.css | templates/CommandPalette.tsx |
Auth (/login, /signup) | DESIGN.md, APP_PATTERNS.md (§4), ASSETS.md, tokens.css | templates/StatusBadge.tsx |
| Any UI Task (Final Gate) | CHECKLIST.md, EVALS.md | All 7 templates & checks verified before finishing |
src/app/layout.tsx:Load Inter (weight: ["400", "500", "600", "700"], --font-inter) and JetBrains_Mono (--font-jetbrains-mono), attaching .fl-root (font-feature-settings: "lnum" 1, "locl" 0, "ss01" 1) to <body>.
tokens.css & tokens/tailwind.css:Import tokens.css after @import "tailwindcss"; in src/app/globals.css so Light/Dark semantic tokens (--background, --surface, --card, --accent), .fl-tint-*, .fl-feather-mask, .fl-arrow-cta, and compositor-only .fl-reveal activate automatically.
Copy templates/BlockWorkspaceShell.tsx, templates/BlockSlashEditor.tsx, templates/DatabaseRollupView.tsx, templates/CommandPalette.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx, and templates/Sparkline.tsx into src/components/uikit-folio/.
react, react-dom, @phosphor-icons/react (npm install @phosphor-icons/react).@phosphor-icons/react (weight="regular" / weight="bold") for all UI icons.#ffffff, teamspace sidebars/drawers on #f6f5f4 (#f7f6f3 warm alt), and muted metadata on #6f6e69.--fl-tint-blue (#f2f9ff), --fl-tint-amber (#fff5ed), and --fl-tint-pink (#fbebf4) with automatic .dark equivalents.clamp(38px, 5vw, 80px) weight 500 ("lnum", "ss01") and H2 at 40px–54px; enforce tabular-nums on point totals, timestamps, counts, and table columns.BlockWorkspaceShell, BlockSlashEditor, DatabaseRollupView, CommandPalette) MUST read var(--background), var(--surface), var(--card), var(--foreground), var(--border), and var(--accent)—never hardcode light-only or dark-only surfaces.1px solid var(--border) paired with --fl-shadow-card (0 0.7px 1.46px rgba(0,0,0,0.016), 0 3px 9px rgba(0,0,0,0.03)), reserving larger shadows solely for floating overlays (CommandPalette, slash popovers).BlockSlashEditor.tsx): Typing / or clicking + Insert block opens an animated keyboard/mouse popover supporting headings, checklists, tinted callouts, and code blocks.DatabaseRollupView.tsx): Provide instant Table ↔ Board switching, status cycling pills, inline item creation, and a live COUNT / SUM rollup footer.⌘K) & Drawer A11y: Wire ⌘K / Ctrl+K to open <CommandPalette />; give mobile navigation role="dialog", aria-modal="true", and Esc close.cubic-bezier(0.175, 0.885, 0.32, 1.275) spring pops for slash menus, cubic-bezier(0.2, 0.8, 0.2, 1) for hover arrows, and transform/opacity <ScrollReveal /> respecting prefers-reduced-motion.animate-pulse), Empty State with primary CTA, and Error Banner with Retry action on every view.@phosphor-icons/react exclusively and RFC 2606 domains (example.com); never use raw ASCII glyphs or third-party trademarks.npx uikits-md check folio --dir . and tsc --noEmit before finishing.#ffffff, #f7f6f3, or border-[#efefef] inside reusable templates without CSS variable fallbacks for .dark mode.filter: blur() transitions inside scroll reveals or dropdown entrances.rounded-3xl (blocked by lint.json), heavy Material drop shadows (0 20px 50px), or neon gradients behind document typography.Northstar Wiki, Meridian Docs, Folio, and example.com.