本文へスキップ
Kitbay
スキル

material-ui-tailwind

MIT2026年11月11日 更新99,322GitHubスター

A skill from the Material UI team for using Material UI together with Tailwind CSS.

スキルの内容

A skill from the Material UI team for using Material UI together with Tailwind CSS. For Tailwind 4 it explains how CSS cascade layers, with Material UI's layer placed before Tailwind's utilities, let utility classes override component styles, and how to switch this on in Next.js (App and Pages Router) and in Vite single-page apps. It covers the difference between a component's root class name and the class names passed to its inner slots, mapping Material UI's CSS variables into Tailwind's theme, editor autocompletion in VS Code, and notes for older Tailwind 3 setups. The full guide is in the AGENTS.md file next to the SKILL.md.

できること

  • Set up Material UI with Tailwind CSS 4 cascade layers
  • Configure the setup in Next.js or Vite
  • Style inner component slots with Tailwind classes
  • Map Material UI CSS variables into Tailwind's theme