Skip to content
josiahsiegel avatar

Tailwindcss Framework Integration

Framework-by-framework Tailwind CSS setup covering React, Vue, Next.js, Svelte, and Astro with class-merging recipes.

CCM score
49 of 100
skills.sh installs
300
GitHub stars
67
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers per-framework setup for React with Vite, Next.js App Router, Vue 3, SvelteKit, and Astro, plus dark-mode configuration
  • Includes config files for Vite, PostCSS, and Nuxt along with component examples such as a variant-based Button
  • Shows dark mode via next-themes and a @custom-variant dark rule, and scoped Vue styles that reference global Tailwind definitions with @reference
  • Designed for developers wiring Tailwind into an existing framework project, including SSR-safe class composition

Install

$ npx -y skills add josiahsiegel/claude-plugin-marketplace --skill tailwindcss-framework-integration -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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
}

Details

Repository
github.com/josiahsiegel/claude-plugin-marketplace
Category
Frontend & UI Code
First seen
Jun 3, 2026

Questions

What does the tailwindcss-framework-integration skill do?

The tailwindcss-framework-integration skill sets up Tailwind CSS inside React, Vue, Next.js, Svelte, Angular, Astro and Remix projects. It gives per-framework setup steps, content config, dark-mode setup and class-merging recipes using tailwind-merge.

How do I install the tailwindcss-framework-integration skill?

Run npx -y skills add josiahsiegel/claude-plugin-marketplace --skill tailwindcss-framework-integration -y in your project. Once installed, the tailwindcss-framework-integration skill lets your agent set up Tailwind for the framework you are using.

Which frameworks does the tailwindcss-framework-integration skill cover?

The tailwindcss-framework-integration skill covers React with Vite or CRA, Next.js App Router and Pages Router, Vue 3 and Nuxt, SvelteKit, Angular, Astro and Remix or React Router 7. It also explains choosing between PostCSS, CLI and Vite plugin setup.

Where does the tailwindcss-framework-integration skill sit in the Frontend and UI Code category?

The tailwindcss-framework-integration skill is listed in the Frontend and UI Code category, alongside vercel-react-best-practices and web-design-guidelines. It stands out for focusing on how Tailwind is wired into each framework's build and SSR setup.

More from josiahsiegel/claude-plugin-marketplace

All 26

Similar to Tailwindcss Framework Integration

More Frontend & UI Code