KokonutUI Logo

FB-01FeedbackNew, November 10, 2026

Promise Toast

A toast that follows a task: the ring spins while it works, closes into a check or a warning when it lands, and offers Undo or Retry. Toasts stack, fan out on hover and swipe away.

Install with
lucide-react, motion

PRODither Reveal Hero and more like it are in Kokonut UI Pro

Installation

Promise Toast is a free, open-source React component in the Kokonut UI Feedback collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/promise-toast.tsx, so the code is yours to change.

npx shadcn@latest add @kokonutui/promise-toast

Usage

import PromiseToast from "@/components/kokonutui/promise-toast";

export default function Example() {
  return <PromiseToast />;
}

Dependencies

Built with React, Tailwind CSS, lucide-react and motion.

On this page

No Headings