back to gallery
design language·kuangcao-kinetic

Kuangcao Kinetic

A portable design language for agents: download the markdown first, then inspect the preview, tokens, and rules as needed.

Download DESIGN.md

Portable DESIGN.md source of truth for most agents and apps.

the spec

specification

philosophy
summary
Wild cursive calligraphy (kuangcao) energy translated into digital interfaces. The UI becomes a page of passionate calligraphy — dramatic, gestural, asymmetric. Every element carries the kinetic energy of brush meeting paper at speed. Dark and intense, like writing with concentrated ink on dark paper under lamplight. This is calligraphy as performance art, not careful penmanship.
values
Gestural energy over mechanical precisionDramatic asymmetry as compositional strengthInk-dark foundations that let content glowRaw texture and organic imperfection as authenticitySpeed and confidence in every interactionCompositional flow following cursive writing directionVermillion punctuation for moments of intensity
anti-values
×Sterile symmetry and rigid grid alignment×Light pastel color palettes that lack gravitas×Rounded friendly shapes that soften impact×Slow cautious animations that kill momentum
tokens
colors12 items
background
#0f0e0c
surface
rgba(30,28,24,0.85)
text
#e8e2d8
muted
#8a7e6e
primary
#f0f0ec
accent
#d4382a
secondary
#c4a86c
ink_deep
#2a2622
ink_mid
#3d3832
ink_light
#5c564e
border
rgba(232,226,216,0.1)
surface_hover
rgba(42,38,34,0.9)
typography9 items
font display
Ma Shan Zheng, serif
font body
Noto Sans SC, sans-serif
font mono
Source Code Pro, monospace
base size
16px
scale ratio
1.333
sizes
xs 0.75rem·sm 0.875rem·base 1rem·lg 1.333rem·xl 1.777rem·2xl 2.369rem·3xl 3.157rem·4xl 4.209rem·5xl 5.61rem
weights
normal 400·medium 500·bold 700
line heights
tight 1.2·base 1.6·relaxed 1.8
google fonts import
https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=Noto+Sans+SC:wght@400;500;700&family=Source+Code+Pro:wght@400;500&display=swap
spacing8 items
unit
0.5rem
xs
0.25rem
sm
0.5rem
md
1rem
lg
1.5rem
xl
2.5rem
2xl
4rem
3xl
6rem
radii5 items
none
0
sm
2px
md
4px
lg
6px
organic
polygon(0 2%, 98% 0, 100% 97%, 1% 100%)
shadows5 items
ink glow
0 0 20px rgba(15,14,12,0.6)
vermillion accent
4px 4px 0 rgba(212,56,42,0.3)
deep ink
inset 0 0 60px rgba(15,14,12,0.8)
card
0 4px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(232,226,216,0.05)
elevated
0 12px 48px rgba(0,0,0,0.6)
surfaces4 items
paper
rgba(30,28,24,0.85)
paper hover
rgba(42,38,34,0.9)
overlay
rgba(15,14,12,0.95)
ink splash
radial-gradient(circle at 20% 30%, rgba(92,86,78,0.15) 1px, transparent 1px)
borders4 items
subtle
1px solid rgba(232,226,216,0.1)
medium
2px solid rgba(232,226,216,0.15)
accent
2px solid #d4382a
gold
1px solid rgba(196,168,108,0.4)
motion4 items
fast
150ms ease-out
normal
200ms ease-out
brush flick
180ms cubic-bezier(0.2, 0, 0, 1)
ink spread
300ms cubic-bezier(0.4, 0, 0.2, 1)
rules
composition
Layouts follow the natural energy flow of cursive calligraphy — top-right to bottom-left diagonal. Primary content anchors asymmetrically, never centered. Oversized brush stroke SVG elements serve as compositional anchors behind content. Negative space is deliberate, like the breathing room between characters in a calligraphy scroll.
hierarchy
Size contrast is dramatic (1.333 ratio). Display headings in Ma Shan Zheng dominate the page like a calligrapher bold first stroke. Body text in Noto Sans SC provides legible counterpoint. Vermillion red marks critical actions and states. Gold marks secondary emphasis like a seal stamp.
density
Medium-high density with generous vertical rhythm. Content clusters organically rather than in strict grids. Cards and sections have slight rotational offsets (-0.5 to 0.5 degrees) to create the handwritten feel. Spacing follows the rhythm of brush strokes — tight within groups, generous between.
signature patterns
Organic clip-path edges on cards and containers instead of border-radius — polygon(0 2%, 98% 0, 100% 97%, 1% 100%) creates rough paper edgesOversized calligraphic SVG brush strokes as decorative background elements positioned absolutely behind contentInk splatter texture patterns using radial-gradient dots scattered across backgroundsVermillion red accent line (2-3px) on active/selected states, positioned asymmetrically (left edge or bottom)Dry brush texture borders using alternating opacity segments along edges
layout
not set
guidance
do
  • Use organic clip-path shapes instead of border-radius for containers
  • Let brush stroke SVG elements bleed outside their containers for drama
  • Apply subtle rotation (-0.5 to 0.5deg) to cards and content blocks
  • Use vermillion red (#d4382a) sparingly for high-impact moments only
  • Maintain extreme contrast between dark backgrounds and light text
  • Use Ma Shan Zheng at oversized scales for display headings
  • Let content flow asymmetrically following top-right to bottom-left energy
  • Add ink splatter texture patterns to large empty areas
  • Use fast gestural animations (150-200ms) with ease-out curves
  • Apply dry brush texture effects on borders and dividers
avoid
  • Never center-align layouts symmetrically
  • Never use border-radius for primary containers
  • Never use light backgrounds or pastel colors
  • Never use slow animations over 300ms
  • Never use perfectly straight horizontal dividers
  • Never use rounded friendly UI patterns
  • Never use more than two accent colors in one view
  • Never make brush stroke elements too small — they must be compositional
  • Never apply calligraphic font to body text paragraphs
  • Never use pure white (#fff) — always use the cream (#e8e2d8 or #f0f0ec)
katagami spec
# Kuangcao Kinetic

## Philosophy

Wild cursive calligraphy (kuangcao) energy translated into digital interfaces. The UI becomes a page of passionate calligraphy — dramatic, gestural, asymmetric. Every element carries the kinetic energy of brush meeting paper at speed. Dark and intense, like writing with concentrated ink on dark paper under lamplight. This is calligraphy as performance art, not careful penmanship.

### Values

- Gestural energy over mechanical precision
- Dramatic asymmetry as compositional strength
- Ink-dark foundations that let content glow
- Raw texture and organic imperfection as authenticity
- Speed and confidence in every interaction
- Compositional flow following cursive writing direction
- Vermillion punctuation for moments of intensity

### Anti-Values

- Sterile symmetry and rigid grid alignment
- Light pastel color palettes that lack gravitas
- Rounded friendly shapes that soften impact
- Slow cautious animations that kill momentum

### Visual Character

- background: #0f0e0c; color: #e8e2d8; font-family: Ma Shan Zheng, serif;
- border: 2px solid rgba(232,226,216,0.1); clip-path: polygon(0 2%, 98% 0, 100% 97%, 1% 100%);
- box-shadow: inset 0 0 60px rgba(15,14,12,0.8), 4px 4px 0 rgba(212,56,42,0.3);
- transform: rotate(-0.5deg); transition: all 180ms ease-out;
- background-image: radial-gradient(circle at 20% 30%, rgba(92,86,78,0.15) 1px, transparent 1px);

## Tokens

### Colors

| Name | Value |
|------|-------|
| background | `#0f0e0c` |
| surface | `rgba(30,28,24,0.85)` |
| text | `#e8e2d8` |
| muted | `#8a7e6e` |
| primary | `#f0f0ec` |
| accent | `#d4382a` |
| secondary | `#c4a86c` |
| ink_deep | `#2a2622` |
| ink_mid | `#3d3832` |
| ink_light | `#5c564e` |
| border | `rgba(232,226,216,0.1)` |
| surface_hover | `rgba(42,38,34,0.9)` |

### Typography

- **Font Display**: Ma Shan Zheng, serif
- **Font Body**: Noto Sans SC, sans-serif
- **Font Mono**: Source Code Pro, monospace
- **Base Size**: 16px
- **Scale Ratio**: 1.333
- **Sizes**: {"xs":"0.75rem","sm":"0.875rem","base":"1rem","lg":"1.333rem","xl":"1.777rem","2xl":"2.369rem","3xl":"3.157rem","4xl":"4.209rem","5xl":"5.61rem"}
- **Weights**: {"normal":"400","medium":"500","bold":"700"}
- **Line Heights**: {"tight":"1.2","base":"1.6","relaxed":"1.8"}
- **Google Fonts Import**: https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=Noto+Sans+SC:wght@400;500;700&family=Source+Code+Pro:wght@400;500&display=swap

### Spacing

- **Unit**: 0.5rem
- **Xs**: 0.25rem
- **Sm**: 0.5rem
- **Md**: 1rem
- **Lg**: 1.5rem
- **Xl**: 2.5rem
- **2xl**: 4rem
- **3xl**: 6rem

### Radii

- **None**: 0
- **Sm**: 2px
- **Md**: 4px
- **Lg**: 6px
- **Organic**: polygon(0 2%, 98% 0, 100% 97%, 1% 100%)

### Shadows

- **Ink Glow**: 0 0 20px rgba(15,14,12,0.6)
- **Vermillion Accent**: 4px 4px 0 rgba(212,56,42,0.3)
- **Deep Ink**: inset 0 0 60px rgba(15,14,12,0.8)
- **Card**: 0 4px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(232,226,216,0.05)
- **Elevated**: 0 12px 48px rgba(0,0,0,0.6)

### Surfaces

- **Paper**: rgba(30,28,24,0.85)
- **Paper Hover**: rgba(42,38,34,0.9)
- **Overlay**: rgba(15,14,12,0.95)
- **Ink Splash**: radial-gradient(circle at 20% 30%, rgba(92,86,78,0.15) 1px, transparent 1px)

### Borders

- **Subtle**: 1px solid rgba(232,226,216,0.1)
- **Medium**: 2px solid rgba(232,226,216,0.15)
- **Accent**: 2px solid #d4382a
- **Gold**: 1px solid rgba(196,168,108,0.4)

### Motion

- **Fast**: 150ms ease-out
- **Normal**: 200ms ease-out
- **Brush Flick**: 180ms cubic-bezier(0.2, 0, 0, 1)
- **Ink Spread**: 300ms cubic-bezier(0.4, 0, 0.2, 1)

## Rules

### Composition

Layouts follow the natural energy flow of cursive calligraphy — top-right to bottom-left diagonal. Primary content anchors asymmetrically, never centered. Oversized brush stroke SVG elements serve as compositional anchors behind content. Negative space is deliberate, like the breathing room between characters in a calligraphy scroll.

### Hierarchy

Size contrast is dramatic (1.333 ratio). Display headings in Ma Shan Zheng dominate the page like a calligrapher bold first stroke. Body text in Noto Sans SC provides legible counterpoint. Vermillion red marks critical actions and states. Gold marks secondary emphasis like a seal stamp.

### Density

Medium-high density with generous vertical rhythm. Content clusters organically rather than in strict grids. Cards and sections have slight rotational offsets (-0.5 to 0.5 degrees) to create the handwritten feel. Spacing follows the rhythm of brush strokes — tight within groups, generous between.

### Signature Patterns

- Organic clip-path edges on cards and containers instead of border-radius — polygon(0 2%, 98% 0, 100% 97%, 1% 100%) creates rough paper edges
- Oversized calligraphic SVG brush strokes as decorative background elements positioned absolutely behind content
- Ink splatter texture patterns using radial-gradient dots scattered across backgrounds
- Vermillion red accent line (2-3px) on active/selected states, positioned asymmetrically (left edge or bottom)
- Dry brush texture borders using alternating opacity segments along edges

## Guidance

### Do

- Use organic clip-path shapes instead of border-radius for containers
- Let brush stroke SVG elements bleed outside their containers for drama
- Apply subtle rotation (-0.5 to 0.5deg) to cards and content blocks
- Use vermillion red (#d4382a) sparingly for high-impact moments only
- Maintain extreme contrast between dark backgrounds and light text
- Use Ma Shan Zheng at oversized scales for display headings
- Let content flow asymmetrically following top-right to bottom-left energy
- Add ink splatter texture patterns to large empty areas
- Use fast gestural animations (150-200ms) with ease-out curves
- Apply dry brush texture effects on borders and dividers

### Don't

- Never center-align layouts symmetrically
- Never use border-radius for primary containers
- Never use light backgrounds or pastel colors
- Never use slow animations over 300ms
- Never use perfectly straight horizontal dividers
- Never use rounded friendly UI patterns
- Never use more than two accent colors in one view
- Never make brush stroke elements too small — they must be compositional
- Never apply calligraphic font to body text paragraphs
- Never use pure white (#fff) — always use the cream (#e8e2d8 or #f0f0ec)

### Usage Context

Best for portfolio sites, art galleries, creative studios, cultural institutions, editorial design, and applications celebrating East Asian aesthetic traditions. Particularly effective for content-focused sites where dramatic presentation enhances the subject matter.

### Accessibility

Maintains WCAG AA contrast ratios (cream #e8e2d8 on #0f0e0c = 13.5:1). Body text uses Noto Sans SC at 16px base for CJK readability. Interactive elements have clear focus states with vermillion outline. Motion respects prefers-reduced-motion. Clip-path decorative only — content remains in normal flow.
DESIGN.md
---
version: "alpha"
name: "Kuangcao Kinetic"
description: "Agent-curated design language exported from Katagami as DESIGN.md."
colors:
  background: "#0f0e0c"
  text: "#e8e2d8"
  muted: "#8a7e6e"
  primary: "#f0f0ec"
  accent: "#d4382a"
  secondary: "#c4a86c"
  ink_deep: "#2a2622"
  ink_mid: "#3d3832"
  ink_light: "#5c564e"
typography:
  headline-lg:
    fontFamily: "Inter"
    fontSize: "1.953rem"
    fontWeight: 700
    lineHeight: 1.1
    letterSpacing: "-0.02em"
  headline-md:
    fontFamily: "Inter"
    fontSize: "1.563rem"
    fontWeight: 600
    lineHeight: 1.15
    letterSpacing: "-0.02em"
  body-md:
    fontFamily: "Inter"
    fontSize: "16px"
    fontWeight: 400
    lineHeight: 1.5
    letterSpacing: "-0.02em"
  label-md:
    fontFamily: "Inter"
    fontSize: "0.75rem"
    fontWeight: 600
    lineHeight: 1
    letterSpacing: "0.08em"
rounded:
  none: "0px"
  sm: "2px"
  md: "4px"
  lg: "6px"
  organic: "0px"
spacing:
  unit: "0.5rem"
  xs: "0.25rem"
  sm: "0.5rem"
  md: "1rem"
  lg: "1.5rem"
  xl: "2.5rem"
  2xl: "4rem"
  3xl: "6rem"
components:
  color-reference-background:
    backgroundColor: "{colors.background}"
  color-reference-text:
    backgroundColor: "{colors.text}"
  color-reference-muted:
    backgroundColor: "{colors.muted}"
  color-reference-primary:
    backgroundColor: "{colors.primary}"
  color-reference-accent:
    backgroundColor: "{colors.accent}"
  color-reference-secondary:
    backgroundColor: "{colors.secondary}"
  color-reference-ink_deep:
    backgroundColor: "{colors.ink_deep}"
  color-reference-ink_mid:
    backgroundColor: "{colors.ink_mid}"
  color-reference-ink_light:
    backgroundColor: "{colors.ink_light}"
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "#000000"
    typography: "{typography.label-md}"
    rounded: "{rounded.md}"
    padding: "{spacing.md}"
  card-surface:
    backgroundColor: "{colors.background}"
    textColor: "{colors.text}"
    rounded: "{rounded.md}"
    padding: "{spacing.md}"
  input-default:
    backgroundColor: "{colors.background}"
    textColor: "{colors.text}"
    rounded: "{rounded.md}"
    height: "44px"
---

# Kuangcao Kinetic

## Overview

Wild cursive calligraphy (kuangcao) energy translated into digital interfaces. The UI becomes a page of passionate calligraphy — dramatic, gestural, asymmetric. Every element carries the kinetic energy of brush meeting paper at speed. Dark and intense, like writing with concentrated ink on dark paper under lamplight. This is calligraphy as performance art, not careful penmanship.

### Values

- Gestural energy over mechanical precision
- Dramatic asymmetry as compositional strength
- Ink-dark foundations that let content glow
- Raw texture and organic imperfection as authenticity
- Speed and confidence in every interaction
- Compositional flow following cursive writing direction
- Vermillion punctuation for moments of intensity

### Anti-Values

- Sterile symmetry and rigid grid alignment
- Light pastel color palettes that lack gravitas
- Rounded friendly shapes that soften impact
- Slow cautious animations that kill momentum

### Visual Character

- background: #0f0e0c; color: #e8e2d8; font-family: Ma Shan Zheng, serif;
- border: 2px solid rgba(232,226,216,0.1); clip-path: polygon(0 2%, 98% 0, 100% 97%, 1% 100%);
- box-shadow: inset 0 0 60px rgba(15,14,12,0.8), 4px 4px 0 rgba(212,56,42,0.3);
- transform: rotate(-0.5deg); transition: all 180ms ease-out;
- background-image: radial-gradient(circle at 20% 30%, rgba(92,86,78,0.15) 1px, transparent 1px);

## Colors

Use the YAML color tokens as the normative palette. The prose below names the roles agents should preserve when generating UI.

| Token | Value |
|-------|-------|
| background | `#0f0e0c` |
| text | `#e8e2d8` |
| muted | `#8a7e6e` |
| primary | `#f0f0ec` |
| accent | `#d4382a` |
| secondary | `#c4a86c` |
| ink_deep | `#2a2622` |
| ink_mid | `#3d3832` |
| ink_light | `#5c564e` |

## Typography

- **Headline-Lg**: Inter, 1.953rem, weight 700, line-height 1.1.
- **Headline-Md**: Inter, 1.563rem, weight 600, line-height 1.15.
- **Body-Md**: Inter, 16px, weight 400, line-height 1.5.
- **Label-Md**: Inter, 0.75rem, weight 600, line-height 1.

## Layout

### Spacing Tokens

- **Unit**: `0.5rem`
- **Xs**: `0.25rem`
- **Sm**: `0.5rem`
- **Md**: `1rem`
- **Lg**: `1.5rem`
- **Xl**: `2.5rem`
- **2xl**: `4rem`
- **3xl**: `6rem`

## Elevation & Depth

### Shadows

- **Ink Glow**: 0 0 20px rgba(15,14,12,0.6)
- **Vermillion Accent**: 4px 4px 0 rgba(212,56,42,0.3)
- **Deep Ink**: inset 0 0 60px rgba(15,14,12,0.8)
- **Card**: 0 4px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(232,226,216,0.05)
- **Elevated**: 0 12px 48px rgba(0,0,0,0.6)

## Shapes

### Rounded

- **None**: `0px`
- **Sm**: `2px`
- **Md**: `4px`
- **Lg**: `6px`
- **Organic**: `0px`

### Surfaces

- **Paper**: rgba(30,28,24,0.85)
- **Paper Hover**: rgba(42,38,34,0.9)
- **Overlay**: rgba(15,14,12,0.95)
- **Ink Splash**: radial-gradient(circle at 20% 30%, rgba(92,86,78,0.15) 1px, transparent 1px)

### Borders

- **Subtle**: 1px solid rgba(232,226,216,0.1)
- **Medium**: 2px solid rgba(232,226,216,0.15)
- **Accent**: 2px solid #d4382a
- **Gold**: 1px solid rgba(196,168,108,0.4)

## Components

### Composition

Layouts follow the natural energy flow of cursive calligraphy — top-right to bottom-left diagonal. Primary content anchors asymmetrically, never centered. Oversized brush stroke SVG elements serve as compositional anchors behind content. Negative space is deliberate, like the breathing room between characters in a calligraphy scroll.

### Hierarchy

Size contrast is dramatic (1.333 ratio). Display headings in Ma Shan Zheng dominate the page like a calligrapher bold first stroke. Body text in Noto Sans SC provides legible counterpoint. Vermillion red marks critical actions and states. Gold marks secondary emphasis like a seal stamp.

### Density

Medium-high density with generous vertical rhythm. Content clusters organically rather than in strict grids. Cards and sections have slight rotational offsets (-0.5 to 0.5 degrees) to create the handwritten feel. Spacing follows the rhythm of brush strokes — tight within groups, generous between.

### Signature Patterns

- Organic clip-path edges on cards and containers instead of border-radius — polygon(0 2%, 98% 0, 100% 97%, 1% 100%) creates rough paper edges
- Oversized calligraphic SVG brush strokes as decorative background elements positioned absolutely behind content
- Ink splatter texture patterns using radial-gradient dots scattered across backgrounds
- Vermillion red accent line (2-3px) on active/selected states, positioned asymmetrically (left edge or bottom)
- Dry brush texture borders using alternating opacity segments along edges

## 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-019dacc4-36e3-7832-9761-56b35c4e8d2d/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 Use organic clip-path shapes instead of border-radius for containers
- Do Let brush stroke SVG elements bleed outside their containers for drama
- Do Apply subtle rotation (-0.5 to 0.5deg) to cards and content blocks
- Do Use vermillion red (#d4382a) sparingly for high-impact moments only
- Do Maintain extreme contrast between dark backgrounds and light text
- Do Use Ma Shan Zheng at oversized scales for display headings
- Do Let content flow asymmetrically following top-right to bottom-left energy
- Do Add ink splatter texture patterns to large empty areas
- Do Use fast gestural animations (150-200ms) with ease-out curves
- Do Apply dry brush texture effects on borders and dividers
- Don't Never center-align layouts symmetrically
- Don't Never use border-radius for primary containers
- Don't Never use light backgrounds or pastel colors
- Don't Never use slow animations over 300ms
- Don't Never use perfectly straight horizontal dividers
- Don't Never use rounded friendly UI patterns
- Don't Never use more than two accent colors in one view
- Don't Never make brush stroke elements too small — they must be compositional
- Don't Never apply calligraphic font to body text paragraphs
- Don't Never use pure white (#fff) — always use the cream (#e8e2d8 or #f0f0ec)

### Usage Context

Best for portfolio sites, art galleries, creative studios, cultural institutions, editorial design, and applications celebrating East Asian aesthetic traditions. Particularly effective for content-focused sites where dramatic presentation enhances the subject matter.

### Accessibility

Maintains WCAG AA contrast ratios (cream #e8e2d8 on #0f0e0c = 13.5:1). Body text uses Noto Sans SC at 16px base for CJK readability. Interactive elements have clear focus states with vermillion outline. Motion respects prefers-reduced-motion. Clip-path decorative only — content remains in normal flow.
shadcn/ui theme
```json
{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "kuangcao-kinetic",
  "type": "registry:theme",
  "title": "Kuangcao Kinetic shadcn Theme",
  "cssVars": {
    "theme": {},
    "light": {
      "background": "#0f0e0c",
      "foreground": "#e8e2d8",
      "card": "rgba(30,28,24,0.85)",
      "card-foreground": "#e8e2d8",
      "popover": "rgba(30,28,24,0.85)",
      "popover-foreground": "#e8e2d8",
      "primary": "#f0f0ec",
      "primary-foreground": "#111111",
      "secondary": "#c4a86c",
      "secondary-foreground": "#ffffff",
      "muted": "#8a7e6e",
      "muted-foreground": "#e8e2d8",
      "accent": "#d4382a",
      "accent-foreground": "#ffffff",
      "destructive": "#dc2626",
      "border": "rgba(232,226,216,0.1)",
      "input": "rgba(232,226,216,0.1)",
      "ring": "#d4382a",
      "chart-1": "#f0f0ec",
      "chart-2": "#c4a86c",
      "chart-3": "#d4382a",
      "chart-4": "#16a34a",
      "chart-5": "#d97706",
      "sidebar": "rgba(30,28,24,0.85)",
      "sidebar-foreground": "#e8e2d8",
      "sidebar-primary": "#f0f0ec",
      "sidebar-primary-foreground": "#111111",
      "sidebar-accent": "#d4382a",
      "sidebar-accent-foreground": "#ffffff",
      "sidebar-border": "rgba(232,226,216,0.1)",
      "sidebar-ring": "#d4382a",
      "radius": "4px"
    },
    "dark": {
      "background": "#0f1115",
      "foreground": "#f8fafc",
      "card": "#181b22",
      "card-foreground": "#f8fafc",
      "popover": "#181b22",
      "popover-foreground": "#f8fafc",
      "primary": "#f0f0ec",
      "primary-foreground": "#111111",
      "secondary": "#252a33",
      "secondary-foreground": "#f8fafc",
      "muted": "#252a33",
      "muted-foreground": "#a1a1aa",
      "accent": "#d4382a",
      "accent-foreground": "#ffffff",
      "destructive": "#dc2626",
      "border": "#303642",
      "input": "#303642",
      "ring": "#d4382a",
      "chart-1": "#f0f0ec",
      "chart-2": "#c4a86c",
      "chart-3": "#d4382a",
      "chart-4": "#16a34a",
      "chart-5": "#d97706",
      "sidebar": "#181b22",
      "sidebar-foreground": "#f8fafc",
      "sidebar-primary": "#f0f0ec",
      "sidebar-primary-foreground": "#111111",
      "sidebar-accent": "#d4382a",
      "sidebar-accent-foreground": "#ffffff",
      "sidebar-border": "#303642",
      "sidebar-ring": "#d4382a",
      "radius": "4px"
    }
  },
  "meta": {
    "source": "katagami",
    "languageId": "en-019dacc4-36e3-7832-9761-56b35c4e8d2d",
    "slug": "kuangcao-kinetic",
    "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",
        "background",
        "border",
        "ink_deep",
        "ink_light",
        "ink_mid",
        "muted",
        "primary",
        "secondary",
        "surface",
        "surface_hover",
        "text"
      ],
      "typography": [
        "base_size",
        "font_body",
        "font_display",
        "font_mono",
        "google_fonts_import",
        "line_heights",
        "scale_ratio",
        "sizes",
        "weights"
      ],
      "spacing": [
        "2xl",
        "3xl",
        "lg",
        "md",
        "sm",
        "unit",
        "xl",
        "xs"
      ],
      "radii": [
        "lg",
        "md",
        "none",
        "organic",
        "sm"
      ],
      "shadows": [
        "card",
        "deep_ink",
        "elevated",
        "ink_glow",
        "vermillion_accent"
      ],
      "surfaces": [
        "ink_splash",
        "overlay",
        "paper",
        "paper_hover"
      ],
      "borders": [
        "accent",
        "gold",
        "medium",
        "subtle"
      ],
      "motion": [
        "brush_flick",
        "fast",
        "ink_spread",
        "normal"
      ]
    }
  }
}
```
in the wild

embodiments

the full element showcase
embodiment · kuangcao-kinetic
DESIGN.md

at a glance

Palette

Typography

headline-lgInter · 31px · 700

The quick brown fox jumps

headline-mdInter · 25px · 600

The quick brown fox jumps

body-mdInter · 16px · 400

The quick brown fox jumps

label-mdInter · 12px · 600

The quick brown fox jumps

Components

New
Card title

Components rendered with this language’s tokens — colors, type, and rounded corners as specified.

Spacing

  • unit0.5rem
  • xs0.25rem
  • sm0.5rem
  • md1rem
  • lg1.5rem
  • xl2.5rem
  • 2xl4rem
  • 3xl6rem

Shape

none0px
sm2px
md4px
lg6px
organic0px
shadcn/ui

implementation kit

needs agent-authored kitcompatibility fallback
shadcn compatibility only
The generated theme variables are available, but the polished shadcn component recipes and shots have not been authored by the Katagami agent yet.
fallbackprimitives render
Compatibility proof
Local shadcn-style primitives accept the generated theme variables.
primaryaccentsurfacemutedwarningerror
table rhythm
buttonok
cardok
inputok
recommendedcompatibility fallback

DESIGN.md with shadcn

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.

advanced implementation filesoptional machine-readable theme, CSS, TSX starter, recipes, and preview contract
shadcn add
npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table
theme css
:root {
  --background: #0f0e0c;
  --foreground: #e8e2d8;
  --card: rgba(30,28,24,0.85);
  --card-foreground: #e8e2d8;
  --popover: rgba(30,28,24,0.85);
  --popover-foreground: #e8e2d8;
  --primary: #f0f0ec;
  --primary-foreground: #111111;
  --secondary: #c4a86c;
  --secondary-foreground: #ffffff;
  --muted: #8a7e6e;
  --muted-foreground: #e8e2d8;
  --accent: #d4382a;
  --accent-foreground: #ffffff;
  --destructive: #dc2626;
  --border: rgba(232,226,216,0.1);
  --input: rgba(232,226,216,0.1);
  --ring: #d4382a;
  --chart-1: #f0f0ec;
  --chart-2: #c4a86c;
  --chart-3: #d4382a;
  --chart-4: #16a34a;
  --chart-5: #d97706;
  --sidebar: rgba(30,28,24,0.85);
  --sidebar-foreground: #e8e2d8;
  --sidebar-primary: #f0f0ec;
  --sidebar-primary-foreground: #111111;
  --sidebar-accent: #d4382a;
  --sidebar-accent-foreground: #ffffff;
  --sidebar-border: rgba(232,226,216,0.1);
  --sidebar-ring: #d4382a;
  --radius: 4px;
}

.dark {
  --background: #0f1115;
  --foreground: #f8fafc;
  --card: #181b22;
  --card-foreground: #f8fafc;
  --popover: #181b22;
  --popover-foreground: #f8fafc;
  --primary: #f0f0ec;
  --primary-foreground: #111111;
  --secondary: #252a33;
  --secondary-foreground: #f8fafc;
  --muted: #252a33;
  --muted-foreground: #a1a1aa;
  --accent: #d4382a;
  --accent-foreground: #ffffff;
  --destructive: #dc2626;
  --border: #303642;
  --input: #303642;
  --ring: #d4382a;
  --chart-1: #f0f0ec;
  --chart-2: #c4a86c;
  --chart-3: #d4382a;
  --chart-4: #16a34a;
  --chart-5: #d97706;
  --sidebar: #181b22;
  --sidebar-foreground: #f8fafc;
  --sidebar-primary: #f0f0ec;
  --sidebar-primary-foreground: #111111;
  --sidebar-accent: #d4382a;
  --sidebar-accent-foreground: #ffffff;
  --sidebar-border: #303642;
  --sidebar-ring: #d4382a;
  --radius: 4px;
}
tsx starter
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 KuangcaoKineticShadcnKit() {
  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">Kuangcao Kinetic</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>
  );
}
theme JSONcompatibility fallback
{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "kuangcao-kinetic",
  "type": "registry:theme",
  "title": "Kuangcao Kinetic shadcn Theme",
  "cssVars": {
    "theme": {},
    "light": {
      "background": "#0f0e0c",
      "foreground": "#e8e2d8",
      "card": "rgba(30,28,24,0.85)",
      "card-foreground": "#e8e2d8",
      "popover": "rgba(30,28,24,0.85)",
      "popover-foreground": "#e8e2d8",
      "primary": "#f0f0ec",
      "primary-foreground": "#111111",
      "secondary": "#c4a86c",
      "secondary-foreground": "#ffffff",
      "muted": "#8a7e6e",
      "muted-foreground": "#e8e2d8",
      "accent": "#d4382a",
      "accent-foreground": "#ffffff",
      "destructive": "#dc2626",
      "border": "rgba(232,226,216,0.1)",
      "input": "rgba(232,226,216,0.1)",
      "ring": "#d4382a",
      "chart-1": "#f0f0ec",
      "chart-2": "#c4a86c",
      "chart-3": "#d4382a",
      "chart-4": "#16a34a",
      "chart-5": "#d97706",
      "sidebar": "rgba(30,28,24,0.85)",
      "sidebar-foreground": "#e8e2d8",
      "sidebar-primary": "#f0f0ec",
      "sidebar-primary-foreground": "#111111",
      "sidebar-accent": "#d4382a",
      "sidebar-accent-foreground": "#ffffff",
      "sidebar-border": "rgba(232,226,216,0.1)",
      "sidebar-ring": "#d4382a",
      "radius": "4px"
    },
    "dark": {
      "background": "#0f1115",
      "foreground": "#f8fafc",
      "card": "#181b22",
      "card-foreground": "#f8fafc",
      "popover": "#181b22",
      "popover-foreground": "#f8fafc",
      "primary": "#f0f0ec",
      "primary-foreground": "#111111",
      "secondary": "#252a33",
      "secondary-foreground": "#f8fafc",
      "muted": "#252a33",
      "muted-foreground": "#a1a1aa",
      "accent": "#d4382a",
      "accent-foreground": "#ffffff",
      "destructive": "#dc2626",
      "border": "#303642",
      "input": "#303642",
      "ring": "#d4382a",
      "chart-1": "#f0f0ec",
      "chart-2": "#c4a86c",
      "chart-3": "#d4382a",
      "chart-4": "#16a34a",
      "chart-5": "#d97706",
      "sidebar": "#181b22",
      "sidebar-foreground": "#f8fafc",
      "sidebar-primary": "#f0f0ec",
      "sidebar-primary-foreground": "#111111",
      "sidebar-accent": "#d4382a",
      "sidebar-accent-foreground": "#ffffff",
      "sidebar-border": "#303642",
      "sidebar-ring": "#d4382a",
      "radius": "4px"
    }
  },
  "meta": {
    "source": "katagami",
    "languageId": "en-019dacc4-36e3-7832-9761-56b35c4e8d2d",
    "slug": "kuangcao-kinetic",
    "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",
        "background",
        "border",
        "ink_deep",
        "ink_light",
        "ink_mid",
        "muted",
        "primary",
        "secondary",
        "surface",
        "surface_hover",
        "text"
      ],
      "typography": [
        "base_size",
        "font_body",
        "font_display",
        "font_mono",
        "google_fonts_import",
        "line_heights",
        "scale_ratio",
        "sizes",
        "weights"
      ],
      "spacing": [
        "2xl",
        "3xl",
        "lg",
        "md",
        "sm",
        "unit",
        "xl",
        "xs"
      ],
      "radii": [
        "lg",
        "md",
        "none",
        "organic",
        "sm"
      ],
      "shadows": [
        "card",
        "deep_ink",
        "elevated",
        "ink_glow",
        "vermillion_accent"
      ],
      "surfaces": [
        "ink_splash",
        "overlay",
        "paper",
        "paper_hover"
      ],
      "borders": [
        "accent",
        "gold",
        "medium",
        "subtle"
      ],
      "motion": [
        "brush_flick",
        "fast",
        "ink_spread",
        "normal"
      ]
    }
  }
}
component recipescompatibility fallback
# Kuangcao Kinetic shadcn/ui Components

Artifact: `component-recipes-v1`
Author: `katagami-ui-projection`
Language ID: `en-019dacc4-36e3-7832-9761-56b35c4e8d2d`
Slug: `kuangcao-kinetic`

## Intent

Wild cursive calligraphy (kuangcao) energy translated into digital interfaces. The UI becomes a page of passionate calligraphy — dramatic, gestural, asymmetric. Every element carries the kinetic energy of brush meeting paper at speed. Dark and intense, like writing with concentrated ink on dark paper under lamplight. This is calligraphy as performance art, not careful penmanship.

## 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:

{
  "background": "#0f0e0c",
  "surface": "rgba(30,28,24,0.85)",
  "text": "#e8e2d8",
  "muted": "#8a7e6e",
  "primary": "#f0f0ec",
  "accent": "#d4382a",
  "secondary": "#c4a86c",
  "ink_deep": "#2a2622",
  "ink_mid": "#3d3832",
  "ink_light": "#5c564e",
  "border": "rgba(232,226,216,0.1)",
  "surface_hover": "rgba(42,38,34,0.9)"
}

Typography:

{
  "font_display": "Ma Shan Zheng, serif",
  "font_body": "Noto Sans SC, sans-serif",
  "font_mono": "Source Code Pro, monospace",
  "base_size": "16px",
  "scale_ratio": "1.333",
  "sizes": {
    "xs": "0.75rem",
    "sm": "0.875rem",
    "base": "1rem",
    "lg": "1.333rem",
    "xl": "1.777rem",
    "2xl": "2.369rem",
    "3xl": "3.157rem",
    "4xl": "4.209rem",
    "5xl": "5.61rem"
  },
  "weights": {
    "normal": "400",
    "medium": "500",
    "bold": "700"
  },
  "line_heights": {
    "tight": "1.2",
    "base": "1.6",
    "relaxed": "1.8"
  },
  "google_fonts_import": "https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=Noto+Sans+SC:wght@400;500;700&family=Source+Code+Pro:wght@400;500&display=swap"
}

## Visual character to preserve

- background: #0f0e0c; color: #e8e2d8; font-family: Ma Shan Zheng, serif;
- border: 2px solid rgba(232,226,216,0.1); clip-path: polygon(0 2%, 98% 0, 100% 97%, 1% 100%);
- box-shadow: inset 0 0 60px rgba(15,14,12,0.8), 4px 4px 0 rgba(212,56,42,0.3);
- transform: rotate(-0.5deg); transition: all 180ms ease-out;
- background-image: radial-gradient(circle at 20% 30%, rgba(92,86,78,0.15) 1px, transparent 1px);

## ShadSync visual profile

{
  "family": "paper-collage",
  "material": "paper",
  "contour": "default",
  "border": "solid",
  "underlay": false,
  "grain": true,
  "stickerBadges": false,
  "motion": "lift-rotate",
  "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/kuangcao-kinetic/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: Use organic clip-path shapes instead of border-radius for containers; Let brush stroke SVG elements bleed outside their containers for drama; Apply subtle rotation (-0.5 to 0.5deg) to cards and content blocks; Use vermillion red (#d4382a) sparingly for high-impact moments only; Maintain extreme contrast between dark backgrounds and light text; Use Ma Shan Zheng at oversized scales for display headings; Let content flow asymmetrically following top-right to bottom-left energy; Add ink splatter texture patterns to large empty areas; Use fast gestural animations (150-200ms) with ease-out curves; Apply dry brush texture effects on borders and dividers
- Do not: Never center-align layouts symmetrically; Never use border-radius for primary containers; Never use light backgrounds or pastel colors; Never use slow animations over 300ms; Never use perfectly straight horizontal dividers; Never use rounded friendly UI patterns; Never use more than two accent colors in one view; Never make brush stroke elements too small — they must be compositional; Never apply calligraphic font to body text paragraphs; Never use pure white (#fff) — always use the cream (#e8e2d8 or #f0f0ec)

## 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 KuangcaoKineticShadcnKit() {
  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">Kuangcao Kinetic</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

Defined by the Katagami source fields.
preview shotscompatibility fallback
{
  "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-019dacc4-36e3-7832-9761-56b35c4e8d2d",
    "name": "Kuangcao Kinetic",
    "slug": "kuangcao-kinetic"
  },
  "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": [
    "background: #0f0e0c; color: #e8e2d8; font-family: Ma Shan Zheng, serif;",
    "border: 2px solid rgba(232,226,216,0.1); clip-path: polygon(0 2%, 98% 0, 100% 97%, 1% 100%);",
    "box-shadow: inset 0 0 60px rgba(15,14,12,0.8), 4px 4px 0 rgba(212,56,42,0.3);",
    "transform: rotate(-0.5deg); transition: all 180ms ease-out;",
    "background-image: radial-gradient(circle at 20% 30%, rgba(92,86,78,0.15) 1px, transparent 1px);"
  ],
  "visualProfile": {
    "family": "paper-collage",
    "material": "paper",
    "contour": "default",
    "border": "solid",
    "underlay": false,
    "grain": true,
    "stickerBadges": false,
    "motion": "lift-rotate",
    "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": "Kuangcao Kinetic 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": [
      "Use organic clip-path shapes instead of border-radius for containers",
      "Let brush stroke SVG elements bleed outside their containers for drama",
      "Apply subtle rotation (-0.5 to 0.5deg) to cards and content blocks",
      "Use vermillion red (#d4382a) sparingly for high-impact moments only",
      "Maintain extreme contrast between dark backgrounds and light text",
      "Use Ma Shan Zheng at oversized scales for display headings",
      "Let content flow asymmetrically following top-right to bottom-left energy",
      "Add ink splatter texture patterns to large empty areas",
      "Use fast gestural animations (150-200ms) with ease-out curves",
      "Apply dry brush texture effects on borders and dividers"
    ],
    "dont": [
      "Never center-align layouts symmetrically",
      "Never use border-radius for primary containers",
      "Never use light backgrounds or pastel colors",
      "Never use slow animations over 300ms",
      "Never use perfectly straight horizontal dividers",
      "Never use rounded friendly UI patterns",
      "Never use more than two accent colors in one view",
      "Never make brush stroke elements too small — they must be compositional",
      "Never apply calligraphic font to body text paragraphs",
      "Never use pure white (#fff) — always use the cream (#e8e2d8 or #f0f0ec)"
    ]
  }
}
related

More like this