material-ui-tailwind
mui/material-ui/skills/material-ui-tailwind/SKILL.md
Integrates Material UI with Tailwind CSS v4 using cascade layers (enableCssLayer, @layer order) and documents Tailwind v3 interoperability (preflight, important, injectFirst, portals). Use when combining MUI with Tailwind utilities, slotProps className, or theme token bridges.
Skill99k starsChanged 8 days ago
What's in it
- Material UI and Tailwind CSS
- When to apply
- Sections in AGENTS.md
- Full guide
--- name: material-ui-tailwind description: Integrates Material UI with Tailwind CSS v4 using cascade layers (enableCssLayer, @layer order) and documents Tailwind v3 interoperability (preflight, important, injectFirst, portals). Use when combining MUI with Tailwind utilities, slotProps className, or theme token bridges. license: MIT metadata: author: mui version: '1.0.0' --- # Material UI and Tailwind CSS Agent skill for MUI + Tailwind. SKILL.md is the entry; AGENTS.md is the full guide. ## When to apply - Tailwind utilities not overriding MUI (specificity / layer order) - Setting up v4 with Next.js App or Pages Router, or Vite - `className` / `slotProps.*.className` on MUI components - Mapping `--mui-*` variables into Tailwind `@theme` - Legacy v3 setups or migrations ## Sections in AGENTS.md | Area | Topics | | :----------- | :---------------------------------------------------- | | v4 | `@layer` order, `mui` before `utilities` | | Next.js | `enableCssLayer`, Pages `GlobalStyles` + shared cache | | SPA | `StyledEngineProvider` + `enableCssLayer` | | Usage | Root vs slot `className` | | `@theme` | Full snippet on docs site; needs `cssVariables` | | IntelliSense | VS Code `classRegex` | | v3 | preflight, `important`, `injectFirst`, portals | ## Full guide Read [AGENTS.md](./AGENTS.md). Copy-paste snippets: [reference.md](./reference.md).
More agent context in mui/material-ui
12 other files this repository gives its agents.
AGENTS.md
CLAUDE.md
Skill
- material-ui-review.agents/skills/material-ui-review/SKILL.md
- mui-release.agents/skills/mui-release/SKILL.md
- material-ui-review.claude/skills/material-ui-review/SKILL.md
- material-ui-nextjsskills/material-ui-nextjs/SKILL.md
- material-ui-stylingskills/material-ui-styling/SKILL.md
- material-ui-themingskills/material-ui-theming/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
Reports can't be read right now.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

