Text

The quick brown fox jumps over the lazy dog

Installation

Install the component via the CLI in one command.

npx shadcn@latest add @intentui/text

Manual installation

Use this approach if you prefer to install and wire up the component yourself instead of using the CLI.

npm install tailwind-merge tailwind-variants

Anatomy

import { Text } from "@/components/ui/text"

<Text>The quick brown fox jumps over the lazy dog</Text>

Examples

Loading...

Component API

Code

The Code component renders inline code text.

PropTypeDefault
classNamestring-

Strong

The Strong component renders emphasized text.

PropTypeDefault
classNamestring-

Text

The Text component renders paragraph text.

PropTypeDefault
classNamestring-

The TextLink component renders a styled text link.

PropTypeDefault
classNamestring-