CursorsProNew

Smoke Trail

Soft smoke trails behind the cursor and slowly fades. The layer is transparent and sits over any block.

Customize

color

A Codearia component ยท Terms of use

Props

8 properties
PropertyTypeDefaultDescription
colorstring"#f5f5f5"Smoke color.
radiusnumber0.05Trail thickness, as a share of the block height.
persistencenumber0.6How long the smoke stays.
turbulencenumber1Swirl strength.
opacitynumber0.85Smoke opacity.
autoDemobooleantrueDraw a figure eight until the cursor moves.
childrenReactNodeโ€”Content on top of the effect.
classNamestringโ€”Classes for the wrapper.

Dependencies

3 required packages

npm install ogl clsx tailwind-merge

Related components

View all