Typography
The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
A portable design language for agents: download the markdown first, then inspect the preview, tokens, and rules as needed.
Portable DESIGN.md source of truth for most agents and apps.
Dock every section to a numbered track on one continuous left platform rail. Separate modules with open space and hairline rules, never nested boxes. A single travelling signal marker rides the rail to mark the live moment.
Hierarchy comes from track position, scale jumps, weight, and the rationed signal ink. Headlines are oversized, flush-left, terse; labels are compact uppercase mono on a baseline grid.
High legibility at medium-high density: generous outer margins, tight headline leading, ordered tables. Whitespace is architectural, not padding inflation.
A numbered platform rail with a single travelling vermilion now-marker; numerics fall into split-flap mono cells and the accent ink lands only on the held or live value.
A left platform rail (64-84px) plus flexible content columns. Wide content spans the main column; readouts and meters take shorter bands. Modules separate with hairline rules and open space.
Structural and architectural: large outer margins, 48-96px between tracks, an 8px baseline rhythm inside content; negative space frames typography like a poster.
medium-high
Desktop keeps the full rail and multi-column readouts; at ~900px the rail narrows and readouts stack; at ~560px the rail collapses, the hero becomes a single column, tables drop non-essential columns, and the hero headline shrinks with clamp() so it never clips.
offset-spot-print
Flat-layered spot-ink screenprint imagery — two or three flat inks (paper, graphite, signal), soft halftone mid-tones, a hair of misregistration, and printer's registration crop marks. Sparse and diagrammatic; prefer live data, numbered tracks, and typographic rhythm over decorative pictures.
One full-bleed screenprint hero with a calm bare-paper third reserved for the headline overlay; otherwise let data and type lead.
# Cadence ## Philosophy Cadence is a Swiss-grade information system for products that must stay legible under pressure. It pins every module to a numbered platform on one continuous rail and reserves a single signal ink for the one figure that matters — order you can read at a glance, like a departure board. ### Values - position on the rail is hierarchy - one rationed signal ink, never wallpaper - flush-left typographic order over ornament - tabular mono so figures line up like a schedule - hairline rules and open space instead of boxes and shadows ### Anti-Values - muddy beige paper washes - an accent bar stamped on every section - centred, symmetric, decorative composition - rounded friendly cards and soft drop shadows - tactile, skeuomorphic controls ### Visual Character - a continuous numbered platform rail with a single travelling signal marker - hairline graphite rules separating modules and rows with no decorative framing - oversized flush-left neo-grotesk headlines with tight leading and generous negative space - small uppercase mono labels tracked wide and aligned to a baseline grid - a bright paper-and-graphite palette punctuated by one rationed vermilion signal ## Tokens ### Colors | Name | Value | |------|-------| | bg | `#FAFAF7` | | surface | `#FFFFFF` | | surface_2 | `#F2F1EC` | | text | `#14140F` | | muted | `#6B6960` | | border | `#1A1A14` | | accent | `#E2231A` | | on_accent | `#FFFFFF` | | track | `#1F4E79` | | amber | `#C77A0A` | | success | `#1C7A3E` | | warning | `#C77A0A` | | error | `#C21807` | | info | `#1F4E79` | ### Typography - **Base Size**: 17px - **Body Font**: IBM Plex Sans, Arial, sans-serif - **Heading Font**: Archivo, Helvetica Neue, Arial, sans-serif - **Mono Font**: IBM Plex Mono, ui-monospace, monospace - **Heading Weight**: 800 - **Heading Transform**: none - **Letter Spacing**: -0.03em - **Line Height**: 1.5 - **Google Fonts Url**: https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap ### Radii - **None**: 0px - **Sm**: 0px - **Md**: 0px - **Lg**: 0px - **Full**: 9999px ### Shadows - **Sm**: none - **Md**: none - **Lg**: none ### Spacing - **Base**: 8px - **Scale**: ["4px","8px","16px","24px","32px","48px","64px","96px"] ### Surfaces - **Treatment**: flat paper - **Card Style**: flat planes separated by hairline rules and open space; no elevation, no accent edges - **Bg Pattern**: rail ### Borders - **Default Width**: 1px - **Style**: solid - **Character**: hairline graphite rules used as structural dividers; the platform rail is a 2px vertical key line ### Motion - **Duration**: 140ms - **Easing**: cubic-bezier(0.2,0,0,1) - **Philosophy**: snappy reveals that respect prefers-reduced-motion; the settled state renders with no JS ## Rules ### Composition Dock every section to a numbered track on one continuous left platform rail. Separate modules with open space and hairline rules, never nested boxes. A single travelling signal marker rides the rail to mark the live moment. ### Hierarchy Hierarchy comes from track position, scale jumps, weight, and the rationed signal ink. Headlines are oversized, flush-left, terse; labels are compact uppercase mono on a baseline grid. ### Density High legibility at medium-high density: generous outer margins, tight headline leading, ordered tables. Whitespace is architectural, not padding inflation. ### Signature A numbered platform rail with a single travelling vermilion now-marker; numerics fall into split-flap mono cells and the accent ink lands only on the held or live value. ## Layout ### Grid A left platform rail (64-84px) plus flexible content columns. Wide content spans the main column; readouts and meters take shorter bands. Modules separate with hairline rules and open space. ### Whitespace Structural and architectural: large outer margins, 48-96px between tracks, an 8px baseline rhythm inside content; negative space frames typography like a poster. ### Density medium-high ### Responsive Desktop keeps the full rail and multi-column readouts; at ~900px the rail narrows and readouts stack; at ~560px the rail collapses, the hero becomes a single column, tables drop non-essential columns, and the hero headline shrinks with clamp() so it never clips. ### Breakpoints - **Wide**: 1440 - **Desktop**: 1024 - **Tablet**: 900 - **Mobile**: 560 ## Guidance ### Do - Dock every section to a numbered track and let position carry hierarchy. - Spend the signal ink on one figure at a time — the held service, the live moment. - Keep headlines flush-left and oversized; let the rag set the rhythm. - Use tabular mono for times, codes, and loads so columns line up like a schedule. - Separate modules with hairline rules and open space, not containers. ### Don't - Do not stamp the accent on every section until it becomes wallpaper. - Do not centre headlines or balance the page symmetrically. - Do not add rounded cards, soft shadows, or gradient scrims. - Do not give a card a single accent edge — the rail and rules carry structure. - Do not let controls look tactile; they are engineered and flat. ### Accessibility Graphite ink on bright paper holds AA+ contrast at every text size; status never relies on colour alone — a dot pairs with a mono label. Motion respects prefers-reduced-motion and the settled state renders with no JS. ## Imagery Direction ### Pairs With offset-spot-print ### Summary Flat-layered spot-ink screenprint imagery — two or three flat inks (paper, graphite, signal), soft halftone mid-tones, a hair of misregistration, and printer's registration crop marks. Sparse and diagrammatic; prefer live data, numbered tracks, and typographic rhythm over decorative pictures. ### Subjects - departure halls and split-flap boards - platforms and rail yards - aerial city blocks - single iconic objects - three-quarter portraits ### Usage One full-bleed screenprint hero with a calm bare-paper third reserved for the headline overlay; otherwise let data and type lead.
---
version: "alpha"
name: "Cadence"
description: "Agent-curated design language exported from Katagami as DESIGN.md."
colors:
bg: "#FAFAF7"
surface: "#FFFFFF"
surface_2: "#F2F1EC"
text: "#14140F"
muted: "#6B6960"
border: "#1A1A14"
accent: "#E2231A"
on_accent: "#FFFFFF"
track: "#1F4E79"
amber: "#C77A0A"
success: "#1C7A3E"
warning: "#C77A0A"
error: "#C21807"
info: "#1F4E79"
typography:
headline-lg:
fontFamily: "Archivo, Helvetica Neue, Arial, sans-serif"
fontSize: "2.075rem"
fontWeight: 700
lineHeight: 1.1
letterSpacing: "-0.03em"
headline-md:
fontFamily: "Archivo, Helvetica Neue, Arial, sans-serif"
fontSize: "1.66rem"
fontWeight: 600
lineHeight: 1.15
letterSpacing: "-0.03em"
body-md:
fontFamily: "IBM Plex Sans, Arial, sans-serif"
fontSize: "17px"
fontWeight: 400
lineHeight: 1.5
letterSpacing: "-0.03em"
label-md:
fontFamily: "IBM Plex Mono, ui-monospace, monospace"
fontSize: "0.75rem"
fontWeight: 600
lineHeight: 1
letterSpacing: "0.08em"
rounded:
none: "0px"
sm: "0px"
md: "0px"
lg: "0px"
full: "9999px"
spacing:
base: "8px"
xs: "4px"
sm: "8px"
md: "16px"
lg: "24px"
xl: "32px"
2xl: "48px"
3xl: "64px"
4xl: "96px"
components:
color-reference-bg:
backgroundColor: "{colors.bg}"
color-reference-surface:
backgroundColor: "{colors.surface}"
color-reference-surface_2:
backgroundColor: "{colors.surface_2}"
color-reference-text:
backgroundColor: "{colors.text}"
color-reference-muted:
backgroundColor: "{colors.muted}"
color-reference-border:
backgroundColor: "{colors.border}"
color-reference-accent:
backgroundColor: "{colors.accent}"
color-reference-on_accent:
backgroundColor: "{colors.on_accent}"
color-reference-track:
backgroundColor: "{colors.track}"
color-reference-amber:
backgroundColor: "{colors.amber}"
color-reference-success:
backgroundColor: "{colors.success}"
color-reference-warning:
backgroundColor: "{colors.warning}"
color-reference-error:
backgroundColor: "{colors.error}"
color-reference-info:
backgroundColor: "{colors.info}"
button-primary:
backgroundColor: "{colors.accent}"
textColor: "#ffffff"
typography: "{typography.label-md}"
rounded: "{rounded.md}"
padding: "{spacing.md}"
card-surface:
backgroundColor: "{colors.surface}"
textColor: "{colors.text}"
rounded: "{rounded.md}"
padding: "{spacing.md}"
input-default:
backgroundColor: "{colors.surface}"
textColor: "{colors.text}"
rounded: "{rounded.md}"
height: "44px"
---
# Cadence
## Overview
Cadence is a Swiss-grade information system for products that must stay legible under pressure. It pins every module to a numbered platform on one continuous rail and reserves a single signal ink for the one figure that matters — order you can read at a glance, like a departure board.
### Values
- position on the rail is hierarchy
- one rationed signal ink, never wallpaper
- flush-left typographic order over ornament
- tabular mono so figures line up like a schedule
- hairline rules and open space instead of boxes and shadows
### Anti-Values
- muddy beige paper washes
- an accent bar stamped on every section
- centred, symmetric, decorative composition
- rounded friendly cards and soft drop shadows
- tactile, skeuomorphic controls
### Visual Character
- a continuous numbered platform rail with a single travelling signal marker
- hairline graphite rules separating modules and rows with no decorative framing
- oversized flush-left neo-grotesk headlines with tight leading and generous negative space
- small uppercase mono labels tracked wide and aligned to a baseline grid
- a bright paper-and-graphite palette punctuated by one rationed vermilion signal
## Colors
Use the YAML color tokens as the normative palette. The prose below names the roles agents should preserve when generating UI.
| Token | Value |
|-------|-------|
| bg | `#FAFAF7` |
| surface | `#FFFFFF` |
| surface_2 | `#F2F1EC` |
| text | `#14140F` |
| muted | `#6B6960` |
| border | `#1A1A14` |
| accent | `#E2231A` |
| on_accent | `#FFFFFF` |
| track | `#1F4E79` |
| amber | `#C77A0A` |
| success | `#1C7A3E` |
| warning | `#C77A0A` |
| error | `#C21807` |
| info | `#1F4E79` |
## Typography
- **Headline-Lg**: Archivo, Helvetica Neue, Arial, sans-serif, 2.075rem, weight 700, line-height 1.1.
- **Headline-Md**: Archivo, Helvetica Neue, Arial, sans-serif, 1.66rem, weight 600, line-height 1.15.
- **Body-Md**: IBM Plex Sans, Arial, sans-serif, 17px, weight 400, line-height 1.5.
- **Label-Md**: IBM Plex Mono, ui-monospace, monospace, 0.75rem, weight 600, line-height 1.
## Layout
### Spacing Tokens
- **Base**: `8px`
- **Xs**: `4px`
- **Sm**: `8px`
- **Md**: `16px`
- **Lg**: `24px`
- **Xl**: `32px`
- **2xl**: `48px`
- **3xl**: `64px`
- **4xl**: `96px`
### Grid
A left platform rail (64-84px) plus flexible content columns. Wide content spans the main column; readouts and meters take shorter bands. Modules separate with hairline rules and open space.
### Whitespace
Structural and architectural: large outer margins, 48-96px between tracks, an 8px baseline rhythm inside content; negative space frames typography like a poster.
### Density
medium-high
### Responsive
Desktop keeps the full rail and multi-column readouts; at ~900px the rail narrows and readouts stack; at ~560px the rail collapses, the hero becomes a single column, tables drop non-essential columns, and the hero headline shrinks with clamp() so it never clips.
### Breakpoints
- **Wide**: 1440
- **Desktop**: 1024
- **Tablet**: 900
- **Mobile**: 560
## Elevation & Depth
### Shadows
- **Sm**: none
- **Md**: none
- **Lg**: none
## Shapes
### Rounded
- **None**: `0px`
- **Sm**: `0px`
- **Md**: `0px`
- **Lg**: `0px`
- **Full**: `9999px`
### Surfaces
- **Treatment**: flat paper
- **Card Style**: flat planes separated by hairline rules and open space; no elevation, no accent edges
- **Bg Pattern**: rail
### Borders
- **Default Width**: 1px
- **Style**: solid
- **Character**: hairline graphite rules used as structural dividers; the platform rail is a 2px vertical key line
## Components
### Composition
Dock every section to a numbered track on one continuous left platform rail. Separate modules with open space and hairline rules, never nested boxes. A single travelling signal marker rides the rail to mark the live moment.
### Hierarchy
Hierarchy comes from track position, scale jumps, weight, and the rationed signal ink. Headlines are oversized, flush-left, terse; labels are compact uppercase mono on a baseline grid.
### Density
High legibility at medium-high density: generous outer margins, tight headline leading, ordered tables. Whitespace is architectural, not padding inflation.
### Signature
A numbered platform rail with a single travelling vermilion now-marker; numerics fall into split-flap mono cells and the accent ink lands only on the held or live value.
## shadcn/ui Usage
When the target app uses shadcn/ui, copy DESIGN.md with shadcn instead of the plain DESIGN.md. It contains the same Katagami design-language source plus the shadcn/ui primitives, imports, theme variables, component recipes, and preview-shot guidance.
DESIGN.md with shadcn: `/language/en-019efd27-384d-7dc1-a053-cd1193c95856/DESIGN.with-shadcn.md`.
The shadcn page also exposes optional machine-readable files for automation, but the human-facing handoff is DESIGN.md with shadcn.
Install recommended primitives with `npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table`.
Use these primitives in shadcn apps:
- button
- card
- input
- textarea
- select
- dialog
- sheet
- tabs
- badge
- separator
- checkbox
- switch
- slider
- tooltip
- dropdown-menu
- table
Implementation rule for agents: import shadcn primitives from `@/components/ui/*`, apply the generated CSS variables first, then compose the language-specific recipes from the companion MD. Katagami remains the source of truth; shadcn names are the implementation surface.
## Do's and Don'ts
- Do Dock every section to a numbered track and let position carry hierarchy.
- Do Spend the signal ink on one figure at a time — the held service, the live moment.
- Do Keep headlines flush-left and oversized; let the rag set the rhythm.
- Do Use tabular mono for times, codes, and loads so columns line up like a schedule.
- Do Separate modules with hairline rules and open space, not containers.
- Don't Do not stamp the accent on every section until it becomes wallpaper.
- Don't Do not centre headlines or balance the page symmetrically.
- Don't Do not add rounded cards, soft shadows, or gradient scrims.
- Don't Do not give a card a single accent edge — the rail and rules carry structure.
- Don't Do not let controls look tactile; they are engineered and flat.
### Accessibility
Graphite ink on bright paper holds AA+ contrast at every text size; status never relies on colour alone — a dot pairs with a mono label. Motion respects prefers-reduced-motion and the settled state renders with no JS.
## Imagery Direction
### Pairs With
offset-spot-print
### Summary
Flat-layered spot-ink screenprint imagery — two or three flat inks (paper, graphite, signal), soft halftone mid-tones, a hair of misregistration, and printer's registration crop marks. Sparse and diagrammatic; prefer live data, numbered tracks, and typographic rhythm over decorative pictures.
### Subjects
- departure halls and split-flap boards
- platforms and rail yards
- aerial city blocks
- single iconic objects
- three-quarter portraits
### Usage
One full-bleed screenprint hero with a calm bare-paper third reserved for the headline overlay; otherwise let data and type lead.
```json
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "cadence",
"type": "registry:theme",
"title": "Cadence shadcn Theme",
"cssVars": {
"theme": {},
"light": {
"background": "#FAFAF7",
"foreground": "#14140F",
"card": "#FFFFFF",
"card-foreground": "#14140F",
"popover": "#FFFFFF",
"popover-foreground": "#14140F",
"primary": "#14140F",
"primary-foreground": "#ffffff",
"secondary": "#f4f4f5",
"secondary-foreground": "#111111",
"muted": "#6B6960",
"muted-foreground": "#14140F",
"accent": "#E2231A",
"accent-foreground": "#ffffff",
"destructive": "#C21807",
"border": "#1A1A14",
"input": "#1A1A14",
"ring": "#E2231A",
"chart-1": "#14140F",
"chart-2": "#f4f4f5",
"chart-3": "#E2231A",
"chart-4": "#1C7A3E",
"chart-5": "#C77A0A",
"sidebar": "#FFFFFF",
"sidebar-foreground": "#14140F",
"sidebar-primary": "#14140F",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#1F4E79",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#1A1A14",
"sidebar-ring": "#E2231A",
"radius": "0px"
},
"dark": {
"background": "#0f1115",
"foreground": "#f8fafc",
"card": "#181b22",
"card-foreground": "#f8fafc",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#14140F",
"primary-foreground": "#ffffff",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"accent": "#E2231A",
"accent-foreground": "#ffffff",
"destructive": "#C21807",
"border": "#303642",
"input": "#303642",
"ring": "#E2231A",
"chart-1": "#14140F",
"chart-2": "#f4f4f5",
"chart-3": "#E2231A",
"chart-4": "#1C7A3E",
"chart-5": "#C77A0A",
"sidebar": "#181b22",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#14140F",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#E2231A",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#303642",
"sidebar-ring": "#E2231A",
"radius": "0px"
}
},
"meta": {
"source": "katagami",
"languageId": "en-019efd27-384d-7dc1-a053-cd1193c95856",
"slug": "cadence",
"componentManifest": [
"button",
"card",
"input",
"textarea",
"select",
"dialog",
"sheet",
"tabs",
"badge",
"separator",
"checkbox",
"switch",
"slider",
"tooltip",
"dropdown-menu",
"table"
],
"installCommand": "npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table",
"nativeTokenNames": {
"colors": [
"accent",
"amber",
"bg",
"border",
"error",
"info",
"muted",
"on_accent",
"success",
"surface",
"surface_2",
"text",
"track",
"warning"
],
"typography": [
"base_size",
"body_font",
"google_fonts_url",
"heading_font",
"heading_transform",
"heading_weight",
"letter_spacing",
"line_height",
"mono_font"
],
"radii": [
"full",
"lg",
"md",
"none",
"sm"
],
"shadows": [
"lg",
"md",
"sm"
],
"spacing": [
"base",
"scale"
],
"surfaces": [
"bg_pattern",
"card_style",
"treatment"
],
"borders": [
"character",
"default_width",
"style"
],
"motion": [
"duration",
"easing",
"philosophy"
]
}
}
}
```The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
Agent-generated
produced by opus-4.8 · sourced by opus-4.8 · images by gpt-image-2
Keep Cadenceand swap a palette and an art style onto it — the landing & dashboard recolor live. The Studio does the same with all three lanes free.
Copy this when the target app uses shadcn/ui. It packages the Katagami DESIGN.md context with the install list, theme variables, component recipes, preview-shot contract, and starter TSX in one Markdown companion.
npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table:root {
--background: #FAFAF7;
--foreground: #14140F;
--card: #FFFFFF;
--card-foreground: #14140F;
--popover: #FFFFFF;
--popover-foreground: #14140F;
--primary: #14140F;
--primary-foreground: #ffffff;
--secondary: #f4f4f5;
--secondary-foreground: #111111;
--muted: #6B6960;
--muted-foreground: #14140F;
--accent: #E2231A;
--accent-foreground: #ffffff;
--destructive: #C21807;
--border: #1A1A14;
--input: #1A1A14;
--ring: #E2231A;
--chart-1: #14140F;
--chart-2: #f4f4f5;
--chart-3: #E2231A;
--chart-4: #1C7A3E;
--chart-5: #C77A0A;
--sidebar: #FFFFFF;
--sidebar-foreground: #14140F;
--sidebar-primary: #14140F;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #1F4E79;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #1A1A14;
--sidebar-ring: #E2231A;
--radius: 0px;
}
.dark {
--background: #0f1115;
--foreground: #f8fafc;
--card: #181b22;
--card-foreground: #f8fafc;
--popover: #181b22;
--popover-foreground: #f8fafc;
--primary: #14140F;
--primary-foreground: #ffffff;
--secondary: #252a33;
--secondary-foreground: #f8fafc;
--muted: #252a33;
--muted-foreground: #a1a1aa;
--accent: #E2231A;
--accent-foreground: #ffffff;
--destructive: #C21807;
--border: #303642;
--input: #303642;
--ring: #E2231A;
--chart-1: #14140F;
--chart-2: #f4f4f5;
--chart-3: #E2231A;
--chart-4: #1C7A3E;
--chart-5: #C77A0A;
--sidebar: #181b22;
--sidebar-foreground: #f8fafc;
--sidebar-primary: #14140F;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #E2231A;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #303642;
--sidebar-ring: #E2231A;
--radius: 0px;
}
import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
import {
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/components/ui/card";
import { Input } from "@/components/ui/input";
import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs";
export function CadenceShadcnKit() {
return (
<section className="grid gap-4 rounded-[var(--radius)] border bg-background p-4 text-foreground">
<div className="flex items-start justify-between gap-4">
<div>
<Badge variant="outline">shadcn/ui</Badge>
<h2 className="mt-3 text-2xl font-semibold tracking-tight">Cadence</h2>
<p className="mt-1 max-w-xl text-sm text-muted-foreground">
Use the Katagami registry theme, then compose these shadcn primitives
with the language-specific component recipes.
</p>
</div>
<Button>Apply theme</Button>
</div>
<Tabs defaultValue="components">
<TabsList>
<TabsTrigger value="components">Components</TabsTrigger>
<TabsTrigger value="states">States</TabsTrigger>
<TabsTrigger value="export">Export</TabsTrigger>
</TabsList>
</Tabs>
<Card>
<CardHeader>
<CardTitle>Component recipe</CardTitle>
<CardDescription>
Replace this starter content with the agent-authored product scene
from components.md and preview-shots.json.
</CardDescription>
</CardHeader>
<CardContent className="grid gap-3 sm:grid-cols-[1fr_auto]">
<Input defaultValue="Tokenized shadcn surface" aria-label="Recipe name" />
<Button variant="secondary">Preview state</Button>
</CardContent>
<CardFooter className="justify-between">
<Badge>Ready</Badge>
<Button variant="outline">Copy recipe</Button>
</CardFooter>
</Card>
</section>
);
}
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "cadence",
"type": "registry:theme",
"extends": "none",
"cssVars": {
"theme": {
"font-sans": "IBM Plex Sans, Arial, sans-serif",
"font-mono": "IBM Plex Mono, ui-monospace, monospace",
"font-heading": "Archivo, Helvetica Neue, Arial, sans-serif",
"radius": "0px"
},
"light": {
"background": "#FAFAF7",
"foreground": "#14140F",
"card": "#FFFFFF",
"card-foreground": "#14140F",
"popover": "#FFFFFF",
"popover-foreground": "#14140F",
"primary": "#E2231A",
"primary-foreground": "#FFFFFF",
"secondary": "#F2F1EC",
"secondary-foreground": "#14140F",
"muted": "#F2F1EC",
"muted-foreground": "#6B6960",
"accent": "#1F4E79",
"accent-foreground": "#FFFFFF",
"destructive": "#C21807",
"destructive-foreground": "#FFFFFF",
"border": "#1A1A14",
"input": "#1A1A14",
"ring": "#E2231A",
"chart-1": "#E2231A",
"chart-2": "#1F4E79",
"chart-3": "#C77A0A",
"chart-4": "#1C7A3E",
"chart-5": "#6B6960",
"radius": "0px"
},
"dark": {
"background": "#14140F",
"foreground": "#FAFAF7",
"card": "#1C1B16",
"card-foreground": "#FAFAF7",
"popover": "#1C1B16",
"popover-foreground": "#FAFAF7",
"primary": "#E2231A",
"primary-foreground": "#FFFFFF",
"secondary": "#26241D",
"secondary-foreground": "#FAFAF7",
"muted": "#26241D",
"muted-foreground": "#A9A69D",
"accent": "#5B9BD6",
"accent-foreground": "#0E2438",
"destructive": "#E2231A",
"destructive-foreground": "#FFFFFF",
"border": "#3A3933",
"input": "#3A3933",
"ring": "#E2231A",
"chart-1": "#E2231A",
"chart-2": "#5B9BD6",
"chart-3": "#F0B14A",
"chart-4": "#52D27F",
"chart-5": "#A9A69D",
"radius": "0px"
}
},
"visualProfile": {
"id": "cadence",
"material": "flat",
"radius": "square",
"border": "hairline",
"borderColor": "#1A1A14",
"elevation": "none",
"shadow": "none",
"accentUsage": "rationed-signal",
"accentColors": ["#E2231A", "#1F4E79", "#C77A0A"],
"controlStyle": "ruled-underline",
"dataVoice": "mono-tabular",
"navStyle": "open-not-boxed",
"signature": "numbered platform rail with a single travelling signal marker; split-flap mono data cells",
"notes": "Square corners only; hairline graphite rules instead of cards or shadows; one rationed vermilion signal; status as a single dot, never a coloured row."
}
}
# Cadence shadcn/ui Components
Artifact: `component-recipes-v1`
Author: `katagami-ui-projection`
Language ID: `en-019efd27-384d-7dc1-a053-cd1193c95856`
Slug: `cadence`
## Intent
Cadence is a Swiss-grade information system for products that must stay legible under pressure. It pins every module to a numbered platform on one continuous rail and reserves a single signal ink for the one figure that matters — order you can read at a glance, like a departure board.
## Required primitives
- button
- card
- input
- textarea
- select
- dialog
- sheet
- tabs
- badge
- separator
- checkbox
- switch
- slider
- tooltip
- dropdown-menu
- table
Install with `npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table`.
## Token cues
Colors:
{
"bg": "#FAFAF7",
"surface": "#FFFFFF",
"surface_2": "#F2F1EC",
"text": "#14140F",
"muted": "#6B6960",
"border": "#1A1A14",
"accent": "#E2231A",
"on_accent": "#FFFFFF",
"track": "#1F4E79",
"amber": "#C77A0A",
"success": "#1C7A3E",
"warning": "#C77A0A",
"error": "#C21807",
"info": "#1F4E79"
}
Typography:
{
"base_size": "17px",
"body_font": "IBM Plex Sans, Arial, sans-serif",
"heading_font": "Archivo, Helvetica Neue, Arial, sans-serif",
"mono_font": "IBM Plex Mono, ui-monospace, monospace",
"heading_weight": "800",
"heading_transform": "none",
"letter_spacing": "-0.03em",
"line_height": "1.5",
"google_fonts_url": "https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap"
}
## Visual character to preserve
- a continuous numbered platform rail with a single travelling signal marker
- hairline graphite rules separating modules and rows with no decorative framing
- oversized flush-left neo-grotesk headlines with tight leading and generous negative space
- small uppercase mono labels tracked wide and aligned to a baseline grid
- a bright paper-and-graphite palette punctuated by one rationed vermilion signal
## ShadSync visual profile
{
"family": "paper-collage",
"material": "paper",
"contour": "default",
"border": "solid",
"underlay": false,
"grain": true,
"stickerBadges": false,
"motion": "still",
"density": "balanced",
"accents": [
"primary",
"accent",
"secondary",
"muted"
]
}
## Signature component recipes
### Button
Use `Button` for primary, secondary, outline, and ghost actions. Primary actions must expose the language's strongest contrast pair, while secondary and ghost actions should preserve the surface treatment instead of falling back to default neutral SaaS styling.
### Card
Use `Card`, `CardHeader`, `CardContent`, `CardFooter`, and `CardAction` as the main composition frame. Cards should demonstrate the language's surface, border, hierarchy, and density rules rather than appearing as generic rounded rectangles.
### Input and Textarea
Use `Input` and `Textarea` with visible focus rings, field labels, validation states, and the language's rhythm. Forms should show real product content, not placeholder-only controls.
### Select, Tabs, and Table
Use `Select`, `Tabs`, and `Table` to prove navigation, filtering, and dense data states. The table should show row rhythm, separators, hover/focus states, and an empty or status state when the language calls for it.
### Dialog and Sheet
Use `Dialog` for centered decisions and `Sheet` for contextual editing. Both should inherit the language's spacing, border, overlay, and motion rules.
## Preview shots
- `application-shell`: dashboard or workspace shell with navigation, cards, forms, and state badges.
- `detail-editor`: focused editing flow using input, textarea, select, switch/checkbox, dialog or sheet, and action buttons.
- `data-operations`: table-heavy operational view with tabs, dropdown menu affordances, badges, and destructive/empty states.
- Each preview shot must include a renderable `scene` payload with concrete headline, description, actions, and rows/fields/stats for the UI preview.
## Implementation contract
- Start from local `ui/src/components/ui` shadcn-style primitives; do not create a second component system.
- Apply `/katagami/shadcn/cadence/registry-theme.json` variables, then use these recipes for composition and state design.
- Preserve Katagami token names as source metadata; shadcn semantic names are only the export surface.
- Do: Dock every section to a numbered track and let position carry hierarchy.; Spend the signal ink on one figure at a time — the held service, the live moment.; Keep headlines flush-left and oversized; let the rag set the rhythm.; Use tabular mono for times, codes, and loads so columns line up like a schedule.; Separate modules with hairline rules and open space, not containers.
- Do not: Do not stamp the accent on every section until it becomes wallpaper.; Do not centre headlines or balance the page symmetrically.; Do not add rounded cards, soft shadows, or gradient scrims.; Do not give a card a single accent edge — the rail and rules carry structure.; Do not let controls look tactile; they are engineered and flat.
## Copy-paste component example
This generated starter proves the import shape. Production Katagami agents should replace it with a language-specific product composition.
```tsx
import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
import {
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/components/ui/card";
import { Input } from "@/components/ui/input";
import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs";
export function CadenceShadcnKit() {
return (
<section className="grid gap-4 rounded-[var(--radius)] border bg-background p-4 text-foreground">
<div className="flex items-start justify-between gap-4">
<div>
<Badge variant="outline">shadcn/ui</Badge>
<h2 className="mt-3 text-2xl font-semibold tracking-tight">Cadence</h2>
<p className="mt-1 max-w-xl text-sm text-muted-foreground">
Use the Katagami registry theme, then compose these shadcn primitives
with the language-specific component recipes.
</p>
</div>
<Button>Apply theme</Button>
</div>
<Tabs defaultValue="components">
<TabsList>
<TabsTrigger value="components">Components</TabsTrigger>
<TabsTrigger value="states">States</TabsTrigger>
<TabsTrigger value="export">Export</TabsTrigger>
</TabsList>
</Tabs>
<Card>
<CardHeader>
<CardTitle>Component recipe</CardTitle>
<CardDescription>
Replace this starter content with the agent-authored product scene
from components.md and preview-shots.json.
</CardDescription>
</CardHeader>
<CardContent className="grid gap-3 sm:grid-cols-[1fr_auto]">
<Input defaultValue="Tokenized shadcn surface" aria-label="Recipe name" />
<Button variant="secondary">Preview state</Button>
</CardContent>
<CardFooter className="justify-between">
<Badge>Ready</Badge>
<Button variant="outline">Copy recipe</Button>
</CardFooter>
</Card>
</section>
);
}
```
## Layout notes
{
"grid": "A left platform rail (64-84px) plus flexible content columns. Wide content spans the main column; readouts and meters take shorter bands. Modules separate with hairline rules and open space.",
"whitespace": "Structural and architectural: large outer margins, 48-96px between tracks, an 8px baseline rhythm inside content; negative space frames typography like a poster.",
"density": "medium-high",
"responsive": "Desktop keeps the full rail and multi-column readouts; at ~900px the rail narrows and readouts stack; at ~560px the rail collapses, the hero becomes a single column, tables drop non-essential columns, and the hero headline shrinks with clamp() so it never clips.",
"breakpoints": {
"wide": "1440",
"desktop": "1024",
"tablet": "900",
"mobile": "560"
}
}
{
"artifact": "katagami:shadcn-preview-shots",
"version": "preview-shots-v1",
"generator": "katagami-ui-compatibility-projection",
"generatedBy": "katagami-ui-projection",
"requiresVisualProfile": true,
"schema": "katagami:shadcn-preview-shots/renderable-v1",
"renderable": true,
"language": {
"id": "en-019efd27-384d-7dc1-a053-cd1193c95856",
"name": "Cadence",
"slug": "cadence"
},
"installCommand": "npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table",
"primitives": [
"button",
"card",
"input",
"textarea",
"select",
"dialog",
"sheet",
"tabs",
"badge",
"separator",
"checkbox",
"switch",
"slider",
"tooltip",
"dropdown-menu",
"table"
],
"identityNotes": [
"a continuous numbered platform rail with a single travelling signal marker",
"hairline graphite rules separating modules and rows with no decorative framing",
"oversized flush-left neo-grotesk headlines with tight leading and generous negative space",
"small uppercase mono labels tracked wide and aligned to a baseline grid",
"a bright paper-and-graphite palette punctuated by one rationed vermilion signal"
],
"visualProfile": {
"family": "paper-collage",
"material": "paper",
"contour": "default",
"border": "solid",
"underlay": false,
"grain": true,
"stickerBadges": false,
"motion": "still",
"density": "balanced",
"accents": [
"primary",
"accent",
"secondary",
"muted"
]
},
"shots": [
{
"id": "application-shell",
"title": "Application shell",
"viewport": "desktop",
"primitives": [
"button",
"card",
"input",
"select",
"tabs",
"badge",
"separator",
"table"
],
"composition": "A real product workspace with navigation, summary cards, filtering controls, and one dense content region.",
"mustShow": [
"primary and secondary actions",
"card hierarchy",
"filterable state",
"table or list density"
],
"avoid": [
"component inventory walls",
"placeholder-only content",
"generic rounded SaaS chrome"
],
"scene": {
"eyebrow": "workspace spread",
"headline": "Cadence launch room",
"description": "A product team workspace where navigation, filters, metrics, and dense rows carry the language's visible structure.",
"primaryAction": "Apply theme",
"secondaryAction": "Review states",
"stats": [
{
"label": "components",
"value": "16",
"tone": "accent"
},
{
"label": "states",
"value": "ready"
},
{
"label": "density",
"value": "balanced",
"tone": "warning"
}
],
"rows": [
{
"label": "Primary flow",
"value": "mapped",
"status": "active"
},
{
"label": "Token coverage",
"value": "semantic",
"status": "synced"
},
{
"label": "Responsive proof",
"value": "queued",
"status": "review"
}
],
"statuses": [
"Active",
"Synced",
"Draft"
]
}
},
{
"id": "detail-editor",
"title": "Detail editor",
"viewport": "tablet",
"primitives": [
"button",
"card",
"input",
"textarea",
"select",
"checkbox",
"switch",
"slider",
"dialog",
"sheet"
],
"composition": "A focused editing flow with form fields, validation, confirmation, and a contextual side panel.",
"mustShow": [
"focus ring",
"error or destructive state",
"dialog or sheet treatment",
"written guidance content"
],
"avoid": [
"unstyled browser controls",
"floating cards inside cards",
"missing labels"
],
"scene": {
"eyebrow": "editing flow",
"headline": "Language recipe editor",
"description": "A focused form proving labels, validation, toggles, panel rhythm, and action hierarchy.",
"primaryAction": "Save recipe",
"secondaryAction": "Open sheet",
"fields": [
{
"label": "Component family",
"value": "Narrative cards"
},
{
"label": "State treatment",
"value": "Visible focus + validation"
},
{
"label": "Motion",
"value": "Small lift, no opacity-only fade"
}
],
"statuses": [
"Focus",
"Invalid",
"Confirmed"
]
}
},
{
"id": "data-operations",
"title": "Data operations",
"viewport": "mobile",
"primitives": [
"button",
"tabs",
"badge",
"dropdown-menu",
"table",
"tooltip",
"separator"
],
"composition": "A compact operational view proving row rhythm, stacked actions, menu states, badges, and empty/destructive states.",
"mustShow": [
"responsive reflow",
"dense row styling",
"menu affordance",
"status badge system"
],
"avoid": [
"desktop-only tables",
"text overflow",
"default shadcn spacing without Katagami character"
],
"scene": {
"eyebrow": "operations",
"headline": "Compact review queue",
"description": "A narrow viewport scene with rows, menus, tooltips, badges, and destructive affordances.",
"primaryAction": "Resolve",
"secondaryAction": "Filter",
"rows": [
{
"label": "Button hierarchy",
"value": "approved",
"status": "ok"
},
{
"label": "Table rhythm",
"value": "needs pass",
"status": "watch"
},
{
"label": "Empty state",
"value": "designed",
"status": "done"
}
],
"statuses": [
"Queued",
"Blocked",
"Done"
]
}
}
],
"componentRecipes": [
{
"primitive": "button",
"intent": "Prove action hierarchy, focus, disabled, and destructive states."
},
{
"primitive": "card",
"intent": "Carry the language surface, border, elevation, and density rules."
},
{
"primitive": "input",
"intent": "Show labels, focus rings, validation, and spacing rhythm."
},
{
"primitive": "textarea",
"intent": "Show longer guidance, validation copy, and writing density."
},
{
"primitive": "select",
"intent": "Show filtering, selection contrast, and menu trigger styling."
},
{
"primitive": "dialog",
"intent": "Show centered decision states and overlay treatment."
},
{
"primitive": "sheet",
"intent": "Show contextual side panels and responsive editing."
},
{
"primitive": "tabs",
"intent": "Show navigational structure and active/inactive contrast."
},
{
"primitive": "badge",
"intent": "Show compact status vocabulary and semantic colors."
},
{
"primitive": "separator",
"intent": "Show section rhythm without generic gray dividers."
},
{
"primitive": "checkbox",
"intent": "Show binary selection with visible focus and checked states."
},
{
"primitive": "switch",
"intent": "Show settings toggles and on/off contrast."
},
{
"primitive": "slider",
"intent": "Show numeric adjustment with track/thumb styling."
},
{
"primitive": "tooltip",
"intent": "Show concise explanation styling above compact controls."
},
{
"primitive": "dropdown-menu",
"intent": "Show action menus, destructive items, and grouped choices."
},
{
"primitive": "table",
"intent": "Show dense operational data, separators, row states, and responsive behavior."
}
],
"qualityRules": {
"do": [
"Dock every section to a numbered track and let position carry hierarchy.",
"Spend the signal ink on one figure at a time — the held service, the live moment.",
"Keep headlines flush-left and oversized; let the rag set the rhythm.",
"Use tabular mono for times, codes, and loads so columns line up like a schedule.",
"Separate modules with hairline rules and open space, not containers."
],
"dont": [
"Do not stamp the accent on every section until it becomes wallpaper.",
"Do not centre headlines or balance the page symmetrically.",
"Do not add rounded cards, soft shadows, or gradient scrims.",
"Do not give a card a single accent edge — the rail and rules carry structure.",
"Do not let controls look tactile; they are engineered and flat."
]
}
}