bysages

Typography

Text 12

About

A set of styled text primitives (display, heading, lead, body, muted, label) for building consistent typographic hierarchy in an interface.

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 TypographyDemo() {
  return (
    <div
      style={{ display: "grid", gap: "var(--bs-space-4)", maxWidth: "36rem" }}
    >
      <Typography.Display>以光为影</Typography.Display>
      <Typography.Heading>The paper-and-ink system</Typography.Heading>
      <Typography.Lead>
        Interfaces are warm paper, content is ink, hierarchy is light.
      </Typography.Lead>
      <Typography.Body>
        Surfaces are never pure white; the ground rests in ambient shade.
        Primary actions default to ink — monochrome, solemn — with
        mineral-pigment accents switchable by theme.
      </Typography.Body>
      <Typography.Muted>
        Revised autumn 2026 · Typeset in the eastern studio
      </Typography.Muted>
      <Typography.Label>SECTION IV — MOTION GRAMMAR</Typography.Label>
    </div>
  );
}

Dependencies

More by bysages

View all
  • Switch

    Switch

    18
  • Avatar Group

    Avatar Group

    14
  • Spinner

    Spinner

    7
  • Block UI

    Block UI

    2
  • Clipboard

    Clipboard

  • Rating Group

    Rating Group

  • Date Input

    Date Input

  • Grid

    Grid

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