About
A polymorphic text component with semantic heading/body/caption variants, weight, alignment, truncation and line-clamp options for consistent typographic styles.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Typography to your project and fits it to your theme.
Code
How Typography is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Typography } from "@/components/ui/typography";
export default function TypographyCustomColorDemo() {
return (
<Typography color="--tatva-color-primary-600">Themed color</Typography>
);
}














