uikits.md logouikits.md
Explore
HomeAll Packs18AI Recommender
Resources
DocsChangelogFAQSponsor
uikits.md logouikits.md
uikits.md/Pack · folio
0
Sign inSign up
Back to all packs
v2.1.0 · stableproductivity-docs26 files · Inter + JetBrains Mono

Folio — Block Workspace

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

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

Warm paper block workspace with clean wordmark, AI prompt pill, relational database card, and slash editor.

NewIntroducing Folio Notetaker & Shared Context
ProductHow toEnterpriseResources
Folio
Pricing

A shared brain for
your team and agents.

Folio turns your team's knowledge into the structured context your workflows need.

Q1 Product Launch Spec
3 editing
Teamspace
Launch Spec
Roadmap DB
Meeting Notes
It all starts with an idea...
Board 2/3 Done
CRDT Block Sync EngineElena R.Shipped
Phosphor Slash Command MenuMarcus T.In Review
Database Rollup FormulasSora K.Planned
Before & After · Architectural Audit

Default AI Prompt vs. uikit-folio

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

Folio
Home
Teamspaces
Databases
Templates
Pro Workspace
Blocks Saved
Folio · Shared Workspace
Wiki & Slash Blocks · 142 synced pages
Search⌘KSYNCED · AFTER
Team Pages
1,420+18%
Block Latency
9 msCRDT
Token-bound surface
Contributors
48Active
WCAG 2.2 AA
Doc Edits7d workspace
Recent Pages
Q1 Product Spec2m agoLIVE
API Architecture14m agoSHARED
Design Tokens v21h agoLOCKED
uikit-folio · 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-folio
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-folio.

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 · Inter)
Display / HeroInter
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
slash-menu-popblock-drag-settlesidebar-collapse
Collaborative wikis, team knowledge bases & docs
Block-based editors & AI writing assistants
Project roadmaps, databases & notes apps

Install uikit-folio 

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

Inspect Full Skill Pack (26 files) 

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

Specs & Docs (16)
Tokens (3)
Drop-In TSX Templates (7)
SKILL.md· 78 lines
Master routing protocol & 12-point first-pass contract
name:uikit-folio
description:Implements cohesive landing pages, interactive block workspaces, slash-command editors, relational database views, command palettes, auth flows, and data-viz using the Folio — Block Workspace 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:"folio"
version:"2.1.0"
category:"productivity-docs"
status:"stable"
author:"uikits-md"
backbone:"uikit-backbone"
iconLibrary:"@phosphor-icons/react"
preview:"/previews/folio-hero.webp"
uikit-folio — Master Execution Protocol (v2.1.0)

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.


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 / Landing PageDESIGN.md, MOTION.md, ASSETS.md, tokens.csstemplates/ScrollReveal.tsx, templates/Sparkline.tsx, templates/StatusBadge.tsx
Block Editor / Document CanvasDESIGN.md, APP_PATTERNS.md, MOTION.md, tokens.csstemplates/BlockWorkspaceShell.tsx, templates/BlockSlashEditor.tsx, templates/CommandPalette.tsx
Relational Database & BoardDESIGN.md, APP_PATTERNS.md (§3), DATA_VIZ.md, tokens.csstemplates/DatabaseRollupView.tsx, templates/StatusBadge.tsx, templates/Sparkline.tsx
Command Palette / SearchDESIGN.md, APP_PATTERNS.md (§2), MOTION.md, tokens.csstemplates/CommandPalette.tsx
Auth (/login, /signup)DESIGN.md, APP_PATTERNS.md (§4), ASSETS.md, tokens.csstemplates/StatusBadge.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 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>.

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

  • 3.Install Starter Primitives:

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

  • 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") for all UI icons.

3. The 12-Point Automatic First-Pass Contract
  • 1.Warm Stone & Paper Surfaces: Anchor document canvases on #ffffff, teamspace sidebars/drawers on #f6f5f4 (#f7f6f3 warm alt), and muted metadata on #6f6e69.
  • 2.Contextual Pastel Tints: Differentiate block callouts, tags, and highlighted product zones using --fl-tint-blue (#f2f9ff), --fl-tint-amber (#fff5ed), and --fl-tint-pink (#fbebf4) with automatic .dark equivalents.
  • 3.Typography Scale & OpenType Figures: Render Hero H1 at clamp(38px, 5vw, 80px) weight 500 ("lnum", "ss01") and H2 at 40px–54px; enforce tabular-nums on point totals, timestamps, counts, and table columns.
  • 4.Token-Driven Light & Dark Parity: Shared components (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.
  • 5.Whisper Elevation Discipline: Use 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).
  • 6.Interactive Slash Block Editing (BlockSlashEditor.tsx): Typing / or clicking + Insert block opens an animated keyboard/mouse popover supporting headings, checklists, tinted callouts, and code blocks.
  • 7.Relational Table & Kanban Parity (DatabaseRollupView.tsx): Provide instant Table ↔ Board switching, status cycling pills, inline item creation, and a live COUNT / SUM rollup footer.
  • 8.Keyboard Command Palette (⌘K) & Drawer A11y: Wire ⌘K / Ctrl+K to open <CommandPalette />; give mobile navigation role="dialog", aria-modal="true", and Esc close.
  • 9.Compositor-Only Motion (Zero Blur Lag): Apply 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.
  • 10.Complete App States: Implement Ready, Loading Skeleton (animate-pulse), Empty State with primary CTA, and Error Banner with Retry action on every view.
  • 11.Brand-Safe Media & Icons: Use @phosphor-icons/react exclusively and RFC 2606 domains (example.com); never use raw ASCII glyphs or third-party trademarks.
  • 12.Pre-Flight Check: Run npx uikits-md check folio --dir . and tsc --noEmit before finishing.

4. Explicitly Forbidden Anti-Patterns
  • BANNED: Hardcoding #ffffff, #f7f6f3, or border-[#efefef] inside reusable templates without CSS variable fallbacks for .dark mode.
  • BANNED: Sluggish filter: blur() transitions inside scroll reveals or dropdown entrances.
  • BANNED: rounded-3xl (blocked by lint.json), heavy Material drop shadows (0 20px 50px), or neon gradients behind document typography.
  • BANNED: Third-party trademarks in workspace names or copy—use Northstar Wiki, Meridian Docs, Folio, and example.com.