Skip to content
Agentic UI Kit
Buy

Motion Slide To Confirm

Payout release card where the treasury operator slides the thumb to the end to release a 48-recipient batch, and a shorter drag springs back with Not released announced.

Full screen Try a theme

Choose the primitives library your project already uses. Both look the same: your theme, not the variant, controls colors, shape, type and motion.

About this motion

What it's for

  • Payout release card where the treasury operator slides the thumb to the end to release a 48-recipient batch, and a shorter drag springs back with Not released announced.
  • Square destructive track to cancel a scheduled transfer on a mobile banking screen.
  • Approve invoice track in an accounts payable queue that resets itself after confirming.

For Destructive button actions in settings where a press-and-hold fits better, use Motion Hold To Confirm.

Includes

  • Drag to confirm
  • Spring back below threshold
  • Slider role with valuetext
  • Enter confirms after explicit focus
  • Pill and square variants
  • Standard button fallback
  • Polite result announcement
  • Reduced motion fallback

Works with

  • Radix UI and Base UI primitives (pick the one your project uses)
  • React 19, Next.js App Router and Tailwind CSS 4, installed with the shadcn CLI
  • Your theme tokens, in light and dark mode

Install

Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.

Agentic UI CLI
agentic-ui add motion-slide-to-confirm
Installs through shadcn and adapts the component to your design tokens.
shadcn CLI
npx shadcn@4.17.0 add @agentic-ui/motion-slide-to-confirm

Used in

A standalone component: drop it into any screen.

Type
Motion
Variants
Radix UI and Base UI
Themes
Light and dark
Widths
Preview it at desktop, tablet and mobile widths above.
Motion
Animated, with a reduced-motion fallback