Skip to content
Premium & Brand

Sparkles Text

Server Component

Twinkling sparkles around a phrase.

Import

tsx
import { SparklesText } from "@cronus-ui/ui";
bash
npx cronus-ui add sparkles-text

Examples

API Reference

Generated from the component's exported types.

SparklesTextProps

Extends HTMLAttributes<HTMLSpanElement>

Skip SparklesTextProps props table
PropTypeDefaultDescription
ref
Ref<HTMLSpanElement>
count
number4Number of sparkles around the text. Clamped to `2–12`.