• Docs
  • Components
  • Typography

Typography - Aspect UI

The Typography component provides predefined styles for headings, body text, quotes, and more. It ensures consistent text rendering and semantic hierarchy.

Table of Contents#

Typography Props#


PropTypeDefaultDescription
varianth1 h2 h3 h4 h5 h6 display-1 display-2 body-1 body-2 caption''Determines the typography style variant, such as heading, display, body text, or caption.
tagNameh1 h2 h3 h4 h5 h6 p caption span'p'Specifies the HTML tag to render for the text.
childrenReact.ReactNode-Content to be displayed within the typography element.
classNamestring''Additional CSS class for the typography element.