tailwind-patterns

Provide reusable Tailwind UI component patterns for common website sections.

28.1k|5.0k|Updated Apr 8, 2020
One-click install
npx skills add https://github.com/srbhr/Resume-Matcher --skill tailwind-patterns-srbhr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tailwind-patterns
Source: https://github.com/srbhr/Resume-Matcher/tree/main/.claude/skills/tailwind-pattern
Command: npx skills add https://github.com/srbhr/Resume-Matcher --skill tailwind-patterns-srbhr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Tailwind-patterns provide production-ready, reusable UI component patterns so developers can avoid reinventing common layouts, cards, forms, and navigation for every project.

Core Features & Use Cases

  • Reusable Patterns: section, container, card, grid, button, form, and typography patterns designed for rapid UI assembly.
  • Responsive & Accessible: mobile-first breakpoints, responsive grids, and accessible utility usage with semantic tokens.
  • Dark Mode & Tokens: design system based on semantic tokens ensuring consistency across themes and dark mode support.
  • Use Case: Quickly scaffold a marketing landing page or admin dashboard by composing pre-built patterns and applying Tailwind utilities.

Quick Start

Copy and adapt the pattern snippets into your project. Example: apply a standard container and a responsive grid with the provided Tailwind classes:

  • Container: max-w-7xl mx-auto px-4 sm:px-6 lg:px-8
  • Card: bg-card text-card-foreground rounded-lg border border-border p-6
  • Button: bg-primary text-primary-foreground px-4 py-2 rounded-md
  • Grid: grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6

Frequently Asked Questions about tailwind-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build responsive grid layouts with Tailwind CSS?

Build responsive grid layouts with Tailwind CSS using mobile-first breakpoints like grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 to adapt columns across screen sizes. This ensures consistent responsive design without custom CSS.

What are Tailwind CSS semantic tokens for dark mode support?

Tailwind CSS semantic tokens for dark mode support use naming conventions like bg-card, text-foreground, and border-border to adapt UI component patterns automatically across themes without hardcoding hex values.

Can I use pre-built Tailwind UI patterns for admin dashboards?

You can use pre-built Tailwind UI patterns for admin dashboards by composing reusable section, container, card, and form patterns with standard Tailwind classes to scaffold interfaces rapidly.

What's the best way to structure a consistent design system in Tailwind?

The best way to structure a consistent design system in Tailwind is defining semantic tokens for colors and typography, then applying them across reusable component patterns to enforce consistency automatically.

Do I need custom CSS to create accessible component patterns in Tailwind?

You do not need custom CSS to create accessible component patterns in Tailwind if you use semantic tokens and responsive utility classes properly. Accessible structure is enforced through standard utility usage.