Published at
Updated at
Reading time
1min

Inspired by Zach Leatherman and the community's recent rediscovery of HTML web components, I sat down to write a quick component to make text sparkle. There can't be enough sparkles (and confetti), right?

Here are some examples of what <sparkly-text /> can do. 👇

Here's a  sparkly-text  in a headline

And here's a paragraph with bigger sparkles.

And here are some colorful sparkles.

If you want to play around with it find the source code on GitHub.

Was this post helpful?
Yes? Cool! You might want to check out Web Weekly for more web development articles. The last edition went out 1 days ago.

Related Topics

Related Articles

About the author

Stefan standing in the park in front of a green background

Frontend nerd with over ten years of experience, "Today I Learned" blogger, conference speaker, Tiny helpers maintainer, and DevRel at Checkly.