Skip to content

kevogaba/finaxis-frontend / .agents/skills/material-ui-styling

material-ui-styling

Verified

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.

FileKindSize
AGENTS.mdmarkdown7.9 KB
README.mdmarkdown678 B
SKILL.mdskill md1.6 KB
reference.mdmarkdown1.3 KB

reference.md

View on GitHub
# Material UI styling: reference tables

## Global state class names

Use only in combination with a component or scoped selector (never alone).

| State         | Global class        |
| :------------ | :------------------ |
| active        | `.Mui-active`       |
| checked       | `.Mui-checked`      |
| completed     | `.Mui-completed`    |
| disabled      | `.Mui-disabled`     |
| error         | `.Mui-error`        |
| expanded      | `.Mui-expanded`     |
| focus visible | `.Mui-focusVisible` |
| focused       | `.Mui-focused`      |
| readOnly      | `.Mui-readOnly`     |
| required      | `.Mui-required`     |
| selected      | `.Mui-selected`     |

Source: [How to customize](https://mui.com/material-ui/customization/how-to-customize.md) (`docs/data/material/customization/how-to-customize/how-to-customize.md`).

## Slot class name pattern

Injected classes follow: `[hash]-Mui[ComponentName]-[slot]`.

For selectors, use the stable fragment `Mui[ComponentName]-[slot]` (for example `.MuiSlider-thumb`), not the full hashed class.

## Theme component keys

Override via `createTheme({ components: { MuiButton: { ... } } })`. The key matches the component's internal name (for example `MuiButton`, `MuiTextField`). Check the component's Customization section in the docs for slot names and theme key.
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 197kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 197kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 197kUpdated Claude CodeCodexVerifiedInstall