Basic Toast
Trigger a short notification from any client component.
tsx
const { toasts, showToast } = useToast()
<Button onClick={() => showToast({ message: 'Profile saved' })}>
Show toast
</Button>
{toasts.map((toast) => (
<Toast key={toast.id} {...toast} />
))}