An open source design system that's fully customizable and agent ready
TypeScript
// Copyright (c) Meta Platforms, Inc. and affiliates.
'use client';
export {useToast} from './useToast';
export type {
ToastType,
ToastPosition,
ToastCollisionBehavior,
ToastDismissReason,
ToastOptions,
ToastDismissFn,
ShowToastFn,
ToastContentRenderProps,
ToastContentRenderFn,
} from './types';
// Exported for LayerProvider integration
export {ToastViewport} from './ToastViewport';
export type {ToastViewportProps} from './ToastViewport';
// Exported for inline rendering in previews and documentation
export {Toast} from './Toast';
export type {ToastProps} from './Toast';