Timeout Button
◉ ButtonsConfirmation button with GSAP-animated countdown timer and cancel support.
buttonconfirmtimeoutcountdownundoanimationgsap
No preview available
Click to arm ~ Click again to cancel
Controls
#ef4444
3
Confirmation button with GSAP-animated countdown timer and cancel support.
No preview available
Click to arm ~ Click again to cancel
Buttons / React Component
Confirmation button with GSAP-animated countdown timer and cancel support.
Copy the shadcn CLI command below. Replace YOUR_LICENSE_KEY with the license key from your FutureUI account — or log in and it will auto-fill for you.
npx shadcn@latest add "https://futureui.studio/api/registry/timeout-button.json?key=YOUR_LICENSE_KEY" import { TimeoutButton } from './TimeoutButton';
export default function Example() {
return (
<TimeoutButton
label="Delete"
cancelLabel="Undo"
doneLabel="Deleted"
timeout={5}
accentColor="#ef4444"
onConfirm={() => console.log('Action confirmed!')}
/>
);
}