Zum Inhalt springen
Kitbay
Skill

material-ui-styling

MITAktualisiert am 11. Nov. 202699.322GitHub-Sterne

A skill from the Material UI team that helps an agent pick how to style Material UI components.

Was der Skill vermittelt

A skill from the Material UI team that helps an agent pick how to style Material UI components. It works from the narrowest option outwards: the sx prop for one-off changes, styled() for reusable wrappers, theme component overrides for changes to every instance, and GlobalStyles or CssBaseline for page-wide rules. It covers overriding slots and states safely and includes a comparison of sx and styled() to avoid common mistakes. The SKILL.md is an index; the full guide with examples and documentation links is in the AGENTS.md file next to it, with extra tables in a reference file.

Funktionen

  • Choose between sx, styled() and theme overrides
  • Override Material UI slots and states
  • Set global styles with GlobalStyles or CssBaseline