Skip to content
PixiKit

Fling Letters

A line of text whose letters fly off when the pointer touches them, each with its own throw and spin, then drop back into place after a pause.

pixikit.com/docs/effects/fling-letters

Customize

Velocity200
Rotation90°
Scale1.0
Return after1.0s
Duration2.0s

Props

9
NameTypeDefaultDescription
textstringRequiredThe text to render. Each letter can be flung on its own.
classNamestringNone
asElementType"h1"The element the text renders as.
velocitynumber200How far a hovered letter is thrown, in pixels.
rotationnumber90The largest turn a thrown letter makes, in degrees.
scalenumber1The size of a letter while it is thrown, relative to its own size.
returnAfternumber1How long a thrown letter rests at the end of its throw before it comes back, in seconds.
durationnumber2How long the throw and the return each take, in seconds.
styleCSSPropertiesNone

More text effects in Pro

View all

Related