bysages

Typography

Text 9

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

    17
  • Avatar Group

    Avatar Group

    11
  • Spinner

    Spinner

    5
  • Block UI

    Block UI

    1
  • Date Input

    Date Input

  • Grid

    Grid

  • Float Button

    Float Button

  • Timeline

    Timeline

More in Text

View all
  • Motion Blur Text

    Motion Blur Text

    45
  • Rainbow Text Effect

    Rainbow Text Effect

    58
  • Short Slide Down

    Short Slide Down

    45
  • Blur Reveal

    Blur Reveal

    72
  • Text Reveal

    Text Reveal

    29
  • Apple Hello Effect

    Apple Hello Effect

    659
  • Text Highlight

    Text Highlight

    96
  • Scroll Fill Headline

    Scroll Fill Headline

    13