material-ui-tailwind

v2026.09.24

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.

GitHub
Install command
npx skhub add mui/material-ui-tailwind
Markdown
SKILL.md

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

AreaTopics
v4@layer order, mui before utilities
Next.jsenableCssLayer, Pages GlobalStyles + shared cache
SPAStyledEngineProvider + enableCssLayer
UsageRoot vs slot className
@themeFull snippet on docs site; needs cssVariables
IntelliSenseVS Code classRegex
v3preflight, important, injectFirst, portals

Full guide

Read AGENTS.md. Copy-paste snippets: reference.md.

Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

MIT

Source path

skills/material-ui-tailwind

Default branch

master

Latest commit

7f1d0d7

Tree SHA

19e1200