Utility-first does not mean “no components.” It means defaults are atomic classes (margin, display, color) and components are optional composition layers (cards, nav bars) when repetition appears.
Compared to BEM-only CSS
BEM gives you .card__title with styles bundled in one place. Utilities give you tu-text-lg tu-font-bold directly on the element. Both can coexist.
Important interview questions and answers
- Q: What problem do utilities solve?
A: They standardize micro-decisions (spacing, alignment) so teams ship faster with fewer bespoke rules. - Q: What is the main risk?
A: HTML noise and specificity/order bugs when utilities fight component CSS.