Simple Swirl

Rotating concentric swirl with glow

simple-swirl-tw

Customize

Animation

1
1
0.32
1

Layers

20
0.13
0.05
1
1

Vignette

0
0.47

Glow

0.05
0.05

Color

1

Props

NameTypeDefaultDescription
widthstring | number"100%"Container width
heightstring | number"100%"Container height
classNamestring""Additional CSS classes for styling
childrenReactNodeundefinedContent rendered above the effect
speednumber1Animation speed multiplier (0.01–3.0)
directionnumber1Rotation direction: 1 = clockwise, -1 = counter-clockwise
zoomnumber0.32Overall zoom into the swirl (0.05–2.0)
layersnumber20Number of concentric layers (1–30)
layerStepnumber0.13Spacing increment per layer (0.01–1.0)
twistnumber0.05Rotation per layer in radians (0–0.5)
lineWeightnumber1Line thickness factor (0.1–5.0)
gammanumber1Gamma exponent for contrast (0.1–5.0)
swirlColorstring"#5227FF"Foreground swirl color (hex)
backgroundColorstring"#ffffff"Background fill color (hex)
vignetteStartnumber0Radial fade-out start distance (0–1)
vignetteEndnumber0.47Radial fade-out end distance (0–2)
glowStrengthnumber0.05Center glow intensity (0–1)
glowRadiusnumber0.05Center glow radius (0–0.5)
opacitynumber1Master opacity (0–1)
cursorInteractionbooleanfalseEnable cursor interaction to warp twist and line weight near pointer
cursorIntensitynumber1Cursor effect strength multiplier (0–3)