With only CSS and SVG you can make very creative animations with tiny filesizes and high performance. JavaScript frameworks are incredible, but sometimes they can really work the processors hard and turn your fans on. CSS animations are incredibly performant and SVGs are tiny in file size.
There's a fantastic tutorial here: https://youtu.be/UTHgr6NLeEw by Fireship which demonstrates using to create the SVG and then animate with CSS. This workflow is very easy and Figma is a very useful tool to create SVGs.
A great workflow is like so:
Have a play with the html on the repo below for the first link above:
https://github.com/amcc/svg-rainbow-circle
The second url above with multiple examples is here:
https://github.com/amcc/svg-css-circles/