04.10 · Micro-Interactions
Shimmer Effect
A band of light sweeps over gray placeholders. Best for loading screens.
Watch it
It moves by itself. Pause it to look closely, or turn on slow motion to see each part of the movement.
Inside, the band of light is shown past the card too, faint: it slides across again and again, and the card's edges cut it off.
Mixed directions: the card's light and the row's cross each other, which looks restless; One direction: every placeholder sweeps the same way, like content streaming in.
Try it
Change a setting and see the difference as it moves.
Speed
One sweep every half second to a second feels calm.
Brightness
How strong the band of light is.
Highlight angle
The slant of the band as it sweeps across.
Copy the prompt
Paste it into an AI assistant such as ChatGPT, Claude or Cursor to build this in your own project.
Add a shimmer to [the skeleton placeholders on your loading screen]. Lay a band of light over each placeholder and sweep it across in one direction, again and again, so the gray shapes look like content streaming in. Every placeholder on the page should shimmer in the same direction, and each one must clip the band to its own edges so it never spills out. Keep the band see-through so it works on any placeholder color. If the visitor has reduced motion turned on, keep the placeholders still. Match the settings listed below.
Your settings
Replace the words in brackets with your own element. Your settings are added at the end.
Free and open source. If this helped, a star on GitHub helps other people find it.
Star on GitHubWhat it is
The full explanation is in README.md.