Dev Design Library

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.".

Promise Toast preview
Library
Kokonut UI
Framework
React
Type
component
License
MIT
Dependencies
lucide-react, motion
Install
npx shadcn@latest add @kokonutui/promise-toast
Files
  • components/kokonutui/promise-toast.tsx
  • lib/utils.ts
Source
https://github.com/kokonut-labs/kokonutui

Categories

More from Kokonut UI