Material Ui Styling material-ui-styling
Chooses the right Material UI styling approach (sx, styled, theme overrides, global CSS) from official MUI guidance.
Use it when styling @mui/material components, customizing themes, overriding slots, or comparing sx vs styled.
- Our test
- —
- not tested yet
- GitHub stars
- 99k
- mui/material-ui
- Added by
- 0
- members
- Updated
- Dec 6
- commit eb5ec30
- Content
- 5 files
- no scripts · 12 KB
- License
- MIT
- free to use
What our test found
Not tested yet. Our model tries every skill on a realistic request and scores the result, the most popular skills first. Until then, the safety checks on the right still apply.
name: material-ui-styling description: 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. license: MIT metadata: author: mui version: '1.0.0'
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(), themecomponents, or global CSS for a change - Overriding component slots or state safely
- Comparing
sxvsstyled()semantics (spacing, theme shortcuts)
Sections in AGENTS.md (by priority)
| Order | Topic | Scope | | :---- | :----------------------------- | :------------------------------------ | | 1 | Quick decision | Pick sx → styled → theme → global | | 2 | sx prop | One-off / local | | 3 | styled() | Reusable wrapper | | 4 | createTheme({ components }) | All instances | | 5 | GlobalStyles / CssBaseline | HTML baseline / globals | | 6 | sx vs styled() table | Foot-gun prevention |
Full guide
Read for the complete instructions, examples, and doc links.
Supplementary tables: .