Published at
Updated at
Reading time

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 8 days ago.
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