<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/5-tailwind-css-anti-patterns-to-avoid-7bhmswsd0" -->

---
title: 5 Tailwind CSS Anti-Patterns to Avoid | daily.dev
description: Tailwind CSS has been a game-changer for developers, but there are anti-patterns to avoid when working with it. Avoid relying solely on the built-in color...
canonical: https://daily.dev/posts/5-tailwind-css-anti-patterns-to-avoid-7bhmswsd0
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: 5 Tailwind CSS Anti-Patterns to Avoid | daily.dev
og:description: Tailwind CSS has been a game-changer for developers, but there are anti-patterns to avoid when working with it. Avoid relying solely on the built-in color...
og:url: https://daily.dev/posts/5-tailwind-css-anti-patterns-to-avoid-7bhmswsd0
og:image: https://api.daily.dev/og/posts/7BHmSWSD0.png
og:image:alt: 5 Tailwind CSS Anti-Patterns to Avoid
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# 5 Tailwind CSS Anti-Patterns to Avoid

**[Atomic Spin](https://daily.dev/sources/atomicobject)** · 4 min read · 484 upvotes · 32 comments

## Summary

Tailwind CSS has been a game-changer for developers, but there are anti-patterns to avoid when working with it. Avoid relying solely on the built-in color palette, under-utilize theme customization, and use a component-based framework. Additionally, avoid using the `@apply` directive and using Tailwind in domain-level components.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://spin.atomicobject.com/tailwind-css-anti-patterns/>

## Community discussion

Top comments from developers on daily.dev.

**@przemekhernik** · 14 upvotes

> Great article! Tailwind is a valuable tool but only in the right hands. I've seen many tailwind projects but they were poor, because developers didn't pay enough attention too good practices there 😀

**@sebconejo** · 9 upvotes

> Great post. I recently spoke with the founder of [nuejs](https://nuejs.org/). He is working on an aternative to tailwind with a more scalable and professional approach. Do you know it? Check out his posts, they're pretty close to what you're thinking.

**@kenobi** · 4 upvotes

> just avoid tailwindcss

**@dertimonius** · 3 upvotes

> Only agree on 2 and 4, hard disagree on the rest.

**@robertoumbelino** · 2 upvotes

> Nice article, tailwind is powerful 😍, but need attention with anti-patterns.

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments
- [CNCF Unveils Schedule for KubeCon \+ CloudNativeCon Europe 2026](https://daily.dev/posts/cncf-unveils-schedule-for-kubecon-cloudnativecon-europe-2026-ikhcoa5cb) · CNCF · 2 upvotes · 0 comments
- [CNCF Debuts KubeCon \+ CloudNativeCon Japan 2026 Schedule](https://daily.dev/posts/cncf-debuts-kubecon-cloudnativecon-japan-2026-schedule-xp5pyudub) · CNCF · 1 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#css](https://daily.dev/tags/css), [#tailwind-css](https://daily.dev/tags/tailwind-css)

[View this post on daily.dev](https://daily.dev/posts/5-tailwind-css-anti-patterns-to-avoid-7bhmswsd0)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"5 Tailwind CSS Anti-Patterns to Avoid","url":"https://daily.dev/posts/5-tailwind-css-anti-patterns-to-avoid-7bhmswsd0","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/5-tailwind-css-anti-patterns-to-avoid-7bhmswsd0"},"datePublished":"2024-04-18T12:03:01.100Z","dateModified":"2024-05-09T09:03:00.647Z","description":"Tailwind CSS has been a game-changer for developers, but there are anti-patterns to avoid when working with it. Avoid relying solely on the built-in color...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/51ba7094cd92053fe6aa82a8e91a5c58?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/51ba7094cd92053fe6aa82a8e91a5c58?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"Atomic Spin","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Atomic Spin","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/e2af5ce3adaa403a8cf029268b62419f","url":"https://daily.dev/sources/atomicobject"},"commentCount":32,"discussionUrl":"https://daily.dev/posts/5-tailwind-css-anti-patterns-to-avoid-7bhmswsd0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":484},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":32}],"keywords":"webdev,css,tailwind-css","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Atomic Spin","item":"https://daily.dev/sources/atomicobject"},{"@type":"ListItem","position":3,"name":"5 Tailwind CSS Anti-Patterns to Avoid"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/5-tailwind-css-anti-patterns-to-avoid-7bhmswsd0","comment":[{"@type":"Comment","text":"Great article! Tailwind is a valuable tool but only in the right hands. I’ve seen many tailwind projects but they were poor, because developers didn’t pay enough attention too good practices there 😀","datePublished":"2024-04-19T06:06:33.640Z","url":"https://daily.dev/posts/7BHmSWSD0#c-i7awR28RW","author":{"@type":"Person","name":"Przemysław Hernik","url":"https://daily.dev/przemekhernik","image":"https://media.daily.dev/image/upload/s--7JJpra3u--/f_auto/v1711695444/avatars/avatar_UpUOqLeRNdBEeh4AReqrJ"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":14}},{"@type":"Comment","text":"Great post. I recently spoke with the founder of nuejs. He is working on an aternative to tailwind with a more scalable and professional approach. Do you know it? Check out his posts, they’re pretty close to what you’re thinking.","datePublished":"2024-04-19T09:49:29.073Z","url":"https://daily.dev/posts/7BHmSWSD0#c-rSNzHqTsY","author":{"@type":"Person","name":"Sébastien Conejo","url":"https://daily.dev/sebconejo","image":"https://media.daily.dev/image/upload/s--BA_P-9W6--/f_auto/v1742836511/avatars/avatar_dU65w8mTZwguzlhljjMh9"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":9}},{"@type":"Comment","text":"just avoid tailwindcss","datePublished":"2024-04-22T11:26:59.425Z","url":"https://daily.dev/posts/7BHmSWSD0#c-qhiI9Q6XY","author":{"@type":"Person","name":"Obi-Wan Kenobi","url":"https://daily.dev/kenobi","image":"https://media.daily.dev/image/upload/s--525bY6F---/f_auto/v1713785608/avatars/avatar_L1IHK1mJfqlqReZJotrsa"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4}},{"@type":"Comment","text":"Only agree on 2 and 4, hard disagree on the rest.","datePublished":"2024-04-26T07:36:52.113Z","url":"https://daily.dev/posts/7BHmSWSD0#c-PE3DptJEK","author":{"@type":"Person","name":"Timon Jurschitsch","url":"https://daily.dev/dertimonius","image":"https://avatars.githubusercontent.com/u/103483059?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3}},{"@type":"Comment","text":"Nice article, tailwind is powerful 😍, but need attention with anti-patterns.","datePublished":"2024-05-17T13:44:29.746Z","url":"https://daily.dev/posts/7BHmSWSD0#c-bcG7bvJSl","author":{"@type":"Person","name":"Roberto Umbelino","url":"https://daily.dev/robertoumbelino","image":"https://avatars.githubusercontent.com/u/17939056?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}}]}
```

