Files
shadcn-ui/apps/v4/content/docs/components/base/typography.mdx
shadcn 74c4c7508b docs: review all docs (#10058)
* docs: review all docs

* fix

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* docs(spinner): reintroduce data-icon attribute guidance in radix spinner docs (#10059)

* Initial plan

* docs: add data-icon attribute instructions to radix/spinner.mdx button and badge sections

Co-authored-by: shadcn <124599+shadcn@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: shadcn <124599+shadcn@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2026-03-16 13:29:23 +04:00

79 lines
1.5 KiB
Plaintext

---
title: Typography
description: Styles for headings, paragraphs, lists, etc.
base: base
component: true
---
We do not ship any typography styles by default. This page is an example of how you can use utility classes to style your text.
<ComponentPreview
styleName="base-nova"
name="typography-demo"
className="[&_.preview]:h-auto!"
hideCode
/>
## h1
<ComponentPreview styleName="base-nova" name="typography-h1" />
## h2
<ComponentPreview styleName="base-nova" name="typography-h2" />
## h3
<ComponentPreview styleName="base-nova" name="typography-h3" />
## h4
<ComponentPreview styleName="base-nova" name="typography-h4" />
## p
<ComponentPreview styleName="base-nova" name="typography-p" />
## blockquote
<ComponentPreview styleName="base-nova" name="typography-blockquote" />
## table
<ComponentPreview styleName="base-nova" name="typography-table" />
## list
<ComponentPreview styleName="base-nova" name="typography-list" />
## Inline code
<ComponentPreview styleName="base-nova" name="typography-inline-code" />
## Lead
<ComponentPreview styleName="base-nova" name="typography-lead" />
## Large
<ComponentPreview styleName="base-nova" name="typography-large" />
## Small
<ComponentPreview styleName="base-nova" name="typography-small" />
## Muted
<ComponentPreview styleName="base-nova" name="typography-muted" />
## RTL
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
<ComponentPreview
styleName="base-nova"
name="typography-rtl"
direction="rtl"
className="[&_.preview]:h-auto!"
/>