tailwind-components
Common Tailwind component patterns
What this skill does
# Tailwind Components Skill
Common component patterns built with Tailwind CSS.
## Buttons
### Button Variants
```html
<!-- Primary button -->
<button class="px-4 py-2 bg-blue-600 text-white font-medium rounded-lg
hover:bg-blue-700 focus:outline-none focus:ring-2
focus:ring-blue-500 focus:ring-offset-2 transition-colors">
Primary
</button>
<!-- Secondary button -->
<button class="px-4 py-2 bg-gray-200 text-gray-800 font-medium rounded-lg
hover:bg-gray-300 focus:outline-none focus:ring-2
focus:ring-gray-500 focus:ring-offset-2 transition-colors">
Secondary
</button>
<!-- Outline button -->
<button class="px-4 py-2 border-2 border-blue-600 text-blue-600 font-medium
rounded-lg hover:bg-blue-50 focus:outline-none focus:ring-2
focus:ring-blue-500 focus:ring-offset-2 transition-colors">
Outline
</button>
<!-- Ghost button -->
<button class="px-4 py-2 text-blue-600 font-medium rounded-lg
hover:bg-blue-50 focus:outline-none focus:ring-2
focus:ring-blue-500 focus:ring-offset-2 transition-colors">
Ghost
</button>
<!-- Destructive button -->
<button class="px-4 py-2 bg-red-600 text-white font-medium rounded-lg
hover:bg-red-700 focus:outline-none focus:ring-2
focus:ring-red-500 focus:ring-offset-2 transition-colors">
Delete
</button>
```
### Button Sizes
```html
<!-- Small -->
<button class="px-3 py-1.5 text-sm">Small</button>
<!-- Medium (default) -->
<button class="px-4 py-2 text-base">Medium</button>
<!-- Large -->
<button class="px-6 py-3 text-lg">Large</button>
```
### Button with Icon
```html
<button class="inline-flex items-center gap-2 px-4 py-2 bg-blue-600
text-white rounded-lg hover:bg-blue-700">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M12 4v16m8-8H4" />
</svg>
Add Item
</button>
```
## Cards
### Basic Card
```html
<div class="bg-white rounded-lg shadow-md p-6">
<h3 class="text-lg font-semibold text-gray-900">Card Title</h3>
<p class="mt-2 text-gray-600">Card description text goes here.</p>
</div>
```
### Card with Image
```html
<div class="bg-white rounded-lg shadow-md overflow-hidden">
<img src="image.jpg" alt="" class="w-full h-48 object-cover" />
<div class="p-6">
<h3 class="text-lg font-semibold text-gray-900">Card Title</h3>
<p class="mt-2 text-gray-600">Card description.</p>
<button class="mt-4 text-blue-600 hover:text-blue-700 font-medium">
Learn more →
</button>
</div>
</div>
```
### Interactive Card
```html
<div class="bg-white rounded-lg shadow-md p-6 hover:shadow-lg
transition-shadow cursor-pointer border border-gray-200
hover:border-blue-500">
<h3 class="text-lg font-semibold text-gray-900">Interactive Card</h3>
<p class="mt-2 text-gray-600">Click me!</p>
</div>
```
## Forms
### Input Field
```html
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">
Email
</label>
<input type="email"
class="w-full px-3 py-2 border border-gray-300 rounded-lg
focus:outline-none focus:ring-2 focus:ring-blue-500
focus:border-blue-500 placeholder-gray-400"
placeholder="[email protected]" />
</div>
```
### Input with Error
```html
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">
Email
</label>
<input type="email"
class="w-full px-3 py-2 border border-red-500 rounded-lg
focus:outline-none focus:ring-2 focus:ring-red-500
focus:border-red-500 bg-red-50"
value="invalid-email" />
<p class="mt-1 text-sm text-red-600">Please enter a valid email address.</p>
</div>
```
### Select
```html
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">
Country
</label>
<select class="w-full px-3 py-2 border border-gray-300 rounded-lg
focus:outline-none focus:ring-2 focus:ring-blue-500
focus:border-blue-500 bg-white">
<option>United States</option>
<option>Canada</option>
<option>Mexico</option>
</select>
</div>
```
### Checkbox
```html
<label class="flex items-center gap-2 cursor-pointer">
<input type="checkbox"
class="w-4 h-4 text-blue-600 border-gray-300 rounded
focus:ring-blue-500 focus:ring-2" />
<span class="text-sm text-gray-700">Accept terms and conditions</span>
</label>
```
### Radio Group
```html
<div class="space-y-2">
<label class="flex items-center gap-2 cursor-pointer">
<input type="radio" name="plan" value="free"
class="w-4 h-4 text-blue-600 border-gray-300
focus:ring-blue-500 focus:ring-2" />
<span class="text-sm text-gray-700">Free</span>
</label>
<label class="flex items-center gap-2 cursor-pointer">
<input type="radio" name="plan" value="pro"
class="w-4 h-4 text-blue-600 border-gray-300
focus:ring-blue-500 focus:ring-2" />
<span class="text-sm text-gray-700">Pro</span>
</label>
</div>
```
## Navigation
### Navbar
```html
<nav class="bg-white border-b border-gray-200">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16 items-center">
<div class="flex items-center gap-8">
<a href="/" class="text-xl font-bold text-gray-900">Logo</a>
<div class="hidden md:flex gap-6">
<a href="#" class="text-gray-600 hover:text-gray-900">Home</a>
<a href="#" class="text-gray-600 hover:text-gray-900">Products</a>
<a href="#" class="text-gray-600 hover:text-gray-900">About</a>
</div>
</div>
<button class="px-4 py-2 bg-blue-600 text-white rounded-lg">
Sign Up
</button>
</div>
</div>
</nav>
```
### Sidebar
```html
<aside class="w-64 bg-gray-900 text-white min-h-screen">
<div class="p-4">
<h2 class="text-xl font-bold">Dashboard</h2>
</div>
<nav class="mt-4">
<a href="#" class="flex items-center gap-3 px-4 py-3 bg-gray-800
text-white hover:bg-gray-700">
<svg class="w-5 h-5">...</svg>
Overview
</a>
<a href="#" class="flex items-center gap-3 px-4 py-3
text-gray-300 hover:bg-gray-800 hover:text-white">
<svg class="w-5 h-5">...</svg>
Analytics
</a>
</nav>
</aside>
```
## Modals
### Basic Modal
```html
<!-- Overlay -->
<div class="fixed inset-0 bg-black/50 flex items-center justify-center z-50">
<!-- Modal -->
<div class="bg-white rounded-lg shadow-xl max-w-md w-full mx-4">
<!-- Header -->
<div class="flex items-center justify-between p-4 border-b">
<h3 class="text-lg font-semibold text-gray-900">Modal Title</h3>
<button class="text-gray-400 hover:text-gray-600">
<svg class="w-6 h-6">...</svg>
</button>
</div>
<!-- Body -->
<div class="p-4">
<p class="text-gray-600">Modal content goes here.</p>
</div>
<!-- Footer -->
<div class="flex justify-end gap-3 p-4 border-t">
<button class="px-4 py-2 text-gray-700 hover:bg-gray-100 rounded-lg">
Cancel
</button>
<button class="px-4 py-2 bg-blue-600 text-white rounded-lg">
Confirm
</button>
</div>
</div>
</div>
```
## Alerts
### Alert Variants
```html
<!-- Info -->
<div class="p-4 bg-blue-50 border border-blue-200 rounded-lg">
<div class="flex items-start gap-3">
<svg class="w-5 h-5 text-blue-500 mt-0.5">...</svg>
<div>
<h4 class="font-medium text-blue-800">Information</h4>
<p class="text-sm text-blue-700 mt-1">This is an info message.</p>
</div>
</div>
</div>
<!-- Success -->
<div class="p-4 bg-green-50 border border-green-200 rounded-lg">
<div class="flex items-start gap-3">
<svg class="w-5 h-5 text-green-500 mt-0.5">...</svg>
<div>
<h4 Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.