Topple Type
A headline whose letters tip over like dominoes: a passing pointer nudges them, a hard push or a click starts a chain, the fallen letters dim where they lie, then the line stands back up with a wobble.
pixikit.com/docs/effects/topple-type
Customize
Preset
Color
Fall
Direction
Intro
Trigger
Delay0.20s
Stagger0.030s
Gravity1.00
Lean58°
Stiffness1.00
Damping0.55
Hold1.2s
Push1.00
Topple at30°
Chain
Click topple
Shade0.60
Loop
Loop delay8.0s
Area
Paused
Font size104px
Font weight
Uppercase
Props
30| Name | Type | Default | Description |
|---|---|---|---|
preset | "domino" | "flip" | "rewind" | "rubber" | "heavy" | "steady" | None | A named look that sets several props at once. A prop you pass yourself wins over it. |
text | string | "One good move" | The headline. |
as | "span" | "div" | "p" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "span" | The element the headline renders as. |
color | string | "currentColor" | The colour of the letters. |
fall | "side" | "back" | "side" | Whether letters tip sideways onto each other or fall onto their backs. |
direction | "right" | "left" | "right" | The way the chain runs. |
intro | boolean | true | Starts with the letters down and stands them up. |
trigger | "view" | "mount" | "view" | When the intro plays: the first time the text is in view, or on mount. |
delay | number | 0.2 | The wait before the intro, in seconds. |
stagger | number | 0.03 | The delay between one letter and the next, in seconds. |
gravity | number | 1 | How fast letters fall. |
lean | number | 58 | The angle a fallen letter rests at, in degrees. |
stiffness | number | 1 | How firmly a letter stands back up. |
damping | number | 0.55 | How quickly the wobble dies down. |
hold | number | 1.2 | How long letters stay down before they rebuild, in seconds. |
push | number | 1 | How strongly the pointer nudges the letters it passes. 0 turns it off. |
toppleAt | number | 30 | The tilt, in degrees, past which a nudged letter falls over. 90 means the pointer never topples letters. |
chain | boolean | true | A falling letter knocks the next one over. |
clickTopple | boolean | true | Clicking knocks the line down outward from the clicked letter. |
shade | number | 0.6 | How much a leaning letter dims. |
loop | boolean | false | Topples and rebuilds again and again. |
loopDelay | number | 8 | The time between loops, in seconds. |
area | "parent" | "self" | "parent" | Where the pointer is followed: over the parent, or only over the text. |
paused | boolean | false | Freezes the letters as they are. |
fontSize | string | number | "clamp(2.75rem, 9vw, 6.5rem)" | The font size. |
fontWeight | number | 700 | The font weight. |
uppercase | boolean | false | Sets the text in capitals. |
ref | Ref<ToppleTypeHandle> | None | Gives rise and topple. |
className | string | None | |
style | CSSProperties | None |