tetra-ui Logotetra ui

Text

A lightweight wrapper around the React Native Text component to provide default styles.

In Uniwind and React Native, there is no way to add base styles to all components. Therefore, we use component composition to provide a Text component that applies any necessary default styles.

Installation

npx shadcn@latest add @tetra-ui/text

Usage

import { Text } from "@/components/ui/badge";
<Text>tetra-ui is awesome</Text>

On this page