SKILL

mui

Material-UI v7 组件库模式,包括 sx 属性样式、主题集成、响应式设计和 MUI 专用钩子。适用于 MUI 组件、使用 sx 属性设置样式、主题定制或 MUI 实用工具。

译文已校对
查看英文原文

Material-UI v7 component library patterns including sx prop styling, theme integration, responsive design, and MUI-specific hooks. Use when working with MUI components, styling with sx prop, theme customization, or MUI utilities.

适用对象:设计与内容创作。自动收录 · 待核查。

原作者说明节选

从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。

查看英文原文

原文涵盖的主题

  • MUI v7 Patterns
  • Purpose
  • When to Use This Skill
  • Quick Start
  • Basic MUI Component
  • Styling Patterns
  • Inline Styles (< 100 lines)
  • Separate Styles File (>= 100 lines)

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) 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 -- -- For components with simple styling, define styles at the top: For complex components, create separate style file: -- -- -- -- -- -- -- -- -- For more detailed patterns, see: styling-guide.md - Advanced styling patterns component-library.md - Component examples theme-customization.md - Theme setup

来源仓库
davila7/claude-code-templates
源文件
cli-tool/components/skills/development/mui/SKILL.md
固定版本
21be197f100a12b8d0dd9a211cc244c8179f84d3
阅读完整原作者说明 ↗

来源与内容状态

本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。

原作者:davila7/claude-code-templates · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T14:01:44.537Z。

分类由名称、说明与路径规则生成,分类不代表已核实适配。

许可与权利归属

MIT。第三方内容及版权归原作者,使用条件以原文为准。

许可原文 ↗

本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。

限制与注意事项

  • 元数据收录不代表本站已经安装、适配、实测或进行安全审查。