Toast

PreviousNext

toast-demo

Docs
intentuipage

Preview

Loading preview…
components/docs/statuses/toast/toast-demo.tsx
"use client"

import { toast } from "sonner"
import { Button } from "@/components/ui/button"

export default function ToastDemo() {
  return (
    <Button onPress={() => toast("The registration is successful, click here to continue.")}>
      Show Toast
    </Button>
  )
}

Installation

npx shadcn@latest add @intentui/toast-demo

Usage

Usage varies by registry entry. Refer to the registry docs or source files below for details.