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

    8
  • Block UI

    Block UI

    2
  • Clipboard

    Clipboard

  • Rating Group

    Rating Group

  • Date Input

    Date Input

  • Grid

    Grid

More in Text

View all
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    15
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    135
  • Scroll Fill Headline

    Scroll Fill Headline

    67
  • Blur Reveal

    Blur Reveal

    401
  • Apple Hello Effect

    Apple Hello Effect

    692
  • Rainbow Text Effect

    Rainbow Text Effect

    61
  • Text Reveal

    Text Reveal

    31
  • NeonRGBTextEffect

    NeonRGBTextEffect

    156