Covers Material-UI v7 component patterns with a focus on the sx prop styling system, theme integration, and responsive design. You'll want this when building React UIs with MUI components like Box, Grid, Typography, and Paper. The skill includes practical guidance on when to inline styles versus splitting them into separate files (uses 100 lines as the threshold), plus examples of form handling, dialogs, and loading states. Notable callout on v7 breaking changes: deep imports are gone, Modal lost onBackdropClick, and everything now uses the standardized slots pattern. The responsive breakpoint examples and theme access patterns are genuinely handy references.

skills.sh installs
824
GitHub stars
2.7K
last updated
Aug 21, 2026

Install

$ npx -y skills add softaworks/agent-toolkit --skill mui --agent claude-code

Installs into .claude/skills of the current project.

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,
  },
};

Sponsors

Details

Repository
github.com/softaworks/agent-toolkit
Categories
Frontend Development, AI & Agent Building, Design & UI/UX
First seen
Jun 3, 2026

More from softaworks/agent-toolkit

All 43
1getstream avatarstream-docsgetstream/agent-skillsSearch live Stream SDK documentation for Chat, Video, Feeds, and Moderation. Look up how a Stream React/iOS/Android/Node/Flutter/Unity/Angular hook, component, 822skills.sh installs
2lobehub avatardata-fetchinglobehub/lobehubData fetching architecture guide using Service layer + Zustand Store + SWR. Use when implementing data fetching, creating services, working with store hooks, or812skills.sh installs
3pproenca avatartypescript-refactorpproenca/dot-skillsTypeScript and TSX refactoring and modernization guidelines from a principal specialist perspective, current to TypeScript 6.0 and React 19. This skill should b799skills.sh installs
4alirezarezvani avatarcode-to-prdalirezarezvani/claude-skillsReverse-engineer any codebase into a complete Product Requirements Document (PRD). Analyzes routes, components, state management, API integrations, and user int798skills.sh installs
5mindrally avatarstyled-components-best-practicesmindrally/skillsstyled-components best practices for CSS-in-JS development in React applications787skills.sh installs
6jezweb avatarmotionjezweb/claude-skillsBuild React animations with Motion (Framer Motion) - gestures (drag, hover, tap), scroll effects, spring physics, layout animations, SVG. Bundle: 2.3 KB (mini) 785skills.sh installs