Text is used to display customizable text content with control over its HTML element type.

import Text from "@radui/ui/Text"
Preview

The best way to predict the future is to invent it.

React
import Text from "@radui/ui/Text" const TextExample = () => ( <div> <Text>Lorem ipsum</Text> </div> )
  • Renders as different HTML elements (p, span, div, label)
  • Customizable with className and style props
  • Preserves accessibility with proper semantic elements
  • Lightweight and simple to use

A component for displaying text content with customizable styling.

PropTypeDefault
as
enum
p
children
ReactNode—
className
string''
customRootClass
string''