Files
zeekay 8e572430a8 feat: Zoo Design System — tokens, components, brand assets, guidelines
Monochrome, dark by default. One hue rendered through an opacity ladder.
Tokens (color, type, spacing, radius, elevation, motion) + core/forms/navigation/
overlays components + brand guidelines + ui kit. The single source of truth for
every Zoo surface — loadable and editable.
2026-07-24 17:21:13 -07:00

13 lines
559 B
TypeScript

/** Transient confirmation. Mount <Toaster /> once, then call toast() from anywhere. */
export interface ToasterProps {
/** Auto-dismiss in ms. */
duration?: number;
position?: 'bottom-right' | 'top-right';
}
export function Toaster(props: ToasterProps): JSX.Element;
export interface ToastOptions { description?: string; tone?: 'default' | 'success' | 'error' }
export const toast: ((message: string, opts?: ToastOptions) => number) & {
success(message: string, opts?: ToastOptions): number;
error(message: string, opts?: ToastOptions): number;
};