⚡
Documentation & Primitives

Toast

Notification toast system with toast.success(), toast.error(), and auto-dismissal.

Interactive Preview

Live
✓ Deployment successful!
✕ Network timeout error

Component Props

  • titleprop
  • messageprop
  • typeprop
  • durationprop

Usage Code

TypeScript / JSX
import { toast, Toaster, Button } from '@stackvibe-studio/ui';

export function App() {
  return (
    <>
      <Button onClick={() => toast.success('Changes saved successfully!')}>
        Trigger Toast
      </Button>
      <Toaster />
    </>
  );
}