Display text using well-defined typographic styles.
import { Text } from "@/components/ui/text-1"; export default function TruncateDemo() { return ( <div className="max-w-[100px]"> <Text size={16} truncate> The Evil Rabbit jumps. </Text> </div> ); }
Part of Geist — browse the full library on 21st.dev.