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| Name | Type | Default | Description |
|---|---|---|---|
text | string | Required | The text to render. Each letter can be flung on its own. |
className | string | None | |
as | ElementType | "h1" | The element the text renders as. |
velocity | number | 200 | How far a hovered letter is thrown, in pixels. |
rotation | number | 90 | The largest turn a thrown letter makes, in degrees. |
scale | number | 1 | The size of a letter while it is thrown, relative to its own size. |
returnAfter | number | 1 | How long a thrown letter rests at the end of its throw before it comes back, in seconds. |
duration | number | 2 | How long the throw and the return each take, in seconds. |
style | CSSProperties | None |