Just to discuss tailwind style application, via @apply or markup. Demonstrating using a custom component, that itself makes use of @apply in styles, and also the addition of daisyui. This allows definition of global design tokens, a layered style plugin system, complete style isolation, and zero runtime js.
Check the sample button component.