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.

TargetReferencePackage
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

PropTypeDefaultDescription
message string snackbar text.
action-label string optional action button.
icon string widgets leading glyph.