Skip to content

Text

Typography primitives with shadcn-style variants (h1-h4, p, lead, muted, blockquote, code).

Terminal window
npx github:truongnat/rnui#cli add text

or directly via the shadcn CLI:

Terminal window
npx shadcn add https://<registry-base>/r/nativewind/text.json # or /uniwind/

npm dependencies installed automatically: tailwind-variants

<Text variant="h1">Title</Text>
<Text variant="p">Body text</Text>
<Text variant="muted">Muted text</Text>
  • components/ui/text.tsx

Installs together with: utils, theme