VISUALLIdesign system

Feedback

Toast

A transient system message — something that happened to the person, not something they asked for.

Playground

Change the props, switch theme in the header, try Tablet and Phone widths, then copy the code.

Playground

Examples

Live previewOpen ↗

Props

export interface ToastProps {
  tone?: 'neutral' | 'success' | 'warning' | 'danger' | 'info';
  title: string;
  action?: { label: string;
  onClick?: () => void };
  onDismiss?: () => void;
  children?: ReactNode
}

Use

import { Toast } from '@visualli/design-system/components';

Source: components/src/ · Guidelines: components/catalog/Toast/README.md