/ui-craft:typeset [file or component path]from ui-craft
Applies a full typography system to a component: font choice, modular scale, tracking, leading, weight hierarchy, and micro-typography details. Amplifies hierarchy for visual impact.
Ships in ui-craft. Installing the plugin adds it to Claude Code.
Typeset the UI at $ARGUMENTS. Load the ui-craft skill and read references/typography.md.
Note: typeset is knob-agnostic — typography rules (no ALL CAPS on headings, tracking-tight ≥24px, one body font, etc.) are not tunable.
Apply, in order:
Font inventory — what's loaded? If Inter is the default choice with no reason, ask before accepting it (Inter is the #1 AI-tell). Good alternatives: Geist, DM Sans, Plus Jakarta Sans, system stack. One body font, optionally one display font. Never three.
Scale — is there a scale or are sizes ad hoc? Anchor to a modular scale (1.125 / 1.2 / 1.25). Sizes: 12 / 14 / 16 / 20 / 24 / 32 / 48 / 64 / 72. No 13px / 15px / 17px one-offs unless optical.
Tracking (letter-spacing):
tracking-tight (-0.02em) or tighter for 40px+tracking-wide (+0.06em) + uppercase IS allowed here (the one exception)Leading (line-height):
Weight hierarchy — pick 2-3 weights max. Common: 400 body, 500 UI/labels, 600-700 headings. Never load 9 weights "just in case".
Micro-typography (the compound details):
tabular-nums on every number you align (tables, stats, timestamps, prices)text-wrap: balance on headlines, text-wrap: pretty on body' / "), em dashes (—), en dashes (–), no double hyphens in brand names, between number + unit, and before final short words in headlinesfont-feature-settings or font-variant-* for opt-in features (ligatures, ss01, fractions)′, ″) for units, not quotesHierarchy check — can you tell primary / secondary / tertiary at a glance? If every line has the same weight or size, collapse or amplify.
If the UI is technically correct but forgettable, use typography as the weapon. Pick ONE element to carry signature (never two); boldness is typography, not color or decoration:
01, 02), an asymmetric supporting element, a distinctive list marker.Knob gating for amplification (CRAFT_LEVEL):
≤ 4 — skip. Boldness is a craft layer, not a baseline.5-7 — apply the type amplification only. No signature motif unless asked.8+ — type amplification + one signature detail (chosen at /craft first pass per references/craft-intent.md; /polish and /bolder strengthen it — never stack a second).Pre-check: if an accent is already overused or hierarchy is already loud, you don't have a tameness problem — you have a noise problem. Route to /distill (cut) or /colorize (reduce accents) instead.
Output: edit code directly. Print the Review Format table. Call out the single highest-impact change (usually: "font choice" or "tracking-tight on hero").
Next step: /polish — micro-details land best right after the type system is set (rung 1).
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub educlopez/ui-craft --plugin ui-craft25 commands in this plugin
/adaptResponsive layout pass covering breakpoints, touch targets, safe areas, and fluid type. Use when the UI has layout or touch issues on mobile/tablet, when adding a new screen that hasn't been tested across viewports, or when the user says "make it responsive" / "fix mobile layout"./animateMotion design pass — adds purposeful animations or removes excessive ones, respecting MOTION_INTENSITY and the project's animation stack. Use when the user asks to add animation, "make it feel smoother", fix janky transitions, or trim motion that's distracting./auditStep 0: Visual capture (mandatory)Technical UI audit — a11y, performance, responsive. Produces a prioritized findings table./bolderAmplify personality — raises layout variance and motion, strengthens typography and one signature detail, without slop. Use when the UI works but feels safe, flat, or "template-y", or when the user says "bolder", "more personality", "more creative", or "make it pop" (still professional)./briefStep 1: Detect existing briefWrite or update the project's durable design brief at .ui-craft/brief.md./clarifyUX copy review across buttons, errors, empty states, and form hints — critiques by default, applies only on request. Use when copy feels vague, generic, or AI-sounding, or when the user says "fix the labels", "improve error messages", or "review the copy".Other plugins' commands for the same job