Back

Sparkles

Satu Visual ComponentNew

A field of twinkling sparkles as a decorative layer.

Sparkles

Installation

Add it with the CLI:

Terminal

$

Or open the Code tab above and copy it in manually — it relies on the standard cn() helper from @/lib/utils.

Usage

Place inside a relative container as a background or foreground layer.

Props

PropTypeDefaultDescription
densitynumber40Number of sparkles.
classNamestringExtra classes.
colorstring#ffffffSparkle color.