Components
Typography
This documentation is for the preview version of the Dev Portal. If you are using the legacy developer portal, please refer to the docs.
The Typography component applies consistent prose styling to text content using Tailwind's typography plugin. It automatically formats headings, paragraphs, lists, and other text elements with appropriate spacing, font sizes, and styling that adapts to both light and dark themes.
This component is particularly useful when rendering markdown content or when you need consistent text formatting across your documentation.
Props
Code(ts)
Usage
Wrap any content that needs prose formatting with the Typography component. It will automatically style headings, paragraphs, lists, and other text elements:
Code(tsx)
Last modified on