Sheet 02 · Getting started
Installation
Add only the pieces you use with the shadcn CLI. SureUI is built for Base UI, the shadcn default.
Steps
- 01
Add the items you need
Each brings the confirmation core with it. Skip the dialog and it never lands in your app.
- 02
Mount the Toaster, for undo toasts only
undoToast shows a shadcn toast. Everything else needs no setup.
import { Toaster } from "@/components/ui/sonner"export default function RootLayout({ children }) { return ( <html lang="en"> <body> {children} <Toaster /> </body> </html> )}