Base prompt + Web app suffix React + Tailwind v4, replace components per STYLE.md
Components
85 components · 145 states
Forms
18 components · 29 states
ButtonButton
import { … } from "@/components/grain/button" · source: components/grain/button.tsx
3 states
InputInput
import { … } from "@/components/grain/input" · source: components/grain/input.tsx
2 states
⌘K
Receipts and CLI tokens arrive here.
SelectSelect
import { … } from "@/components/grain/select" · source: components/grain/select.tsx
2 states
CheckboxCheckbox
import { … } from "@/components/grain/checkbox" · source: components/grain/checkbox.tsx
1 state
409variants
4templates
2themes
Sign in to unlock
Brand guide
12 rules · from STYLE.md
Warm-neutral hairline paper paired with near-black ink craft.
Light mode layers white plates over warm paper (#f7f7f6) and recessed wells (#ededeb), replacing heavy 1px borders with 0.5px box-shadow hairlines and three-tier micro-depth. Primary actions lock to near-black ink (#171717 with a 1px top specular lip) and press to 0.97 in 120ms, accented by dither dissolves, brushed-metal rims, 3D keycaps, obsidian islands, and film grain. Dark mode inverts to warm charcoal (#0e0e0d) with #f4f4f1 primary buttons.
Rules
Warm paper & semantics4 rules
01
Warm-neutral monochrome first — never cool slate or raw hex.
Build surfaces with #ffffff, #f7f7f6, and #ededeb; set copy in #171717, #5c5c5c, and #8a8a8a via tokens.
02
Primary ink locks to #171717 (inverts to #f4f4f1 in dark).
Primary buttons, active tabs, and nav pills use --primary (#171717 light / #f4f4f1 dark) — zero blue accents.
03
Hue stays inside status tints and chart series — never colored status dots.
Status badges rely on soft --gk-good / --gk-warn / --gk-bad tints + ink text; running islands use 3×3 monochrome .gk-dot-matrix-sm; legends use 8×8 2px-radius squares.
04
Obsidian status islands stay dark in both light and dark modes.
Status pills .gk-island, floating .gk-notch bars, and tooltips stay on --gk-island-bg so readouts pop cleanly off paper.
Action hierarchy & press3 rules
05
One primary CTA per screen, wearing directional brushed-metal rim by default.
Default primary buttons wear directional .gk-rim metallic bevels and 1px top highlights; secondary/outline use 0.5px hairline .gk-well-btn / .gk-hairline-btn.
06
Lock motion to 120/150/240ms & cubic-bezier(.23,1,.32,1) with scale(.97) press.
Interactive controls share .gk-press and .gk-focus (2px ring + 2px surface gap); overlays enter with opacity + 4px shift, disabled under reduced motion.
07
Contain destructive actions with red alert card + confirm dialog.
Pair a destructive Alert zone with a destructive button and confirmation Dialog — never next to normal submits.
0.5px hairlines & zero left bars3 rules
08
Use 0.5px box-shadow hairlines and layered shadows over 1px borders.
Cards carry --gk-card-shadow, overlays carry 3-layer --gk-float, and dividers use .gk-hairline-b for razor-sharp HiDPI edges.
09
Zero left vertical accent bars anywhere; use full rings or ink pills.
Never draw border-left or left pseudo-stripes on nav rows, alerts, quotes, or timelines; use full-perimeter .gk-nav-pill and 8×8 2px-radius square nodes.
10
All 7 signatures render by default; loaders use 5×5 dot-matrix & dither.
Cards default to .gk-lit-card bottom glow + .gk-grain (≤0.06 light / ≤0.08 dark); loaders use .gk-dot-matrix and .gk-dither-skeleton.
Typography & density2 rules
11
Geist Variable for prose/headings; Geist Mono for IDs, figures, keys.
Both OFL fonts ship locally; apply --gk-mono to order IDs, currency, axis ticks, .gk-key keycaps, and section indices.
Primary CTAs lock to #171717 with a 1px top specular lip and 120ms scale(0.97) press; focal actions wear a 1.5px directional brushed-metal rim or hover dither sweep.
⌘KLive · 42ms
Warm-well segment, 3D keycaps & island.gk-well-field · .gk-key · .gk-island
Borderless #ededeb warm wells lift a white hairline active segment, paired with 2px-extruded mechanical keycaps and high-contrast obsidian status pills.
Dither halftone band & bottom-lit Bento.gk-dither-band · .gk-glow-bento
16px hairline bento card crowned with an ordered dot-matrix halftone strip and subtle bottom monochrome studio wash — zero neon colour.
Colors
25 tokens · warm-paper hairline light & warm-charcoal dark sets
Greys
Data colours
Token
Used for
Light
Dark
Warm paper & hairlines
--background
Primary paper / obsidian charcoal
#ffffff
#0e0e0d
--gk-subtle
Subtle warm workspace & rail
#f7f7f6
#141412
--card
12px raised hairline plate
#ffffff
#181816
--gk-raised
Bento & elevated plate
#ffffff
#1b1b19
--gk-well
Borderless input wells & trays
#ededeb
#22221f
--border
0.5px hairline ring & dividers
#e3e3e0
#2c2c28
--gk-edge-strong
Keycap edge & strong hairline
#d6d6d2
#3b3b36
Ink, copy & obsidian island
--foreground
Headings & body ink (17.9:1 AAA)
#171717
#f4f4f1
--muted-foreground
Secondary copy & table headers
#5c5c5c
#a6a69e
--gk-faint
Placeholders, ticks & faint meta
#8a8a8a
#767670
--primary
Primary ink CTA (warm white in dark)
#171717
#f4f4f1
--primary-foreground
Primary CTA ink (17.9:1 / 16.7:1)
#ffffff
#141413
--gk-island-bg
Obsidian island, tooltip & notch
#141413
#080807
--gk-island-fg
High-contrast obsidian island copy
#f7f7f6
#f4f4f1
Status semantics
--gk-good-fg
Paid, positive delta & healthy text
#1c7a3a
#6ee79c
--gk-good-soft
Success badge & alert soft wash
#e2f4e6
#13291b
--gk-warn-fg
Pending, caution & warning text
#9a6700
#fcd277
--gk-warn-soft
Warning badge & alert soft wash
#fef4dc
#2b210d
--gk-bad-fg
Refunded, error & danger text
#b42318
#fca59f
--gk-bad-soft
Danger badge & error soft wash
#fde8e7
#2e1413
Chart palette
--chart-1
Series 1 · Primary Ink
#171717
#f4f4f1
--chart-2
Series 2 · Warm Slate
#5c5c5c
#a6a69e
--chart-3
Series 3 · Faint Stone
#8a8a8a
#6e6e67
--chart-4
Series 4 · Emerald Signal
#1fa750
#3dd67a
--chart-5
Series 5 · Amber Signal
#e39b0b
#f5b938
Contrast
Pair
Use
Light
Dark
foreground on background
Paper body copy, 4.5:1 min
Aa17.9Pass
Aa17.5Pass
foreground on gk-subtle
Subtle stage copy, 4.5:1 min
Aa16.7Pass
Aa16.7Pass
foreground on card
Card body copy, 4.5:1 min
Aa17.9Pass
Aa16.1Pass
muted-foreground on background
Paper muted copy, 4.5:1 min
Aa6.7Pass
Aa7.9Pass
muted-foreground on gk-subtle
Subtle caption, 4.5:1 min
Aa6.2Pass
Aa7.5Pass
muted-foreground on card
Card muted copy, 4.5:1 min
Aa6.7Pass
Aa7.3Pass
primary-foreground on primary
Primary ink CTA, AAA 17.9:1
Aa17.9Pass
Aa16.7Pass
gk-island-fg on gk-island-bg
Obsidian island, AAA 17.2:1
Aa17.2Pass
Aa18.2Pass
gk-good-fg on card
Success text on card, 4.5:1
Aa5.4Pass
Aa11.5Pass
gk-warn-fg on card
Warning text on card, 4.5:1
Aa4.9Pass
Aa12.4Pass
gk-bad-fg on card
Danger text on card, 4.5:1
Aa6.6Pass
Aa9.3Pass
gk-faint on card
Placeholders & axis ticks
Aa3.5Not for text
Aa3.9Not for text
Type & scale
Geist Variable · Geist Mono Variable
Display52 / 56 · 600 · Geist
Grain Ink
Page H128 / 34 · 600 · Geist
Orders · Studio Ledger
KPI figure28 / 32 · 600 · Geist Mono
$48,210.00 · +18.4%
Card heading16 / 22 · 600 · Geist
Weekly payout & channel mix
Body copy14 / 21 · 400 · Geist
Warm-neutral paper plates framed by 0.5px box-shadow hairlines and crisp near-black ink.
Kicker & keycap11 / 14 · 500 · Geist Mono +6%
GRAIN STUDIO · WARM HAIRLINE · ⌘K
Radii
Micro4px
Field8px
Button10px
Card12px
Bento16px
Island999px
Shadows
Tier 1 hairline0.5px hairline ring with near micro-depth
--gk-shadow-1
Tier 2 liftedInteractive card hover and lifted controls
--gk-shadow-2
Tier 3 overlayDialogs, sheets and dropdown menus
--gk-shadow-3
Sizes
Control
36 · lg 40 · sm 32 · xs 24
Nav row
32 · .gk-nav-pill full pill
Top bar
56 · translucent hairline bar
Sidebar
232 · warm subtle rail
Keycap
24 · 2px→1px bottom lip
Press
120ms · scale(0.97) single ease
Patterns
5 patterns · each completes one user task
Sign in
Dither ink band above borderless warm-well inputs and one brushed-metal .gk-rim CTA