
Tailwindcss Framework Integration
This is a comprehensive reference for setting up Tailwind CSS across React (Vite and CRA), Next.js (both App and Pages Router), Vue 3, Nuxt, SvelteKit, Astro, and Angular. It covers the new @tailwindcss/vite plugin setup, PostCSS configuration, and framework-specific quirks like Vue's @reference directive for scoped styles and Next.js dark mode with next-themes. The component examples show practical patterns for variant-based styling without class merging libraries, though the description promises tailwind-merge recipes. Useful when you're switching frameworks or need to remember which import goes where, since each ecosystem has slightly different wiring for the same end result.
- skills.sh installs
- 296
- GitHub stars
- 61
- last updated
- Aug 21, 2026
Install
$ npx -y skills add josiahsiegel/claude-plugin-marketplace --skill tailwindcss-framework-integration --agent claude-codeInstalls into .claude/skills of the current project.
Files
Tailwind CSS Framework Integration
React with Vite
Setup
# Create React + Vite project
npm create vite@latest my-app -- --template react-ts
cd my-app
# Install Tailwind CSS
npm install -D tailwindcss @tailwindcss/vite
Configuration
// vite.config.ts
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
export default defineConfig({
plugins: [react(), tailwindcss()]
})
/* src/index.css */
@import "tailwindcss";
// src/main.tsx
import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App'
import './index.css'
ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
<App />
</React.StrictMode>
)
Component Example
// src/components/Button.tsx
interface ButtonProps {
variant?: 'primary' | 'secondary' | 'outline'
size?: 'sm' | 'md' | 'lg'
children: React.ReactNode
onClick?: () => void
}
Sponsors
Promote your product hereReach 125k+ visitors monthlyPromote your product hereReach 125k+ visitors monthly
Agent CaffeineSponsoredClose your lid, come back to finished work
SnugSponsoredThe clipboard manager for the AI eraPromote your product hereReach 125k+ visitors monthly
WaxSponsoredBlock anything with supervision, without erasing your iPhonePromote your product hereReach 125k+ visitors monthly
knobsSponsoredSee your site on any phone, any day, in any language
Details
- Repository
- github.com/josiahsiegel/claude-plugin-marketplace
- Categories
- Frontend Development, Git & Pull Requests, CLI & Terminal
- First seen
- Jun 3, 2026
More from josiahsiegel/claude-plugin-marketplace
All 26- Sql Server 2025260
- Tailwindcss Advanced Components250
- Tailwindcss Performance237
- Opentofu Guide209
- Powershell Shell Detection209
- Tailwindcss Debugging207
- Tailwindcss Plugins202
- Windows Path Troubleshooting197
- Debugging Troubleshooting 2025196
- Ado Pipeline Best Practices180
- Parallel Processing Patterns180
- Docker 2025 Features178
- Tailwindcss Advanced Layouts8.2K
- Tailwindcss Animations2.4K
- Tailwindcss Mobile First2.1K
- Powershell Master1.1K
- Docker Best Practices944
- Git Master811
- Tailwindcss Advanced Design Systems657
- Docker Security Guide619
- Tailwindcss Responsive Darkmode478
- Bash Master462
- Context Master399
- Tailwindcss Fundamentals V4393
Recommended
More Frontend Development1
nativewindhairyf/skillsUse Tailwind CSS to style React Native components across web and native295skills.sh installs
2
gpui-contextlongbridge/gpui-componentContext management in GPUI including App, Window, and AsyncApp. Use when working with contexts, entity updates, or window operations. Different context types pr293skills.sh installs
3
app-renderer-systemspedronauck/skillsGuides creation and modification of domain feature systems organized under a systems/ directory. Covers directory layout, API service layer patterns, TanStack Q293skills.sh installs
4
mantine-devitechmeat/llm-codeMantine UI library for React: 100+ components, hooks, forms, theming, dark mode, CSS modules, and Vite/TypeScript setup. Use when building React applications wi288skills.sh installs
5
wix-cli-embedded-scriptwix/skillsUse when adding tracking code, advertising pixels, third-party integrations, popups, banners, or client-side JavaScript to sites. Triggers include embed, inject288skills.sh installs
6
accelint-tanstack-query-best-practicesgohypergiant/agent-skillsUse when configuring QueryClient, implementing mutations, debugging performance, or adding optimistic updates with @tanstack/react-query in Next.js App Router. 279skills.sh installs