CrazyGLCrazyGLHomeExploreGitHubBrowse heroesLoading hero…← Back to gallery@crazygl/dropcap

Drop Cap

Editorial paragraph with a single, oversized serif drop-cap that overhangs the leading margin — drop straight into a magazine layout.

ReactFont#dropcap#editorial#typography

Usage

import DropCap from '@crazygl/hero-dropcap';

export default function Hero() {
  return (
    <DropCap
      body="It begins with a single letter — a quiet kind of restraint."
      dropCapColor="#ffd86b"
      dropCapSize={5}
    />
  );
}

Customise

  • Contentbody paragraph text (the first character becomes the drop-cap).
  • Drop-capdropCapColor, dropCapSize (em scale), dropCapLines (lines spanned).
  • TypographytextColor, fontSize, headingFontFamily (Google font), headingFontWeight, lineHeight.
  • BackdroptransparentBackground, bgColor.

Best for

  • Editorial / magazine landing pages and long-form intros.
  • Blog or essay headers that want a literary, print feel.
  • Brand stories where typography carries the tone.
01 · Install the package

One command, zero config.

npm install @crazygl/hero-dropcap
02 · Render the component

Import once, drop it in.

The component takes the same props you see in the live customizer on the right — every default ships poster-quality.

hero.tsx
import DropCap from '@crazygl/hero-dropcap';

export default function Landing() {
  return (
    <DropCap />
  );
}
03 · Use it in a page

SSR-safe by default.

The wrapper renders static HTML on the server and only initialises the canvas after hydration, so search engines see your copy.

page.tsx
// app/page.tsx — works in SSR-first frameworks (Next, Remix, Astro, etc.)
'use client';

import DropCap from '@crazygl/hero-dropcap';

export default function Page() {
  return (
    <section>
      <DropCap
        heading="Say hi."
        subheading="Your new hero."
      />
      <article>
        <h2>Welcome</h2>
        <p>Your content keeps its own voice below the hero.</p>
      </article>
    </section>
  );
}
You might also like

Similar heroes

Text Start Indent

Editorial-style paragraph with the first line indented and a giant drop-cap that overhangs into the margin — magazine-grade typography out of the box.

Progressive Blur Text

A giant display word that is razor-sharp at the top and melts into a progressively heavier blur toward the bottom — a true variable-radius blur per row, not a gradient-masked copy. Bold, editorial, fully recolourable.

Kinetic Split Typography

A bold grotesk headline is split into horizontal slices that fly in from alternating sides, settle into alignment, and then parallax against the pointer at different depths.

Gradient Text

Heading filled with a slowly drifting multi-stop linear gradient — three configurable colours, customizable angle, optional animation.

Cursor Shadow Text

The heading casts a real drop shadow whose direction tracks the cursor — like a single fixed light moving across the room.

Keyboard Keys

Phrase rendered as physical keyboard keys — each cap presses down on a stagger like someone typing it out for you.
Live customizer

Drop Cap

Drop-cap colourDrop-cap scale (em)5emLines spanned3Body colourBody font size24pxFontWeight500Line height1.5Transparent backgroundBackground
CrazyGL · crazygl.comProgrammable hero sections for real websites.