tailwind-ui
БесплатноБез исполняемых скриптовНе проверенTailwind CSS v4 best practices with WCAG 2.1 AA accessibility, theming, and dark mode support. Use when working with HTML, CSS, styling components…
от Boise-State-Development★ 22 звезды на GitHubОб этом скилле
Tailwind UI Skill
Tailwind CSS v4.1 development with accessibility and theming baked in.
Quick Reference
v4.1 Critical Changes
Never use deprecated utilities — always use replacements:
| Deprecated | Replacement |
|---|---|
bg-opacity-* |
bg-black/50 (opacity modifier) |
bg-gradient-* |
bg-linear-* |
shadow-sm |
shadow-xs |
shadow |
shadow-sm |
rounded-sm |
rounded-xs |
rounded |
rounded-sm |
ring |
ring-3 |
outline-none |
outline-hidden |
leading-* |
Use text-base/7 line-height modifiers |
flex-shrink-* / flex-grow-* |
shrink-* / grow-* |
space-x-* in flex/grid |
Use gap-* instead |
Essential Patterns
<!-- Gap over space utilities -->
<div class="flex gap-4">...</div>
<!-- Opacity modifiers -->
<div class="bg-primary-500/60">...</div>
<!-- Line height modifiers -->
<p class="text-base/7">...</p>
<!-- Dynamic viewport height (mobile-safe) -->
<div class="min-h-dvh">...</div>
<!-- Size utility for equal dimensions -->
<div class="size-12">...</div>
Reference Files
Load these based on the task:
- references/v4-migration.md — Full v4.1 breaking changes, upgrade process, new features
- references/accessibility.md — WCAG 2.1 AA patterns: contrast, focus, screen readers
- references/theming.md — @theme setup, CSS variables, light/dark mode
- references/components.md — Accessible component patterns (buttons, forms, cards, nav)
- references/app-conventions.md — Project-specific list & form page design tokens (border radius, list style, form sections). Load this for any list or form page in
frontend/ai.client.
Theme Asset
- assets/theme-starter.css — Starter @theme with primary/secondary/tertiary color scales
Core Principles
- Use Tailwind's scale — Avoid arbitrary values like
ml-[16px]; useml-4 - Never use @apply — Use CSS variables or framework components
- Gap over margins — Use
gap-*in flex/grid, notspace-*or child margins - Test both modes — Always verify light AND dark mode appearance
- Accessibility first — Every interactive element needs visible focus states and proper contrast
Установить tailwind-ui в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл tailwind-ui?
Tailwind CSS v4 best practices with WCAG 2.1 AA accessibility, theming, and dark mode support. Use when working with HTML, CSS, styling components, accessibility (a11y), WCAG compliance, color contrast, focus states, screen readers, theming, light mode, dark mode, or building accessible UI patterns like buttons, forms, cards, and navigation. Complements the angular-best-practices skill for Angular frontends.
Как установить скилл tailwind-ui?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл tailwind-ui запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic