Letter Cascade

About this component

Letter Cascade

Short text whose characters arrive one by one out of a light blur, for eyebrows, labels and single words. The element keeps the whole string as its accessible name.

Usage

The import and the props worth knowing about, in one place.

import { Text3 } from "@/components/beste/component/text3";

<Text3
  as="p"
  text="Therapy and coaching, Lisbon"
  className="text-sm uppercase tracking-[0.25em] text-muted-foreground"
/>

<Text3 text="Altair" as="span" trigger="mount" stagger={0.05} className="font-serif text-6xl" />

Props

Read from the component's own type, so this cannot drift from what it accepts.

PropTypeDefaultDescription
text*string—Short text; every character arrives on its own
as"h1" | "h2" | "h3" | "p" | "span"—
trigger"view" | "mount"—
delaynumber—
staggernumber—
durationnumber—
classNamestring—

More Text components

View all Text

The fog lifts a little later each morning.