{{ field }} interpolation.
Basic Usage
Headings
Four heading levels with decreasing size and weight. H2 includes a subtle bottom border for section separation.Body Text
P gives you standard paragraph text with comfortable line height. Lead is larger and muted for introductory text, while Large emphasizes key information with bolder weight.
Small and Muted Text
Small renders smaller text suited for metadata, while Muted uses the secondary foreground color for less prominent information. Both are useful for timestamps, disclaimers, and supplementary details.
Block Quotes
Inline Code
Renders text with a monospace font and subtle background, ideal for referencing code within prose.Text and Markdown
Text and Markdown are simpler alternatives to the styled components above. Text renders an unstyled <p>, while Markdown parses and renders markdown syntax. Heading is a parametric heading that takes a level kwarg instead of using separate H1-H4 classes.
Simpler Alternatives
css_class.
Bold & Italic
All text components acceptbold and italic props for quick emphasis without reaching for CSS classes:
API Reference
Styled Text Components
H1, H2, H3, H4, P, Lead, Large, Small, Muted, BlockQuote, InlineCode all share this interface:Text content. Can be passed as a positional argument.
Render text in bold weight.
Render text in italic style.
Additional Tailwind CSS classes appended to the component’s built-in styles.
Protocol Reference
Text
Heading
Markdown