material-ui-styling

v2026.09.24

Chooses the right Material UI styling approach (sx, styled, theme overrides, global CSS) from official MUI guidance. Use when styling @mui/material components, customizing themes, overriding slots, or comparing sx vs styled.

GitHub
安装命令
npx skhub add mui/material-ui-styling
Markdown
SKILL.md

Material UI styling

Agent skill for picking the correct styling layer in Material UI (narrowest scope first). SKILL.md is the entry and index; AGENTS.md is the full guide.

When to apply

  • Choosing among sx, styled(), theme components, or global CSS for a change
  • Overriding component slots or state safely
  • Comparing sx vs styled() semantics (spacing, theme shortcuts)

Sections in AGENTS.md (by priority)

OrderTopicScope
1Quick decisionPick sx → styled → theme → global
2sx propOne-off / local
3styled()Reusable wrapper
4createTheme({ components })All instances
5GlobalStyles / CssBaselineHTML baseline / globals
6sx vs styled() tableFoot-gun prevention

Full guide

Read AGENTS.md for the complete instructions, examples, and doc links.

Supplementary tables: reference.md.

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

MIT

源路径

skills/material-ui-styling

默认分支

master

最新提交

7f1d0d7

Tree SHA

19e1200