General
Typography
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,
Import
Code
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
Usage
Wrap any content that needs prose formatting with the Typography component. It will automatically style headings, paragraphs, lists, and other text elements:
Code
Example
Hello World
This is a paragraph
- Item 1
- Item 2
- Item 3
Last modified on