Dev Design Library

Undo Pill

An inline undo pill with a draining countdown ring that pauses on hover and fires undo or expire callbacks.

Undo Pill preview
Library
Spectrum UI
Framework
React
Type
component
License
Apache-2.0
Dependencies
framer-motion
Install
npx shadcn@latest add @spectrumui/undo-pill
Files
  • app/registry/undo-pill/undo-pill.tsx
  • lib/utils.ts
Source
https://github.com/arihantcodes/spectrum-ui

Categories

More from Spectrum UI