Text is used to display customizable text content with control over its HTML element type.
The best way to predict the future is to invent it.
import Text from "@radui/ui/Text" const TextExample = () => ( <div> <Text>Lorem ipsum</Text> </div> )
A component for displaying text content with customizable styling.
Prop | Type | Default |
---|---|---|
as | enum | p |
children | ReactNode | -- |
className | string | '' |
customRootClass | string | '' |