ghaerdi

Typography

Text

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>
  );
}

More by ghaerdi

View all
  • Toast Notification

    Toast Notification

    3
  • Chart

    Chart

    2
  • Accordion

    Accordion

  • Calendar

    Calendar

  • Neon Glass Select

    Neon Glass Select

  • Skeleton

    Skeleton

  • Radio Group

    Radio Group

  • Neon Status Badge

    Neon Status Badge

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    134
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    9
  • Text Reveal

    Text Reveal

    31
  • Rainbow Text Effect

    Rainbow Text Effect

    61
  • Scroll Fill Headline

    Scroll Fill Headline

    44
  • Shine Border

    Shine Border

    1K
  • Split text

    Split text

    79
  • Motion Blur Text

    Motion Blur Text

    47