Skip to Content
ComponentsTypography

Typography

Typography component is used to render text and paragraphs within an interface.

GitHub LogoSource Code

Root component

The HvTypography component is a polymorphic component. Its default component is p, but it can be changed to any other element through the component prop.

Typography as a spanTypography as a link

You can also change the root component of the HvTypography component to a custom component.

Color

You can style the text color using any of the styling strategies we recommend.

This is a typography

This is a typography

This is a typography

While the HvTypography component doesn’t directly support having an external link icon, you can easily create a custom component that includes this functionality and use it as the root component for HvTypography.

Last updated on