Think React-style. A button becomes a component. Otherwise your page may look noisy with each element having 5-10 tags attached.
https://tailwindcss.com/docs/extracting-components/
You can either use their built-in system or whatever your JS framework provides or both.