mui
Skill2.5k starsChanged 10 months agoMITView on GitHub
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.
3 other projects use a version of this, 1 of them edited.
Trending
More talk lately.about the whole repository
Most recently taken up by
- demian85/agent-skillsedited, first seen Jun 23, 2026
- joabgonzalez/ai-agents-skillstheir own version, first seen Jun 8, 2026
- nbirkner/digital-brainword for word, first seen Apr 12, 2026
Who's talking about softaworks/agent-toolkit
- sudosubin/agents.nix“codex-plugins.github.softaworks.agent-toolkit: init at 0-unstable-2026-03-05”GitHub · Oct 4, 2026
- sudosubin/agents.nix“claude-code-plugins.github.softaworks.agent-toolkit: init at 0-unstable-2026-03-05”GitHub · Oct 4, 2026
- sudosubin/agents.nix“claude-code-marketplaces.github.softaworks.agent-toolkit: init at 0-unstable-2026-03-05”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.softaworks.agent-toolkit: init at 0-unstable-2026-02-08”GitHub · Oct 2, 2026
- eranroseman/agent-plugins“Curate skills from https://github.com/softaworks/agent-toolkit”GitHub · Sep 12, 2026
The biggest 5 of 40 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 40
Talked about on GitHub (40 times).
On GitHub · 40
- Oct 4, 2026codex-plugins.github.softaworks.agent-toolkit: init at 0-unstable-2026-03-05 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-plugins.github.softaworks.agent-toolkit: init at 0-unstable-2026-03-05 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-marketplaces.github.softaworks.agent-toolkit: init at 0-unstable-2026-03-05 — sudosubin/agents.nix0 reactions
- Oct 2, 2026agent-skills.github.softaworks.agent-toolkit: init at 0-unstable-2026-02-08 — sudosubin/agents.nix0 reactions
- Sep 12, 2026Curate skills from https://github.com/softaworks/agent-toolkit — eranroseman/agent-plugins0 reactions · 2 comments
35 more on GitHub
- Apr 25, 2026Audit candidate: softaworks/agent-toolkit — xiaolai/nlpm0 reactions · 3 comments
- Mar 31, 2026Remove unecessary useEffects from frontend — superplanehq/superplane0 reactions · 2 comments
- Mar 9, 2026[SUBMISSION] softaworks/agent-toolkit — ProSkillsMD/proskills0 reactions · 1 comment
- Feb 2, 2026New skill: /softaworks-react-dev (medium risk) — aiskillstore/marketplace0 reactions
- Feb 2, 2026New skill: /softaworks-react-useeffect (medium risk) — aiskillstore/marketplace0 reactions
- Feb 2, 2026New skill: /softaworks-game-changing-features (medium risk) — aiskillstore/marketplace0 reactions
- Feb 2, 2026New skill: /softaworks-naming-analyzer (medium risk) — aiskillstore/marketplace0 reactions
- Feb 2, 2026New skill: /softaworks-openapi-to-typescript (medium risk) — aiskillstore/marketplace0 reactions
- Feb 2, 2026New skill: /softaworks-database-schema-designer (medium risk) — aiskillstore/marketplace0 reactions
- Jan 28, 2026New skill: /softaworks-c4-architecture (safe risk) — aiskillstore/marketplace0 reactions
- Jan 28, 2026New skill: /softaworks-professional-communication (safe risk) — aiskillstore/marketplace0 reactions
- Jan 28, 2026New skill: /softaworks-plugin-forge (safe risk) — aiskillstore/marketplace0 reactions
- Jan 28, 2026New skill: /softaworks-feedback-mastery (safe risk) — aiskillstore/marketplace0 reactions
- Jan 28, 2026New skill: /softaworks-difficult-workplace-conversations (safe risk) — aiskillstore/marketplace0 reactions
- Jan 28, 2026New skill: /softaworks-humanizer (safe risk) — aiskillstore/marketplace0 reactions
- Jan 27, 2026Integrate humanizer guidelines for documentation quality — shelbeely/ADHD-Closet0 reactions
- Jan 26, 2026New skill: /softaworks-command-creator (safe risk) — aiskillstore/marketplace0 reactions
- Jan 26, 2026New skill: /softaworks-marp-slide (low risk) — aiskillstore/marketplace0 reactions
- Jan 26, 2026New skill: /softaworks-skill-judge (safe risk) — aiskillstore/marketplace0 reactions
- Jan 26, 2026New skill: /softaworks-writing-clearly-and-concisely (safe risk) — aiskillstore/marketplace0 reactions
- Jan 26, 2026New skill: /softaworks-crafting-effective-readmes (safe risk) — aiskillstore/marketplace0 reactions
- Jan 26, 2026New skill: /softaworks-gepetto (safe risk) — aiskillstore/marketplace0 reactions
- Jan 26, 2026New skill: /softaworks-mermaid-diagrams (safe risk) — aiskillstore/marketplace0 reactions
- Jan 26, 2026New skill: /softaworks-reducing-entropy (safe risk) — aiskillstore/marketplace0 reactions
- Jan 26, 2026New skill: /softaworks-ship-learn-next (safe risk) — aiskillstore/marketplace0 reactions
- Jan 24, 2026New skill: /softaworks-codex (safe risk) — aiskillstore/marketplace0 reactions
- Jan 24, 2026New skill: /softaworks-daily-meeting-update (safe risk) — aiskillstore/marketplace0 reactions
- Jan 24, 2026New skill: /softaworks-domain-name-brainstormer (safe risk) — aiskillstore/marketplace0 reactions
- Jan 24, 2026New skill: /softaworks-commit-work (safe risk) — aiskillstore/marketplace0 reactions
- Jan 24, 2026New skill: /softaworks-agent-md-refactor (safe risk) — aiskillstore/marketplace0 reactions
- Jan 24, 2026New skill: /softaworks-session-handoff (low risk) — aiskillstore/marketplace0 reactions
- Jan 24, 2026New skill: /softaworks-dependency-updater (low risk) — aiskillstore/marketplace0 reactions
- Jan 24, 2026New skill: /softaworks-qa-test-planner (low risk) — aiskillstore/marketplace0 reactions
- Jan 24, 2026New skill: /softaworks-meme-factory (low risk) — aiskillstore/marketplace0 reactions
- Jan 24, 2026New skill: /softaworks-gemini (low risk) — aiskillstore/marketplace0 reactions
Other versions3 projects use a version of this.
Word for word · 1
- nbirkner/digital-brain★ 0100% same
Edited · 1
- demian85/agent-skills★ 254% same
Wrote their own version · 1
- joabgonzalez/ai-agents-skills★ 9same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository44 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-md-refactorSkill
- backend-to-frontend-handoff-docsSkill
- c4-architectureSkill
- codexSkill
- command-creatorSkill
- commit-workSkill
- crafting-effective-readmesSkill
- daily-meeting-updateSkill
- database-schema-designerSkill
- datadog-cliSkill
- dependency-updaterSkill
- design-system-starterSkill
- difficult-workplace-conversationsSkill
- domain-name-brainstormerSkill
- draw-ioSkill
- excalidrawSkill
- feedback-masterySkill
- frontend-to-backend-requirementsSkill
- game-changing-featuresSkill
- geminiSkill
- gepettoSkill
- humanizerSkill
- jiraSkill
- lesson-learnedSkill
- marp-slideSkill
- meme-factorySkill
- mermaid-diagramsSkill
- naming-analyzerSkill
- openapi-to-typescriptSkill
- perplexitySkill
- plugin-forgeSkill
- professional-communicationSkill
- qa-test-plannerSkill
- react-devSkill
- react-useeffectSkill
- reducing-entropySkill
- requirements-claritySkill
- session-handoffSkill
- ship-learn-nextSkill
- skill-judgeSkill
- web-to-markdownSkill
- writing-clearly-and-conciselySkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
All components now use standardized slots and slotProps pattern
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
MUI v7 Patterns
Purpose
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
onBackdropClickremoved from Modal - useonCloseinstead- All components now use standardized
slotsandslotPropspattern - CSS layers support via
enableCssLayerconfig (works with Tailwind v4)
When to Use This Skill
- 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
Quick Start
Basic MUI Component
import { Box, Typography, Button, Paper } from '@mui/material';
import type { SxProps, Theme } from '@mui/material';
const styles: Record<string, SxProps<Theme>> = {
container: {
p: 2,
display: 'flex',
flexDirection: 'column',
gap: 2,
},
header: {
mb: 3,
fontSize: '1.5rem',
fontWeight: 600,
},
};
function MyComponent() {
return (
<Paper sx={styles.container}>
<Typography sx={styles.header}>
Title
</Typography>
<Button variant="contained">
Action
</Button>
</Paper>
);
}Styling Patterns
Inline Styles (< 100 lines)
For components with simple styling, define styles at the top:
import type { SxProps, Theme } from '@mui/material';
const componentStyles: Record<string, SxProps<Theme>> = {
container: {
p: 2,
display: 'flex',
flexDirection: 'column',
},
header: {
mb: 2,
color: 'primary.main',
},
button: {
mt: 'auto',
alignSelf: 'flex-end',
},
};
function Component() {
return (
<Box sx={componentStyles.container}>
<Typography sx={componentStyles.header}>Header</Typography>
<Button sx={componentStyles.button}>Action</Button>
</Box>
);
}Separate Styles File (>= 100 lines)
For complex components, create separate style file:
// UserProfile.styles.ts
import type { SxProps, Theme } from '@mui/material';
export const userProfileStyles: Record<string, SxProps<Theme>> = {
container: {
p: 3,
maxWidth: 800,
mx: 'auto',
},
header: {
display: 'flex',
justifyContent: 'space-between',
alignItems: 'center',
mb: 3,
},
// ... many more styles
};
// UserProfile.tsx
import { userProfileStyles as styles } from './UserProfile.styles';
function UserProfile() {
return <Box sx={styles.container}>...</Box>;
}Common Components
Layout Components
// Box - Generic container
<Box sx={{ p: 2, bgcolor: 'background.paper' }}>
Content
</Box>
// Paper - Elevated surface
<Paper elevation={2} sx={{ p: 3 }}>
Content
</Paper>
// Container - Centered content with max-width
<Container maxWidth="lg">
Content
</Container>
// Stack - Flex container with spacing
<Stack spacing={2} direction="row">
<Item />
<Item />
</Stack>Grid System
import { Grid } from '@mui/material';
// 12-column grid
<Grid container spacing={2}>
<Grid item xs={12} md={6}>
Left half
</Grid>
<Grid item xs={12} md={6}>
Right half
</Grid>
</Grid>
// Responsive grid
<Grid container spacing={3}>
<Grid item xs={12} sm={6} md={4} lg={3}>
Card
</Grid>
{/* Repeat for more cards */}
</Grid>Typography
<Typography variant="h1">Heading 1</Typography>
<Typography variant="h2">Heading 2</Typography>
<Typography variant="body1">Body text</Typography>
<Typography variant="caption">Small text</Typography>
// With custom styling
<Typography
variant="h4"
sx={{
color: 'primary.main',
fontWeight: 600,
mb: 2,
}}
>
Custom Heading
</Typography>Buttons
// Variants
<Button variant="contained">Contained</Button>
<Button variant="outlined">Outlined</Button>
<Button variant="text">Text</Button>
// Colors
<Button variant="contained" color="primary">Primary</Button>
<Button variant="contained" color="secondary">Secondary</Button>
<Button variant="contained" color="error">Error</Button>
// With icons
import { Add as AddIcon } from '@mui/icons-material';
<Button startIcon={<AddIcon />}>Add Item</Button>Theme Integration
Using Theme Values
import { useTheme } from '@mui/material';
function Component() {
const theme = useTheme();
return (
<Box
sx={{
p: 2,
bgcolor: theme.palette.primary.main,
color: theme.palette.primary.contrastText,
borderRadius: theme.shape.borderRadius,
}}
>
Themed box
</Box>
);
}Theme in sx Prop
<Box
sx={{
// Access theme in sx
color: 'primary.main', // theme.palette.primary.main
bgcolor: 'background.paper', // theme.palette.background.paper
p: 2, // theme.spacing(2)
borderRadius: 1, // theme.shape.borderRadius
}}
>
Content
</Box>
// Callback for advanced usage
<Box
sx={(theme) => ({
color: theme.palette.primary.main,
'&:hover': {
color: theme.palette.primary.dark,
},
})}
>
Hover me
</Box>Responsive Design
Breakpoints
// Mobile-first responsive values
<Box
sx={{
width: {
xs: '100%', // 0-600px
sm: '80%', // 600-900px
md: '60%', // 900-1200px
lg: '40%', // 1200-1536px
xl: '30%', // 1536px+
},
}}
>
Responsive width
</Box>
// Responsive display
<Box
sx={{
display: {
xs: 'none', // Hidden on mobile
md: 'block', // Visible on desktop
},
}}
>
Desktop only
</Box>Responsive Typography
<Typography
sx={{
fontSize: {
xs: '1rem',
md: '1.5rem',
lg: '2rem',
},
lineHeight: {
xs: 1.5,
md: 1.75,
},
}}
>
Responsive text
</Typography>Forms
import { TextField, Stack, Button } from '@mui/material';
<Box component="form" onSubmit={handleSubmit}>
<Stack spacing={2}>
<TextField
label="Email"
type="email"
value={email}
onChange={(e) => setEmail(e.target.value)}
fullWidth
required
error={!!errors.email}
helperText={errors.email}
/>
<Button type="submit" variant="contained">Submit</Button>
</Stack>
</Box>Common Patterns
Card Component
import { Card, CardContent, CardActions, Typography, Button } from '@mui/material';
<Card>
<CardContent>
<Typography variant="h5" component="div">
Title
</Typography>
<Typography variant="body2" color="text.secondary">
Description
</Typography>
</CardContent>
<CardActions>
<Button size="small">Learn More</Button>
</CardActions>
</Card>Dialog/Modal
import { Dialog, DialogTitle, DialogContent, DialogActions, Button } from '@mui/material';
<Dialog open={open} onClose={handleClose}>
<DialogTitle>Confirm Action</DialogTitle>
<DialogContent>
Are you sure you want to proceed?
</DialogContent>
<DialogActions>
<Button onClick={handleClose}>Cancel</Button>
<Button onClick={handleConfirm} variant="contained">
Confirm
</Button>
</DialogActions>
</Dialog>Loading States
import { CircularProgress, Skeleton } from '@mui/material';
// Spinner
<Box sx={{ display: 'flex', justifyContent: 'center', p: 3 }}>
<CircularProgress />
</Box>
// Skeleton
<Stack spacing={1}>
<Skeleton variant="text" width="60%" />
<Skeleton variant="rectangular" height={200} />
<Skeleton variant="text" width="40%" />
</Stack>MUI-Specific Hooks
useMuiSnackbar
import { useMuiSnackbar } from '@/hooks/useMuiSnackbar';
function Component() {
const { showSuccess, showError, showInfo } = useMuiSnackbar();
const handleSave = async () => {
try {
await saveData();
showSuccess('Saved successfully');
} catch (error) {
showError('Failed to save');
}
};
return <Button onClick={handleSave}>Save</Button>;
}Icons
import { Add as AddIcon, Delete as DeleteIcon } from '@mui/icons-material';
import { Button, IconButton } from '@mui/material';
<Button startIcon={<AddIcon />}>Add</Button>
<IconButton onClick={handleDelete}><DeleteIcon /></IconButton>Best Practices
1. Type Your sx Props
import type { SxProps, Theme } from '@mui/material';
// ✅ Good
const styles: Record<string, SxProps<Theme>> = {
container: { p: 2 },
};
// ❌ Avoid
const styles = {
container: { p: 2 }, // No type safety
};2. Use Theme Tokens
// ✅ Good: Use theme tokens
<Box sx={{ color: 'primary.main', p: 2 }} />
// ❌ Avoid: Hardcoded values
<Box sx={{ color: '#1976d2', padding: '16px' }} />3. Consistent Spacing
// ✅ Good: Use spacing scale
<Box sx={{ p: 2, mb: 3, mt: 1 }} />
// ❌ Avoid: Random pixel values
<Box sx={{ padding: '17px', marginBottom: '25px' }} />Additional Resources
For more detailed patterns, see:
- styling-guide.md - Advanced styling patterns
- component-library.md - Component examples
- theme-customization.md - Theme setup
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

