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.

If you enjoyed this article...

Join 5.5k readers and learn something new every week with Web Weekly.

Web Weekly — Your friendly Web Dev newsletter
Reply to this post and share your thoughts via good old email.
Stefan standing in the park in front of a green background

About Stefan Judis

Frontend nerd with over ten years of experience, freelance dev, "Today I Learned" blogger, conference speaker, and Open Source maintainer.

Related Topics

Related Articles