Menu
Smoke Away
VANISH
Customize
Text
Smoke Y (px)-20
Smoke Scale1.6
Smoke Blur (px)8
Props
| Property | Type | Default | Description |
|---|---|---|---|
text | string | "VANISH" | Display text to animate. |
smokeY | number | -20 | Vertical offset (px) each character floats to on hover. Negative floats up, positive sinks down. |
smokeScale | number | 1.6 | Scale factor applied to a character on hover, e.g. 1.6 grows it 60%. |
smokeBlur | number | 8 | Blur intensity (px) applied on hover to create the smoke dissolve look. |
returnEase | string | "back.out(2)" | GSAP ease used when the character returns to its resting state on mouse leave. |
color | string | "#d35af8" | CSS color value applied to each character, e.g. "#fff" or "crimson". |
className | string | "" | Extra classes applied to the root wrapper div. |
textTypestring
Default
"VANISH"Display text to animate.
smokeYTypenumber
Default
-20Vertical offset (px) each character floats to on hover. Negative floats up, positive sinks down.
smokeScaleTypenumber
Default
1.6Scale factor applied to a character on hover, e.g. 1.6 grows it 60%.
smokeBlurTypenumber
Default
8Blur intensity (px) applied on hover to create the smoke dissolve look.
returnEaseTypestring
Default
"back.out(2)"GSAP ease used when the character returns to its resting state on mouse leave.
colorTypestring
Default
"#d35af8"CSS color value applied to each character, e.g. "#fff" or "crimson".
classNameTypestring
Default
""Extra classes applied to the root wrapper div.
Dependencies
gsap 3.15.0
Crafted withbyMohammad Tasin
