Skip to content

Snackbar

A brief message with an optional action and dismiss, queued through a host.

import { Snackbar, SnackbarHost, useSnackbarHostState } from '@windmorph/react';

Playground

Message archived

Code

import { Snackbar } from '@windmorph/react'; <Snackbar  actionLabel="Undo"  onClose={() => {}}  onAction={() => {}}>  Message archived</Snackbar>

Examples

Layouts

Two lines

Host and queue