Skip to main content

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.

Headings

Heading uses the appropriate h1–h6 tag based on level. Shorthand exports H1 through H6 are also available.

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.
Use semantic heading levels in order. Visual sizing can be controlled separately with sprinkles props.