COMPONENTS / FEEDBACK
Toast notifications
Short-lived confirmation that can be dismissed.
approvedv1.0.0verifiedFigma linked
Design variations
Success
Info
Error
Implementation
// npx github:rbillyjames0221/csc-ui init
import '@csc/ui/styles.css';
import { ToastProvider } from '@csc/ui';
export function Example() {
return (
<ToastProvider tone="success" />
);
}Agent prompt
Copy a prompt for this component from the AI Development Hub.
When to use it
Short-lived confirmation that can be dismissed.
Dependencies: lucide-react. Source: packages/ui/src/toast.tsx. 1.0.0 — Success, info, and error toasts.