When to use
- Page hierarchy
- Readable body copy
- Labels and captions
- Code snippets
Typography roles create hierarchy, rhythm, and scannability in product interfaces. Use them to communicate structure, not decoration.
Start here before choosing examples or props. These notes explain where Typography helps, where another pattern is better, and what should stay true in product work.
<h1> <h2> <h3> <h4> <p> <small> <code>No import is needed. Use semantic HTML and apply system type roles through tokens and local classes.
Product typography should map to a purpose. The same visual role should mean the same thing across pages, flows, and generated examples.
Vendor requests
One primary H1 per page or major view.
Request details
Groups related content inside a page.
Review the vendor information before submitting this request for approval.
Explains context, requirements, and workflow details.
Request status
Names controls, metadata, and compact interface elements.
Updated 2 hours ago
Supports metadata, helper text, and secondary details.
color.text.primary
Displays token names, paths, commands, and literal values.
Typography decisions should connect semantic structure, visual role, and content purpose. This keeps screens scannable and gives assistive technology a reliable outline.
Vendor management
Review the vendor information before submitting this request for approval.
Choose the correct heading level before choosing visual emphasis. Structure comes before styling.
If a heading looks too large or too small, adjust the component pattern instead of breaking document order.
Use the system roles for headings, body, labels, captions, and code instead of one-off font sizes.
Text should stay readable and predictable across breakpoints. Use responsive layout, not fluid type hacks.
What Typography does not do yet, and what consumers need to compose themselves.
Agents should select typography roles by information architecture and content purpose. They should not invent font sizes to make a panel feel more important.
<section aria-labelledby="request-details-heading">
<h2 id="request-details-heading">Request details</h2>
<p>Review the vendor information before submitting this request.</p>
</section>Typography communicates structure. Use page titles for views, headings for sections, labels for controls, captions for supporting metadata, and code styling only for literal values.