New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Responsive MUI v7 patterns covering the sx prop, theme integration, breakpoints, and common components.

skills.sh installs
1.1K
GitHub stars
34.1K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers Material-UI v7 styling with the sx prop, theme values, responsive breakpoints, and typography
  • Includes layout, grid, typography, button, form, card, dialog, and loading-state component examples
  • Notes v7 breaking changes: deep imports removed, onBackdropClick replaced by onClose, and standardized slots and slotProps
  • Designed for React projects using @mui/material that need consistent theming and responsive layouts

Install

$ npx -y skills add davila7/claude-code-templates --skill mui -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

MUI v7 Patterns

Purpose

Material-UI v7 (released March 2025) patterns for component usage, styling with sx prop, theme integration, and responsive design.

Note: MUI v7 breaking changes from v6:

  • Deep imports no longer work - use package exports field
  • onBackdropClick removed from Modal - use onClose instead
  • All components now use standardized slots and slotProps pattern
  • CSS layers support via enableCssLayer config (works with Tailwind v4)

When to Use This Skill

  • Styling components with MUI sx prop
  • Using MUI components (Box, Grid, Paper, Typography, etc.)
  • Theme customization and usage
  • Responsive design with MUI breakpoints
  • MUI-specific utilities and hooks

Quick Start

Basic MUI Component

import { Box, Typography, Button, Paper } from '@mui/material';
import type { SxProps, Theme } from '@mui/material';

const styles: Record<string, SxProps<Theme>> = {
  container: {
    p: 2,
    display: 'flex',
    flexDirection: 'column',
    gap: 2,
  },
  header: {
    mb: 3,
    fontSize: '1.5rem',
    fontWeight: 600,
  },
};

Details

Repository
github.com/davila7/claude-code-templates
Categories
Frontend & UI Code, Design & UI/UX
First seen
Apr 16, 2026

More from davila7/claude-code-templates

All 398