Snackbar
Snackbar Component
Playground
Props
| Prop | Type | Default | Value |
|---|---|---|---|
| open | boolean | — | |
| message | text | — | |
| position | selectbottom-left | bottom-center | bottom-right | top-center | — |
Default
WithAction
TopCenter
| PROP | TYPE | DEFAULT | DESCRIPTION |
|---|---|---|---|
message | text | — | Notification message |
open | boolean | — | Whether the snackbar is visible |
position | select | — | Position on screen |
Using Snackbartsx
import { Snackbar } from '@/components/Snackbar'
<Snackbar
open="..."
message="..."
position="..."
/>Tokens Used
No design tokens detected