/visual-design-principles:visual-hierarchyfrom visual-design-principles
Guides establishing visual hierarchy in UI design using size, weight, and color levers, three-tier information architecture, and the one-star-per-screen principle.
Ships in visual-design-principles. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Users form a first impression within 50ms (Lindgaard et al., 2006). Hierarchy must work at the gestalt level -- before anyone reads a single word, the eye must know where to land. If two elements compete for dominance, neither wins and the user stalls.
Control visual importance with exactly three levers. Use them independently, not simultaneously.
| Lever | How It Works | Example |
|---|---|---|
| Size | Larger elements attract first | 2x body size for primary headings |
| Weight/Boldness | Heavier strokes draw focus | Bold for labels, regular for body |
| Color/Contrast | Higher contrast = more important | Dark text on light bg for primary, gray for tertiary |
Rule: Adjust one lever at a time. If a heading is already 2x body size, do not also make it bold and high-contrast -- that overshoots. Reserve additional levers for when a single lever is insufficient.
Every screen must have exactly three tiers of visual importance. No more, no fewer.
| Tier | Size | Weight | Contrast Ratio | Role |
|---|---|---|---|---|
| Primary | 2x body | Bold (600--700) | >= 7:1 | The star -- one per screen/section |
| Secondary | 1x body | Regular (400) | 4.5--7:1 | Supporting content |
| Tertiary | 0.75x body | Light (300--400) | 3--4.5:1 | Metadata, timestamps, captions |
If you cannot assign every text element to one of these three tiers, the hierarchy is broken.
Every screen and every section needs exactly one "star" -- the element the eye hits first. This is the F-pattern entry point, the dashboard KPI, the landing page headline.
The squint test: Squint at the screen until you can barely see it. The element that remains most visible is the star. If nothing stands out, or if two elements compete, the hierarchy has failed.
The 5-second test: Show the screen for 5 seconds, then ask: "What was this page about?" If users cannot answer, the star is not dominant enough.
Do not make the primary element louder. Make everything else quieter. When secondary and tertiary elements recede, the primary element naturally dominates without needing to be oversized or garish.
| Approach | Result |
|---|---|
| Make heading bigger, bolder, brighter | Feels aggressive, reduces reading comfort |
| Make body text lighter, smaller, lower contrast | Heading dominates naturally, entire page feels calm |
This is Steve Schoger's (Refactoring UI) core hierarchy insight: "If everything on the page is fighting for attention, nothing feels important."
| Pattern | When to Use | Key Constraint |
|---|---|---|
| F-pattern | Content-heavy pages, dashboards, lists | Place primary info on the left, secondary info indented right |
| Z-pattern | Landing pages, hero sections, CTAs | Top-left (logo) -> top-right (nav) -> bottom-left (headline) -> bottom-right (CTA) |
Place the most important content where the pattern predicts the eye will land. Do not fight the pattern -- work with it.
| Rule | Rationale |
|---|---|
| One primary CTA per section | Multiple primaries create decision paralysis |
| Button hierarchy: filled > outlined > ghost | Visual weight signals importance |
| Primary CTA uses a distinctive color | Must be the highest-contrast interactive element |
| Secondary actions use outlined or ghost buttons | Visually subordinate to primary |
| Destructive actions use red, but not filled-red at primary weight | Prevent accidental clicks |
Labels exist to describe data. Data is what the user came for. Labels must always be subordinate.
| Property | Label | Data |
|---|---|---|
| Size | 0.75--0.875x body | 1x body or larger |
| Weight | Regular or light | Medium or bold |
| Contrast | Lower (tertiary tier) | Higher (primary/secondary tier) |
| Color | Muted gray | Full-strength text color |
Anti-pattern: Labels in bold, data in regular weight. This inverts the hierarchy and forces users to scan past the noise to find the value.
| Anti-Pattern | Problem | Fix |
|---|---|---|
| Everything same size and weight | No entry point, no scannable structure | Apply three-tier architecture |
| Multiple competing CTAs | Decision paralysis, lower conversion | One primary CTA per section |
| Labels dominating data | User scans past noise to find values | Labels subordinate: smaller, lighter, lower contrast |
| Heading + bold + color simultaneously | Overshooting, feels aggressive | Adjust one lever at a time |
| No squint-test star | Page has no focal point | Designate one dominant element and de-emphasize the rest |
Working implementations in examples/:
examples/three-tier-hierarchy.md -- Implementing 3-tier hierarchy with CSS custom properties, Tailwind utilities, and React components, with good/bad comparisonWhen reviewing or building visual hierarchy:
accessibility-inclusive-design skill)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
visual-hierarchy, ui-design, typography, layout, scanning-patterns
npx claudepluginhub oborchers/fractional-cto --plugin visual-design-principles12 skills in this plugin
/accessibility-inclusive-designThis skill should be used when the user is implementing accessible design, checking color contrast ratios, adding keyboard navigation, supporting screen readers, handling color blindness, implementing ARIA attributes, designing focus indicators, meeting WCAG 2.2 compliance, or building inclusive interfaces. Covers WCAG 2.2 AA requirements, color contrast (4.5:1 body, 3:1 large text), color independence (never rely on color alone), keyboard navigation, focus indicators, touch targets, screen reader considerations, and automated testing with axe-core./color-theory-applicationThis skill should be used when the user is selecting colors, building color palettes, defining color systems, implementing dark mode, choosing brand colors, creating shade scales, applying the 60-30-10 rule, selecting data visualization colors, or checking color contrast. Covers HSL color model, harmony schemes (complementary, analogous, triadic), systematic shade scale generation, WCAG contrast requirements, semantic color systems, and dark mode design./consistency-design-systemsThis skill should be used when the user is building a design system, defining design tokens, creating component libraries, implementing CSS custom properties, ensuring visual consistency across pages, choosing between design systems (Material, Ant, Carbon), or auditing a codebase for design consistency. Covers design tokens (primitive → semantic → component layers), atomic design methodology, token governance, and systematic consistency./craftsmanship-polishThis skill should be used when the user is polishing UI details, optimizing images, implementing shadows or elevation systems, ensuring pixel-perfect alignment, defining border-radius systems, adding micro-interactions or transitions, handling loading/empty/error states, or reducing Cumulative Layout Shift (CLS). Covers VisAWI Craftsmanship facet, retina-ready images, layered shadows, consistent border-radius, transition timing, skeleton screens, and layout stability./design-evaluation-scoringThis skill should be used when the user asks to evaluate, score, or audit a visual design, wants to compare designs quantitatively, needs an anti-pattern checklist, or wants to understand the 8-dimension design quality framework. Covers the VisAWI-aligned 8-dimension scoring methodology (1-5 per dimension, 40-point maximum), processing fluency theory, the anti-pattern rapid screening checklist, and the complete evaluation workflow./layout-spatial-structureThis skill should be used when the user is building or reviewing page layouts, grid systems, column structures, card grids, sidebar layouts, CSS Grid or Flexbox decisions, element alignment, spatial composition, or responsive grid strategies. Covers the 12-column grid, 8-point spacing system, Gestalt proximity principle, visual weight distribution, and layout patterns from Material Design and Bootstrap.Other plugins' skills for the same job