Skip to content

UI & Design

Type Rhythm

Free

Set a small type scale, measure, and heading balance so pages read like a product, not a poster.

Difficulty foundational

Purpose

Replace oversized marketing type and cramped labels with a readable scale.

Procedure

--- name: type-rhythm description: Set a small type scale, measure, and heading balance so pages read like a product, not a poster. ---

Type Rhythm

Purpose

Replace oversized marketing type and cramped labels with a readable scale.

Procedure

Use at most two families. Prefer the families already loaded.

Scale for application UI:

  • Page title: one step above section titles, weight 600, tight line-height, text-wrap balance.
  • Section title: the next step down. Do not skip levels.
  • Body and labels: the base size, line-height 1.5. Secondary text uses the muted token, not a smaller size that fails contrast.
  • Code and identifiers: the mono family, slightly smaller than body, never below 13px.

Measure: prose columns cap near 68 characters. Do not stretch articles across a 1200px content well.

Do not use all-caps for sentences. Short eyebrows are allowed only if they are real navigation labels.

Numbers that update (prices, counts in a table) use tabular figures. Static version strings do not need them.

Do not letter-space body copy. Do not center long paragraphs.

Example requests

1. Fix a dense docs page

Request: Apply Type Rhythm to the installation article. Do not change the steps. Expected: Clear heading levels, comfortable measure, and body line-height around 1.5.

Dependencies

None. Work in the repository that is already open. Do not add packages unless the procedure names one.

Compatibility

This document follows the Agent Skills layout (a folder named type-rhythm containing SKILL.md). Claude Code, Cursor, Codex, and Gemini CLI can load that file from the paths in the Skilling installation guide. GitHub Copilot does not load SKILL.md. Use the Copilot instructions copy, and narrow applyTo before you commit it. Last verified 2026-11-15.

Example prompts

Fix a dense docs page

Apply Type Rhythm to the installation article. Do not change the steps.

Expected: Clear heading levels, comfortable measure, and body line-height around 1.5.

Install for GitHub Copilot

  1. 1Copy Type Rhythm with “Copy for Copilot”. That file is the instruction Copilot reads.
  2. 2In this repository, save it at .github/instructions/type-rhythm.instructions.md.
  3. 3The applyTo line should match the files this procedure is for. Use a narrow path when you know it.
  4. 4Repository-wide notes stay in .github/copilot-instructions.md and should stay short. This procedure does not go there.
  5. 5Open Copilot in this repository and ask it to follow Type Rhythm.

Related

  • Design Tokens

    Define color, type, radius, and spacing once, then ban raw values in components.

  • Product Sections

    Compose a product page from proof and a single next step, not from stacked slogan bands.

  • Documentation Page

    Lay out a technical article: title, metadata, steps, and copyable commands, with a stable heading outline.

Reviews

No reviews yet.

    Sign in to review.

    Report a problem

    Inaccurate steps, an unsafe instruction, or a licensing concern.

    Sign in to report.