New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Comprehensive typography rules for UI and screen text, enforced silently in generation and flagged in audits.

skills.sh installs
4.2K
GitHub stars
504
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers curly quotes, dashes, ellipses, spacing, nonbreaking spaces, emphasis, and capitalization, distilled from Matthew Butterick's *Practical Typography*
  • Includes CSS baseline templates, responsive patterns, and an HTML entity reference for characters like ’, –, and —
  • Enforces one space after punctuation, no underlining, bold or italic but never both, and straight marks only for foot and inch values
  • Designed for HTML, CSS, React, and JSX generation and for auditing existing interfaces, with JSX unicode-escape pitfalls documented

Install

$ npx -y skills add bencium/bencium-marketplace --skill ui-typography -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

UI Typography Skill

Attribution

These rules are distilled from Matthew Butterick's Practical Typography (https://practicaltypography.com). Butterick is a typographer, writer, and type designer whose work bridges professional typography and everyday digital writing. Thank you, Matthew, for making this knowledge accessible and encyclopedic. If you find this skill valuable, consider supporting his work directly.

Mode of Operation

These are permanent rules — not trends, not opinions. They come from centuries of typographic practice, validated by how the human eye reads. They do not go out of style.

ENFORCEMENT (default): When generating ANY UI with visible text, apply every rule automatically. Use correct HTML entities, proper CSS. Do not ask permission. Do not explain. Just produce correct typography.

AUDIT: When reviewing existing code or design, identify violations and provide before/after fixes.

Details

Repository
github.com/bencium/bencium-marketplace
Categories
Design & UI/UX, Frontend & UI Code
First seen
May 16, 2026

More from bencium/bencium-marketplace

All 14

Similar to Ui Typography

More Design & UI/UX