Good to know about the videos. I'll definitely check them out.
https://tailwindcss.com/docs/extracting-components/
You can either use their built-in system or whatever your JS framework provides or both.