soralabs

Typer

Text 21

About

A text component that reveals a string character-by-character, with each glyph flickering through randomized filled-pill, accent, and outline states before settling into plain text.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Typer to your project and fits it to your theme.

Code

How Typer is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { Typer, type TyperProps } from "@/components/ui/typer";

export default function TyperExample({
  fps = 20,
  cycles = 3,
  stagger = 0.15,
  startOnView = true,
  accent = "#12a150",
}: Partial<TyperProps>) {
  return (
    <div className="flex w-full items-center justify-center px-6 py-16">
      <Typer
        accent={accent}
        className="font-semibold text-xl leading-[1.15] tracking-tight sm:text-2xl"
        cycles={cycles}
        fps={fps}
        stagger={stagger}
        startOnView={startOnView}
        text={"Type that assembles itself, one glyph at a time."}
      />
    </div>
  );
}

More by soralabs

View all
  • Scroll Gallery

    Scroll Gallery

    203
  • Dia Text Reveal

    Dia Text Reveal

    143
  • Dock Nav

    Dock Nav

    133
  • Text Reveal Block

    Text Reveal Block

    105
  • Pixelated Image Reveal

    Pixelated Image Reveal

    94
  • Text Roll

    Text Roll

    60
  • Custom Cursor

    Custom Cursor

    47
  • Section CTA

    Section CTA

    28

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    103
  • Motion Blur Text

    Motion Blur Text

    36
  • NeonRGBTextEffect

    NeonRGBTextEffect

    144
  • Text Reveal

    Text Reveal

    27
  • Random Letter Swap

    Random Letter Swap

    46
  • Rainbow Text Effect

    Rainbow Text Effect

    47
  • Text Color

    Text Color

    545
  • Blur Reveal

    Blur Reveal

    300