mirror of
https://github.com/hanzoai/ui.git
synced 2026-11-20 22:36:27 +00:00
Squash merge of shadcn-ui/ui main branch into hanzo/ui, bringing in: - [email protected] through [email protected] releases - New apps/v4 directory structure - Registry system improvements and MCP server - Framework support (Vue, Svelte, React Native) - New templates (vite-app, monorepo-next, laravel) - Zod 4 compatibility (scoped override for zod@>4) - Test fixture corrections for alias resolution All 867 merge conflicts resolved preserving Hanzo customizations. 1020/1020 shadcn tests pass.
79 lines
1.5 KiB
Plaintext
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"
|
|
/>
|