Magic UI
Installation
Usage
import { SparklesText } from "@/components/magicui/sparkles-text";
<SparklesText>Sparkles Text</SparklesText>
Props
Prop | Type | Default | Description |
---|---|---|---|
children | string | - | The content to display |
className | string | - | The class name to be applied to the sparkles text. |
sparklesCount | number | 10 | sparkles count that appears on the text |
colors | object | {first: '#A07CFE', second: '#FE8FB5'} | the sparkles colors |
Credits
- Credit to @simonlejeune