I made a collection of loading states for Tailwind. It was relatively easy exercise, and I’m surprised I didn’t find anything like it out there already.
You might recognise the first element from the Tailwind Docs, which demonstrates how to use the animate-pulse
class to make it look like it’s in the process of loading in.
Here’s the CodePen:
See the Pen Tailwind Loading UI Elements by Ben Read (@endymion1818) on CodePen.
Feel free to copy or remix this pen, I’m not precious about it and just wanted a collection I could reference for some other work I was doing.