Atoms

Sparkle

Add ✦ to any noun to ship it twice as fast.

The mandatory four-pointed star. Defaults to a twinkling gradient glyph. Pass `solid` for a monochrome variant; pass `static` to stop the twinkle.

Install

Copy this owned-code component into your app from the registry.

pnpm dlx shadcn-svelte@latest add https://benjamin-brady.github.io/performative-ui-svelte/registry/sparkle.json

Examples

Default
Generate
<Sparkle />
Solid (no gradient)
Pro
<Sparkle solid />
Custom glyph
Magic
<Sparkle glyph="❖" />

Props

PropTypeDefaultDescription
glyphstring"✦"The character to render.
solidboolean-Skip gradient; render in currentColor.
staticboolean-Disable the twinkle animation.
Next GradientText ]