Typography
Text primitives
Text renders a span by default and can render common inline or block tags with as. SizableText adds a coordinated fontSize and lineHeight size scale: xs, sm, md, lg and xl.
- Preview
- Code
Headings
Heading uses the appropriate h1–h6 tag based on level. Shorthand exports H1 through H6 are also available.
- Preview
- Code
Paragraph and Anchor
Paragraph is a SizableText configured as a paragraph with a default md size. Anchor renders an accessible, styled link and accepts href, target, rel, and disabled.
- Preview
- Code