Loaders.io is a simple yet fun tool that allows you to create custom loader components and tweak the animations.
It is built upon Framer Motion, an animation library for React. Install the npm package and you can use the generated code in your production app.