Skip to content
PixiKit

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
NameTypeDefaultDescription
preset"domino" | "flip" | "rewind" | "rubber" | "heavy" | "steady"NoneA named look that sets several props at once. A prop you pass yourself wins over it.
textstring"One good move"The headline.
as"span" | "div" | "p" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6""span"The element the headline renders as.
colorstring"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.
introbooleantrueStarts 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.
delaynumber0.2The wait before the intro, in seconds.
staggernumber0.03The delay between one letter and the next, in seconds.
gravitynumber1How fast letters fall.
leannumber58The angle a fallen letter rests at, in degrees.
stiffnessnumber1How firmly a letter stands back up.
dampingnumber0.55How quickly the wobble dies down.
holdnumber1.2How long letters stay down before they rebuild, in seconds.
pushnumber1How strongly the pointer nudges the letters it passes. 0 turns it off.
toppleAtnumber30The tilt, in degrees, past which a nudged letter falls over. 90 means the pointer never topples letters.
chainbooleantrueA falling letter knocks the next one over.
clickTopplebooleantrueClicking knocks the line down outward from the clicked letter.
shadenumber0.6How much a leaning letter dims.
loopbooleanfalseTopples and rebuilds again and again.
loopDelaynumber8The time between loops, in seconds.
area"parent" | "self""parent"Where the pointer is followed: over the parent, or only over the text.
pausedbooleanfalseFreezes the letters as they are.
fontSizestring | number"clamp(2.75rem, 9vw, 6.5rem)"The font size.
fontWeightnumber700The font weight.
uppercasebooleanfalseSets the text in capitals.
refRef<ToppleTypeHandle>NoneGives rise and topple.
classNamestringNone
styleCSSPropertiesNone

Related