UI Design Craft
Build interfaces with intentional visual craft, restrained chrome, disciplined token systems, and tactile micro-interactions—grounded in the five design-engineering references curated in @anuragdotdev's post:
styles.refero.design— Reverse-engineeredDESIGN.mdtoken systems from real productsdesigneer.xyz— Architectural layout craft, perceptual color/type tooling, and curated modern UI primitivesbencho.dev— Physical verb-driven micro-interactions (Hover,Press,Drag,Slide,Swipe,Type,Select,Loading) and monochrome gallery framingpiixpal.dvkk.dev— Cohesive surface materials (Glow,Chrome,Glass,Riso,Terminal), Bayer-dithered palettes, neo-brutalist accents, and living UI delightstickitupx.com— Warmth and physical tactility via die-cut stickers, peel/tilt physics, pastel bento containers, and crisp developer-tool chrome
For deep per-site teardowns, concrete token ladders, and the reusable DESIGN.md spec template, read:
Workflow: How to Approach Any UI Design Task
1. Commit to an Aesthetic Direction Before Writing Code
Never start from generic defaults (uncalibrated gray cards, purple-indigo gradients, generic Inter 700 headings, heavy blurry shadows). First pick the right aesthetic archetype for the product—or derive a brief DESIGN.md using references/design-md-template.md:
| Product Context | Archetype | Primary Inspiration |
|---|---|---|
| Tooling, catalogs, galleries, AI apps | Gallery Monochrome Chrome | styles.refero.design, bencho.dev, designeer.xyz |
| Developer tools, command centers, SaaS | Precision Dark Devtool | styles.refero.design (Linear, Raycast) |
| Editorial, reading, search, writing apps | Warm Editorial Paper | styles.refero.design (Perplexity, Kinfolk) |
| Motion/creative showcases, brand launches | Kinetic Dark Showcase | styles.refero.design (GSAP) |
| Indie tools, playgrounds, creative tech | Neo-Brutalist Pixel & Shader | piixpal.dvkk.dev |
| Friendly consumer/dev launches, marketing | Tactile Crisp + Pastel Bento | stickitupx.com |
Consult references/design-archetypes.md for exact surface ladders, font pairings, border treatments, and accent rules.
2. Establish Visual Craft Fundamentals
A. Gallery-Frame Chrome & Earned Color
- Keep navigation, page canvas, and structural surfaces strictly neutral (
#FFFFFF+#F4F5F8/#F5F5F5, warm#FAF8F5parchment, or matte#08090A–#0E100Fobsidian). - Use high-contrast solid near-black (
#0A0A0A–#111111) or inverted near-white pills for primary CTAs. - One-accent discipline: Reserve a single saturated brand accent (e.g., electric cobalt, deep teal, acid lime
#C6F432/#E4F222) for primary actions, active states, or focal highlights—unless color is explicitly taxonomy-coded (e.g., discipline tags or distinct pastel bento containers). - Let the user's content, live data, media, or interactive previews supply the visual richness.
B. Hairlines, Surface Value Shifts & Tactile Depth
- Prefer surface value contrast (
#F5F5F5stage framing a#FFFFFFcard) and crisp0.5px–1pxhairline borders (rgba(0,0,0,0.06–0.08)in light mode,#23252A–#383B3Fin dark mode) over muddy drop shadows. - Use subtle structural texture where appropriate: faint dot-matrix grids (
bencho.dev,piixpal.dvkk.dev) or1pxdashed architectural dividers and hatched margin gutters (designeer.xyz). - Reserve elevation shadows for elements with physical depth: tilted 3D cards, floating popovers/modals, tactile keycaps, die-cut stickers, or deliberate hard offset neo-brutalist shadows (
piixpal.dvkk.dev).
C. Typography & Spatial Rhythm
- Pair intentionally: Combine a distinctive display face (editorial serif like
Kalice/Instrument Serif, expressive grotesque likeBricolage Grotesque/Plus Jakarta Sans, or geometric sans) with a clean UI sans (Inter/Neue Montreal), plus monospace (JetBrains Mono/Berkeley Mono) for code, shortcuts, badges, and metadata. - Tight display lockups: Constrain centered hero
<h1>measure (~440–520px) for balanced 2-line rhythm with tight negative tracking (-0.02emto-0.04em) and compact line-height (0.95–1.12). - Weight discipline: Avoid slapping
font-weight: 700on everything. Use restrained weight ladders (400/500/590for precision apps;700–800only for deliberate neo-brutalist or poster display). - Tabular numerals everywhere: Always apply
font-variant-numeric: tabular-numsto counters, metrics, dates, prices, and slider readouts. - Concentric radii on a 4px grid: Match nested corner radii (
24pxouter shell ->16pxcard ->10–12pxinner control;9999pxfull pills for primary buttons, filter chips, and search bars).
D. Physical Micro-Interactions & Delight
- Design interactive controls around physical verbs (
bencho.dev):Hover,Press,Drag,Slide,Swipe,Type,Select,Loading. - Give every interactive element crisp feedback: spring/snappy state transitions, tactile press compression, instant
"Copied"confirmation on copyable chips/swatches, segmented pill switches, smooth scroll blur-fade reveals, and subtle 3D tilt/peel where physicality fits. - For playful or expressive interfaces, consider curated physical/living accents (
stickitupx.comdie-cut peel stickers,piixpal.dvkk.devcursor-reactive sprites or shader surfaces likeGlass/Riso/Chrome/Terminal), kept restrained so they punctuate rather than clutter. - Accessibility & motion: Always respect
prefers-reduced-motion: reduce, maintain strong text contrast (verify with APCA/WCAG principles), and support keyboard navigation (⌘Ksearch, arrow stepping, clear focus rings).
3. Live Lookup When Needed
If the project needs a fresh real-world reference, component pattern, or asset pack beyond the bundled guides:
- Browse
https://styles.refero.design/for a matching product'sDESIGN.mdtokens. - Browse
https://designeer.xyz(/finds,/resources,/tools) for curated modern primitives (Base UI,Radix,shadcn/ui,Motion Primitives,NumberFlow,OKLCH/APCAtools). - Browse
https://bencho.devfor interactive micro-interaction patterns (Hover/Press/Drag/Slide) and synthesized Web Audio feedback patterns. - Browse
https://piixpal.dvkk.devfor WebGL dithered shaders, 6-stop palettes, or<piix-pal>/<piix-sprite>drop-ins. - Browse
https://stickitupx.comfor MIT-licensed interactive peel-on-hover SVG/React stickers (stick-it-up).
4. Visual Verification Checklist
Before finishing any UI implementation, inspect the rendered result (in a browser if available) against every item:
- Cohesion: Surface ladder, borders, radii, and accent usage follow one deliberate archetype (no mixed random styles).
- Hierarchy: Clear focal headline, generous whitespace, scannable secondary metadata, unmistakable primary CTA.
- Typography: Distinct display/UI/mono pairing, tight display tracking,
tabular-numson numbers, no uncalibrated bold soup. - Restraint: Chrome stays neutral; shadows are absent on flat cards and reserved for genuine physical elevation.
- Tactility: Hover, focus, active/press, loading, and empty states feel responsive and crisp;
prefers-reduced-motionis respected. - Responsiveness: Layout rhythm, filter bars, grids, and split panes adapt cleanly across desktop and narrow viewports without overflow.