Animation not working #256
Answered
by
srmagura
SerenadeOfDreams
asked this question in
Q&A
|
Hello. I'm using the skeleton on a project, with the css import but the animation is not working. It just shows up as a static element. The skeleton is like this: |
Answered by
srmagura
Jul 16, 2026
Replies: 1 comment 1 reply
1 reply
Answer selected by
SerenadeOfDreams
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Hi, thanks for your question.
Idea 1
Can you try this without passing in CSS variable syntax as props to the Skeleton? I can't remember if we support that.
Idea 2
Can you check if you have enabled the "Prefers reduced motion" setting in your OS? Here is where to find it, according to AI:
React Loading Skeleton purposefully does not display an animation when "prefers reduced motion" is enabled.
Idea 3
If neither of these help, please post a runnable example. Either CodeSandbox or a small GitHub repo is fine.