Alert
Alerts display brief, important messages to attract attention without interrupting workflow.
Standard (Default)
Outlined
Filled
With Actions
Filled with Actions
Dense (no title)
Usage
import Alert from '@mui/material/Alert';
import AlertTitle from '@mui/material/AlertTitle';
<Alert severity="success">Operation completed.</Alert>
<Alert severity="error" variant="filled">
<AlertTitle>Error</AlertTitle>
Something went wrong.
</Alert>