About
A set of styled heading, paragraph, blockquote, list, inline-code and table text primitives for consistent article/documentation typography.
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 {
TypographyBlockquote,
TypographyH1,
TypographyH2,
TypographyH3,
TypographyH4,
TypographyInlineCode,
TypographyLarge,
TypographyLead,
TypographyList,
TypographyMuted,
TypographyP,
TypographySmall,
} from "@/components/ui/typography";
export default function TypographyDemo() {
return (
<div className="glass-panel overflow-hidden rounded-lg">
<div className="flex min-h-40 items-center justify-center gap-4 p-6">
<div className="w-full max-w-md space-y-4 text-left">
<TypographyH1>Heading One</TypographyH1>
<TypographyH2>Heading Two</TypographyH2>
<TypographyH3>Heading Three</TypographyH3>
<TypographyH4>Heading Four</TypographyH4>
<TypographyLead>
A lead paragraph — slightly larger, muted, sets off a section.
</TypographyLead>
<TypographyP>
Body text with{" "}
<TypographyInlineCode>inline code</TypographyInlineCode>.
</TypographyP>
<TypographyMuted>Muted highlights paragraph.</TypographyMuted>
<TypographyBlockquote>
"The chrome is in the chamfer."
</TypographyBlockquote>
<TypographyList>
<li>first principle</li>
<li>second principle</li>
</TypographyList>
<TypographySmall>small print</TypographySmall>
<TypographyLarge>Large text</TypographyLarge>
</div>
</div>
</div>
);
}
















