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. |
textstringDisplay text to animate.
Default
"VANISH"smokeYnumberVertical offset (px) each character floats to on hover. Negative floats up, positive sinks down.
Default
-20smokeScalenumberScale factor applied to a character on hover, e.g. 1.6 grows it 60%.
Default
1.6smokeBlurnumberBlur intensity (px) applied on hover to create the smoke dissolve look.
Default
8returnEasestringGSAP ease used when the character returns to its resting state on mouse leave.
Default
"back.out(2)"colorstringCSS color value applied to each character, e.g. "#fff" or "crimson".
Default
"#d35af8"classNamestringExtra classes applied to the root wrapper div.
Default
""Dependencies
gsap 3.15.0
Crafted withbyMohammad Tasin
