Frontend
UI
Components
Toast

Toast

A succinct message that is displayed temporarily.

Installation

npx arke-ui@latest add toast

Add the <Toaster/> component on your app/layout.tsx:

import { Toaster } from "@/components/ui/toaster"
 
export default function RootLayout({ children }) {
  return (
    <html lang="en">
      <head />
      <body>
        <main>{children}</main>
        <Toaster />
      </body>
    </html>
  )
}