tailwindcssWrite Tailwind utility classes with proper responsive design, dark mode, and configuration.
Install via ClawdBot CLI:
clawdbot install ivangdavila/tailwindcssRequires:
content array in tailwind.config.js must include ALL files with classesâmissing paths = missing styles in production"./src/*/.{js,jsx,ts,tsx,html}" covers nested directoriesbg-${color}-500 won't be detectedâuse complete class names or safelistmd: applies at medium AND abovesm:hidden md:block means hidden on small, visible on medium+ânot "only on medium"extend.screens to add without replacingdark: prefix requires darkMode: 'class' in configâwon't work with default media strategy if you need manual toggle or , not on individual componentsdark:bg-gray-900 only applies when ancestor has class="dark"darkMode: 'media' uses prefers-color-schemehover:, focus:, active: work as expectedgroup-hover: requires group class on parentâchild reacts to parent hoverpeer-focus: requires peer class on sibling AND sibling must come first in DOMdark:hover:bg-gray-700 applies on hover in dark modebg-[#1da1f2] for one-off colorsâbrackets for any arbitrary valuew-[calc(100%-2rem)] for calc expressionsgrid-cols-[1fr_2fr_1fr] underscores for spaces in values[mask-type:alpha] for unsupported CSS properties@apply in component CSS loses responsive/state variantsâ@apply hover:bg-blue-500 doesn't work as expected@apply matters unlike HTML classesâlater utilities override earlier@applyâeasier to maintain, better tree-shaking@apply, keep it simple: base styles onlyextend adds to defaults: extend: { colors: { brand: '#xxx' } } keeps all existing colorscolors: { brand: '#xxx' } removes all default colorstheme() function in CSS: border-color: theme('colors.gray.200')! prefix forces important: !mt-4 generates margin-top: 1rem !importantimportant: true in config makes ALL utilities importantâavoid, breaks third-party CSSimportant: '#app' scopes specificity to selectorâbetter than global importantclass="px-4 px-6" last one wins in stylesheet, not in HTMLâboth get applied, cascade decidesoverflow-hidden with rounded-* on parent with absolute childrenh-screen doesn't account for mobile browser chromeâuse h-dvh (dynamic viewport height)truncate needs width constraint or max-w-* to actually truncatesafelist with patterns like bg-*âdefeats tree-shaking@layer components for reusable component stylesâproper cascade orderGenerated Mar 1, 2026
A marketing agency builds client websites that must adapt seamlessly across devices, using Tailwind's mobile-first responsive prefixes like md: and lg: to ensure layouts adjust from mobile to desktop. They implement dark mode with dark: classes for user preference toggles, enhancing accessibility and modern design trends.
An e-commerce platform develops an admin dashboard where product listings require interactive states like hover: and focus: for better user experience. They use arbitrary values for custom grid layouts and avoid @apply traps by keeping styles in HTML for maintainability and performance.
A SaaS company builds a reusable UI component library with Tailwind, leveraging extend in configuration to add brand colors without losing defaults. They ensure proper content paths in tailwind.config.js to prevent missing styles in production builds, crucial for consistent deployment.
An online learning platform uses Tailwind for course pages that include dark mode for reduced eye strain and responsive designs for various screen sizes. They manage state variants like group-hover: for interactive elements and avoid common mistakes like forgetting overflow-hidden with rounded borders.
Freelancers offer Tailwind CSS development for clients, charging per project or hourly rates to build responsive, modern websites. Revenue comes from design and implementation fees, with upselling for ongoing maintenance and dark mode features.
Digital agencies provide Tailwind-based web development as part of monthly retainer packages, including responsive design updates and performance optimization. Revenue is generated through recurring subscriptions, with tiered pricing based on features like dark mode implementation.
Consultants specialize in integrating Tailwind into existing SaaS products, offering services for configuration, performance tuning, and training teams. Revenue streams include one-time consulting fees and ongoing support contracts for complex integrations.
đŹ Integration Tip
Ensure content paths in tailwind.config.js include all relevant files to avoid missing styles in production, and use extend for configuration to preserve defaults while adding customizations.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Expert frontend design guidelines for creating beautiful, modern UIs. Use when building landing pages, dashboards, or any user interface.
Use when building UI with shadcn/ui components, Tailwind CSS layouts, form patterns with react-hook-form and zod, theming, dark mode, sidebar layouts, mobile navigation, or any shadcn component question.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when building web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Create distinctive, production-grade static sites with React, Tailwind CSS, and shadcn/ui â no mockups needed. Generates bold, memorable designs from plain text requirements with anti-AI-slop aesthetics, mobile-first responsive patterns, and single-file bundling. Use when building landing pages, marketing sites, portfolios, dashboards, or any static web UI. Supports both Vite (pure static) and Next.js (Vercel deploy) workflows.
AI skill for automated UI audits. Evaluate interfaces against proven UX principles for visual hierarchy, accessibility, cognitive load, navigation, and more. Based on Making UX Decisions by Tommy Geoco.