Wrap any content and optionally pass CSS color values. Shape and border radius are controlled through class; no radius is applied by default. Empty color arrays use the built-in spectrum, and reduced-motion preferences are respected.
API reference
Prop
Type
Default
Description
colors
string[]
built-in spectrum
Colors used by the visual effect.
intensity
number (0–1)
0.16
Strength of the visual effect.
duration
number (milliseconds)
5000
Duration of the animation in milliseconds.
class
string
—
Tailwind CSS classes applied to the component root.
children
Snippet
required
Content rendered inside the component.
Source
These files are included in the registry item and copied into the consuming project.