Visual Composer — The Architecture of Seeing
How elements are arranged in space determines whether an artifact feels designed or dumped. Composition is the skeleton — animation, color, and interaction are the flesh. Get the skeleton wrong and nothing else matters.
Composition Principles for Artifacts
Visual Hierarchy — The Reading Order
Every artifact has a reading order, even non-textual ones. The eye follows a path. Design that path.
Hierarchy tools (strongest to weakest):
- Scale — Bigger draws attention first
- Contrast — High contrast against background demands focus
- Position — Top-left (in LTR cultures) and center carry natural weight
- Isolation — An element with space around it commands attention
- Motion — Moving elements pull the eye (use with restraint)
- Color saturation — Vivid against muted creates focal points
- Detail density — Areas with more detail attract longer attention
Rule: An artifact should have exactly one primary focal point, 2-3 secondary elements, and everything else as supporting texture.
Visual Tension — The Energy of Arrangement
Static, symmetrical layouts feel calm but lifeless. Tension creates energy.
Tension sources:
- Asymmetric balance — Unequal visual weight on either side of center, balanced by contrast or isolation
- Edge proximity — Elements near the viewport edge create anxiety/energy; centered elements create calm
- Scale contrast — Very large next to very small creates dramatic tension
- Direction conflict — Elements pointing in opposing directions create dynamic energy
- Negative space — Large empty areas create tension through anticipation
- Breaking the grid — One element that violates the established spatial system draws maximum attention
Density and Breathing Room
The density spectrum:
Sparse Balanced Rich Layered
─────────────────────────────────────────────────────────
Few elements Comfortable Many elements Overlapping
Lots of space Clear hierarchy Dense but Depth and
Minimal feel Professional organized complexity
Rules:
- Sparse: Every element is precious. Placement must be precise. One pixel matters.
- Balanced: Follow grid systems. Use consistent spacing tokens (4px, 8px, 16px, 24px, 32px, 48px, 64px).
- Rich: Establish clear groupings. Use proximity and alignment to prevent overwhelm. Vary visual weight.
- Layered: Use depth (z-index, blur, opacity, scale) to create spatial hierarchy. Foreground, midground, background.
Grid Systems for Artifacts
Not every artifact needs a grid — but every artifact needs spatial logic.
When to use grids:
- Multi-element layouts (dashboards, galleries, card collections)
- Text-heavy content (articles, documentation, narratives)
- Responsive layouts that must reflow predictably
When to break grids:
- Generative art (spatial logic comes from the algorithm)
- Immersive experiences (the viewport IS the canvas)
- Single-focus artifacts (one main element, nothing else to align)
Grid vocabulary:
- CSS Grid: For 2D layouts with explicit rows and columns
- Flexbox: For 1D distribution along a single axis
- Subgrid: For nested components that align with parent grid
- Container queries: For component-level responsive behavior
- No grid: For absolute/fixed positioning in canvas-like layouts
Typography in Artifacts
Typography is not just text styling — it's a compositional element.
Typography as structure:
- Heading hierarchy creates the visual skeleton
- Font weight variation creates rhythm (light/regular/bold alternation)
- Line length affects reading comfort (45-75 characters optimal)
- Line height affects density (1.2 for headings, 1.5-1.6 for body)
Typography as art:
- Oversized type as the primary visual element
- Variable fonts with animated axes (weight, width, slant)
- Text as texture — repeating, overlapping, fading text as background
- Kinetic typography — text that moves, splits, reassembles
- Mixed type scales — extreme size contrast (12px body next to 200px display)
Font pairing shortcuts:
- Technical/precise: Monospace heading + sans-serif body
- Warm/human: Serif heading + sans-serif body
- Modern/clean: Geometric sans heading + humanist sans body
- Bold/editorial: Heavy sans or slab heading + light serif body
- Minimal: Single font family, multiple weights
Color as Composition
Color creates spatial relationships:
- Warm colors advance — elements feel closer to the viewer
- Cool colors recede — elements feel further away
- High saturation draws attention — use for focal points
- Low saturation recedes — use for background and supporting elements
- Value contrast creates hierarchy — more than hue contrast
Palette sizing:
- 1 dominant color (60% of visual space)
- 1-2 supporting colors (30%)
- 1 accent color (10%) — used sparingly for emphasis
Composition Patterns
Read references/composition-recipes.md for specific layout patterns with implementation details.
When to Consult This Skill
The Master Artificer or its agents should consult this skill when:
- Deciding on the spatial arrangement of an artifact
- Choosing between grid-based and free-form layouts
- Establishing visual hierarchy in a multi-element artifact
- Making typography decisions (font, scale, weight, spacing)
- Determining density and breathing room
- Creating tension or calm through arrangement
1---2name: visual-composer3description: Knowledge skill for artifact layout, composition, visual rhythm, and typography-as-art. Covers grid-breaking layouts, spatial arrangement, density control, visual tension, and the compositional principles that make artifacts feel intentional rather than assembled. Consulted by the Master Artificer when visual arrangement decisions are needed.4---56# Visual Composer — The Architecture of Seeing78How elements are arranged in space determines whether an artifact feels designed or dumped. Composition is the skeleton — animation, color, and interaction are the flesh. Get the skeleton wrong and nothing else matters.910## Composition Principles for Artifacts1112### Visual Hierarchy — The Reading Order1314Every artifact has a reading order, even non-textual ones. The eye follows a path. Design that path.1516**Hierarchy tools (strongest to weakest):**171. **Scale** — Bigger draws attention first182. **Contrast** — High contrast against background demands focus193. **Position** — Top-left (in LTR cultures) and center carry natural weight204. **Isolation** — An element with space around it commands attention215. **Motion** — Moving elements pull the eye (use with restraint)226. **Color saturation** — Vivid against muted creates focal points237. **Detail density** — Areas with more detail attract longer attention2425**Rule:** An artifact should have exactly one primary focal point, 2-3 secondary elements, and everything else as supporting texture.2627### Visual Tension — The Energy of Arrangement2829Static, symmetrical layouts feel calm but lifeless. Tension creates energy.3031**Tension sources:**32- **Asymmetric balance** — Unequal visual weight on either side of center, balanced by contrast or isolation33- **Edge proximity** — Elements near the viewport edge create anxiety/energy; centered elements create calm34- **Scale contrast** — Very large next to very small creates dramatic tension35- **Direction conflict** — Elements pointing in opposing directions create dynamic energy36- **Negative space** — Large empty areas create tension through anticipation37- **Breaking the grid** — One element that violates the established spatial system draws maximum attention3839### Density and Breathing Room4041**The density spectrum:**4243```44Sparse Balanced Rich Layered45─────────────────────────────────────────────────────────46Few elements Comfortable Many elements Overlapping47Lots of space Clear hierarchy Dense but Depth and48Minimal feel Professional organized complexity49```5051**Rules:**52- **Sparse:** Every element is precious. Placement must be precise. One pixel matters.53- **Balanced:** Follow grid systems. Use consistent spacing tokens (4px, 8px, 16px, 24px, 32px, 48px, 64px).54- **Rich:** Establish clear groupings. Use proximity and alignment to prevent overwhelm. Vary visual weight.55- **Layered:** Use depth (z-index, blur, opacity, scale) to create spatial hierarchy. Foreground, midground, background.5657### Grid Systems for Artifacts5859Not every artifact needs a grid — but every artifact needs spatial logic.6061**When to use grids:**62- Multi-element layouts (dashboards, galleries, card collections)63- Text-heavy content (articles, documentation, narratives)64- Responsive layouts that must reflow predictably6566**When to break grids:**67- Generative art (spatial logic comes from the algorithm)68- Immersive experiences (the viewport IS the canvas)69- Single-focus artifacts (one main element, nothing else to align)7071**Grid vocabulary:**72- **CSS Grid:** For 2D layouts with explicit rows and columns73- **Flexbox:** For 1D distribution along a single axis74- **Subgrid:** For nested components that align with parent grid75- **Container queries:** For component-level responsive behavior76- **No grid:** For absolute/fixed positioning in canvas-like layouts7778### Typography in Artifacts7980Typography is not just text styling — it's a compositional element.8182**Typography as structure:**83- Heading hierarchy creates the visual skeleton84- Font weight variation creates rhythm (light/regular/bold alternation)85- Line length affects reading comfort (45-75 characters optimal)86- Line height affects density (1.2 for headings, 1.5-1.6 for body)8788**Typography as art:**89- Oversized type as the primary visual element90- Variable fonts with animated axes (weight, width, slant)91- Text as texture — repeating, overlapping, fading text as background92- Kinetic typography — text that moves, splits, reassembles93- Mixed type scales — extreme size contrast (12px body next to 200px display)9495**Font pairing shortcuts:**96- **Technical/precise:** Monospace heading + sans-serif body97- **Warm/human:** Serif heading + sans-serif body98- **Modern/clean:** Geometric sans heading + humanist sans body99- **Bold/editorial:** Heavy sans or slab heading + light serif body100- **Minimal:** Single font family, multiple weights101102### Color as Composition103104Color creates spatial relationships:105106- **Warm colors advance** — elements feel closer to the viewer107- **Cool colors recede** — elements feel further away108- **High saturation draws attention** — use for focal points109- **Low saturation recedes** — use for background and supporting elements110- **Value contrast creates hierarchy** — more than hue contrast111112**Palette sizing:**113- 1 dominant color (60% of visual space)114- 1-2 supporting colors (30%)115- 1 accent color (10%) — used sparingly for emphasis116117---118119## Composition Patterns120121Read `references/composition-recipes.md` for specific layout patterns with implementation details.122123## When to Consult This Skill124125The Master Artificer or its agents should consult this skill when:126- Deciding on the spatial arrangement of an artifact127- Choosing between grid-based and free-form layouts128- Establishing visual hierarchy in a multi-element artifact129- Making typography decisions (font, scale, weight, spacing)130- Determining density and breathing room131- Creating tension or calm through arrangement