Extracting/composing utility classes into component classes using @apply has worked well for me. I was surprised that the Tailwind UI code examples don't include examples of how you would do that especially for things like buttons. Maybe they will add that at some point.