Sparkles Text

A dynamic text that generates continuous sparkles with smooth transitions, perfect for highlighting text with animated stars.

API

Prop NameTypeDefaultDescription
classstring-The class to be applied to the sparkles text.
textstring``The text to display.
sparklesCountnumber10sparkles count that appears on the text.
colorsobject{first: '#A07CFE'; second: '#FE8FB5';}The sparkles colors.

Component Code

You can copy and paste the following code to create these components:

SparklesText.vue

Credits