Component · Feedback
Snackbar
a brief confirmation with an optional single action, anchored bottom-center.
Example
Where available
✓ React
✓ Angular
✓ Web Components
✓ Blazor
✓ Tokens
Using it
the same component, named idiomatically per target. one CSS contract underneath, so they render identically.
| Target | Reference | Package |
| React | <Snackbar> | @design-foundry/lucent-react |
| Angular | <lucent-snackbar> | @design-foundry/lucent |
| Web Components | <lucent-snackbar> | @design-foundry/lucent-wc |
| Blazor | <LucentSnackbar> | DesignFoundry.Lucent |
API
| Prop | Type | Default | Description |
| message | string | — | snackbar text. |
| action-label | string | — | optional action button. |
| icon | string | widgets | leading glyph. |