structyl

Snackbar

stable

A brief status message.

Basic usage

Saved successfully

Examples

Static placement

Override positioning for embedded examples and tests.

Profile updated

Auto-hide message

Use autoHideDuration when the snackbar should dismiss itself.

Saved for later

Anchors and actions

Snackbar supports MUI-style anchorOrigin, message, action, auto-hide and close reasons.

Archived

Features

  • Controlled or uncontrolled.
  • Optional auto-hide duration.

Installation

bash
pnpm dlx structyl add snackbar

API Reference

Snackbar API reference

Full props, types, defaults.

View API
Snackbar | structyl