A beautiful toast notification component with smooth animations.
Installation
Usage
import { ToastDemo } from "viora-ui";import { ToastDemo } from "viora-ui";
export default function ToastDemoDemo() {
return (
<div className="flex min-h-[350px] w-full items-center justify-center p-6">
<ToastDemo />
</div>
);
}API Reference
Toast
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | - | Configuration for title. |
| description | string | - | Configuration for description. |
| action? | React.ReactNode | - | Configuration for action. |
| onClose? | () => void | - | Callback fired on close event. |
Built by Otis
Last updated: 9/13/2026