Toast notification component with multiple variants and stacking support
Overview
The Toast component displays temporary notifications with support for multiple variants (info, success, warning, error), actions, and automatic stacking.
Basic Usage
Code
Preview
import { Toast } from '@peppermint-design/devreadykit-custom';import { useState } from 'react';import { Button } from '@peppermint-design/devreadykit-custom';export default function ToastBasic() { const [open, setOpen] = useState(false);return (<> <Button onClick={() => setOpen(true)}>Show Toast</Button> <Toast open={open} onClose={() => setOpen(false)} title="Notification" description="This is a toast message" /></>); }