Pular para o conteúdo
Kitbay
Skill

material-ui-tailwind

MITAtualizado em 11 de nov. de 202699.322Estrelas no GitHub

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

O que a skill ensina

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.

O que faz

  • 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