I was a utility-class skeptic for longer than I probably needed to be, and Tailwind CSS plus shadcn/ui — the pairing I used on the Dog Shelter Website and leaned on again for Letterboxd Stats — is the thing that actually changed my mind, not an abstract argument about CSS architecture.
Where I stand with it
Both of my real frontend projects use Tailwind as the styling layer, and the Dog Shelter Website specifically pairs it with shadcn/ui for the component layer — filterable dog profile cards, form inputs for the Decap CMS-driven content, the general UI chrome a real client-facing site needs. I’m comfortable with Tailwind’s utility-class model at this point: spacing and layout utilities, responsive breakpoint prefixes, the dark: variant for theme-aware styling, and enough of the configuration file to extend the default theme with project-specific colors and spacing scales rather than fighting the defaults.
shadcn/ui specifically I’ve used as intended — not as a traditional component library you install as a dependency, but as a set of copy-into-your-project component source files you then own and modify directly, built on top of Radix UI’s accessibility-focused primitives. That ownership model is unusual enough that it took me a project to really understand why it’s structured that way, rather than just using it like any other npm-installed UI kit.
What I haven’t done: built a large enough design system that Tailwind’s utility classes started feeling unwieldy at scale (both my real projects are small enough that this hasn’t bitten me), or gone deep on Tailwind’s more advanced features like arbitrary value syntax or plugin authoring beyond the basics.
What I think of it
My original skepticism about utility classes was the standard one: putting flex items-center justify-between gap-4 rounded-lg border p-4 directly in markup looked, on first read, like exactly the kind of unmaintainable inline-styles mess CSS methodologies spent a decade trying to get away from. What actually changed my mind wasn’t an argument, it was building something real and noticing that I was spending dramatically less time context-switching between a markup file and a separate stylesheet, and dramatically less time inventing BEM-style class names for one-off elements that didn’t deserve a semantic name in the first place.
The thing I didn’t expect, and now consider the actual core benefit, is how well Tailwind’s constrained scale — a fixed set of spacing, sizing, and color tokens rather than arbitrary values — enforces a kind of visual consistency almost for free. Projects I’d built with hand-written CSS before Tailwind tended to accumulate slightly inconsistent spacing values over time, a 13px here and a 15px there, just from not wanting to go check what the “correct” value was supposed to be in the moment. Tailwind’s scale removes that friction specifically by making the constrained choice the path of least resistance, and the Dog Shelter Website’s visual consistency is noticeably better for it compared to earlier hand-CSS projects I’ve built.
shadcn/ui’s “own the code, don’t just install it” philosophy is the part I’ve come to respect the most, specifically because of a problem it avoids that I’ve hit with traditional component libraries before: needing a component to behave slightly differently than the library author intended, and either fighting override specificity or forking the whole dependency. With shadcn/ui, the component is just a file in my own project from the start, built on Radix’s accessible primitives, so “slightly different behavior” is a normal edit, not an escape hatch. I think this model is a genuinely different, better answer to the classic “component library vs. full ownership” tradeoff than I’d seen before.
My real complaint, and it’s a genuine one, not a nitpick: markup verbosity. A component with enough responsive, state-variant, and dark-mode classes can produce a class list that’s genuinely hard to visually parse at a glance, and I haven’t found a styling approach for that specific problem that I love — class-sorting plugins and editor tooling help, but they’re a workaround for a real readability cost, not a fix for it. I accept that cost in exchange for the consistency and speed benefits above, but I don’t think it’s fair to pretend it isn’t a cost.
Where I go to learn it
- Tailwind CSS’s official documentation — exceptionally well organized for a utility-class system this large; the searchable utility reference is something I have open in a tab for the entire duration of any frontend session.
- shadcn/ui’s own documentation and component source — since the whole philosophy is “read and own the code,” the documentation is unusually close to just reading well-commented source, which I’ve come to prefer over more abstracted component-library docs.
- Radix UI’s documentation, one level further down the stack — useful specifically for understanding the accessibility behavior shadcn/ui’s components inherit, rather than treating that behavior as a black box.
- Adam Wathan’s (Tailwind’s creator) writing and talks on utility-first CSS — the closest thing to hearing the design rationale straight from the source, and the content that actually walked back my original utility-class skepticism before I’d even built anything with it myself.
Where this is headed
This pairing is now my default for any new frontend work, specifically because both real projects validated it rather than just a framework’s marketing promising it would. The open question is how this holds up at a size neither of my current projects has reached yet — a genuinely large component library, built over a longer time horizon, is the real test of whether Tailwind’s utility classes and shadcn/ui’s ownership model keep paying off, or whether some of my current enthusiasm is really just “this works great at small scale.”