Skip to main content
skill

mui — Claude Code skill: MUI patterns and installation

This skill guides Claude Code through Material UI v7 components, theme-based styling, responsive layouts, and form patterns in React projects.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --skill development/mui
Open on GitHub

What mui does

The skill provides coding patterns for Material UI v7 in React and TypeScript projects. It covers layout components such as Box, Paper, and Grid, along with Typography, buttons, and forms. The examples explain how to define component styles with sx, draw values from the active theme, and adjust layouts at different viewport widths.

For small components, the guidance keeps style definitions close to the component code. Larger components can move their styles into a separate file, such as UserProfile.styles.ts. The material also covers useTheme, the SxProps and Theme types, responsive typography, and form field validation. These patterns give Claude Code concrete conventions to follow when editing UI code.

MUI v7 changes several APIs inherited from v6. Modal code should use onClose instead of the removed onBackdropClick property, and component customization follows the slots and slotProps approach. The skill also covers enableCssLayer for projects using Tailwind v4, so existing styling setups may need adjustments when adopting these patterns.

What it helps with

  • Style React components with sx
  • Apply theme colors and spacing to UI elements
  • Build responsive card grids with MUI breakpoints
  • Move large component styles into a separate file
  • Replace outdated Modal handlers when migrating to MUI v7

Example prompts for the agent

  • Build a profile page with Box, Paper, and Typography, using sx for component styling.
  • Make the card layout responsive with Grid and MUI breakpoints.
  • Update this Modal component for MUI v7 and replace onBackdropClick with onClose.

How to install mui

1claude-code-templates

npx claude-code-templates@latest --skill development/mui

2Skills CLI (Vercel)

npx skills add davila7/claude-code-templates --skill mui -a claude-code

3Manually: put the files in place

~/.claude/skills/mui/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/mui/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about mui

How do I install mui in Claude Code?

From your project directory, run npx claude-code-templates@latest --skill development/mui. Alternatively, run npx skills add davila7/claude-code-templates --skill mui -a claude-code. The installed skill file path is ~/.claude/skills/mui/SKILL.md.

What does the mui skill do?

It gives Claude Code practical guidance for Material UI v7, including sx styling, theme usage, responsive layouts, component patterns, and form implementation.

What changed between MUI v6 and v7?

The onBackdropClick property was removed from Modal, so use onClose instead. Components use the standardized slots and slotProps approach, and deep imports should be replaced with imports supported by package exports.

Similar skills

All skills for Frontend and UI →

From the same set804

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor