CrazyGLCrazyGLHomeExploreGitHubBrowse heroesLoading hero…← Back to gallery@crazygl/smart-typewriter-pro

Smart Typewriter Pro

Typewriter that only deletes the diverging tail between phrases — keeps shared prefixes intact and types only the new ending, like a writer correcting themselves.

ReactFont#typewriter#smart#typography

Usage

import SmartTypewriterPro from '@crazygl/hero-smart-typewriter-pro';

export default function Hero() {
  return (
    <SmartTypewriterPro
      phrases={`We design websites.\nWe design experiences.\nWe design brands.`}
      typeSpeed={70}
    />
  );
}

Customise

  • Contentphrases (one phrase per line).
  • TimingtypeSpeed, deleteSpeed, holdMs.
  • Cursorcursor glyph (|, _, ), cursorColor.
  • TypographytextColor, fontSize, headingFontFamily, headingFontWeight.
  • BackdroptransparentBackground, bgColor.

Best for

  • Agency, studio, and product landing pages with a rotating value prop
  • Developer-tool and SaaS heroes cycling feature claims
  • Portfolio intros and brand statements
  • Any hero where a smart, self-correcting headline reads as polished
01 · Install the package

One command, zero config.

npm install @crazygl/hero-smart-typewriter-pro
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 SmartTypewriterPro from '@crazygl/hero-smart-typewriter-pro';

export default function Landing() {
  return (
    <SmartTypewriterPro />
  );
}
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 SmartTypewriterPro from '@crazygl/hero-smart-typewriter-pro';

export default function Page() {
  return (
    <section>
      <SmartTypewriterPro
        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

Typewriter Effect

A cycling wordmark that types itself out character by character, pauses, deletes, and rolls to the next word — with a blinking block cursor that glows softly against a layered atmospheric backdrop.

Type Writer Custom

A typewriter with fully customisable per-step sequencing: type N chars, pause, delete M chars, type more, then loop.

Pro Text Type Effect

A pro-grade typewriter: cycles through multiple strings with variable per-character speed, fluid font sizing (clamp), per-line gradient fills, and a choice of cursor characters from block to slug to bar.

Circular Text Pro

Three concentric rings of text spinning at independent speeds, with a centred wordmark and accent dots — a fully composed badge.

Rotating Text Pro

Slot machine with a 3D flip in X — the rotating word flips over a horizontal axis like a split-flap board.

Scroll Reveal Pro

Multi-line heading where each line is masked and rises into view as the visitor scrolls — staggered, eased, with a small blur dropoff.
Live customizer

Smart Typewriter Pro

Type speed (ms)70msDelete speed (ms)30msHold (ms)1400msCursorCursor colourText colourFont size76pxFontWeight700Transparent backgroundBackground
CrazyGL · crazygl.comProgrammable hero sections for real websites.