Snackbar
stableA brief status message.
Basic usage
Examples
Static placement
Override positioning for embedded examples and tests.
Auto-hide message
Use autoHideDuration when the snackbar should dismiss itself.
Anchors and actions
Snackbar supports MUI-style anchorOrigin, message, action, auto-hide and close reasons.
Features
- Controlled or uncontrolled.
- Optional auto-hide duration.
Installation
bash
pnpm dlx structyl add snackbarAPI Reference
Snackbar API reference
Full props, types, defaults.