EasyUI Logoeasyui
HomeComponentsDocs
TracwellAnalytics sponsoreasyui
ComponentsDocsGitHubLLMs
© 2026 EasyUI. Built by Suraj Maurya

Intro

Guides

Components

Activity Feed
Advanced Data Table
AI Agent Activity
AI Response
Airport Matrix Clock
NEW
Animated File Upload
Animated Number Morph
Animated Tabs
Avatar Stack
Batch Gesture Tray
Book Call Button
Branching Submenu
Button
Car Smoke Page Transition
Chat
Circular Orbit
Code Snippet Deck
Command Menu
Cursor Follower
Density Lens
Dependency Trace
Depth Corridor
DirectionalTooltip
Dot Field
Dot Shader
Drag to Confirm
DrawCheckbox
Dynamic Island
NEW
Evil Eye
Expandable Data Row
Expandable Search
FAQ
Floating Action Dock
Focus Mode
Form
Glass Navbar
Glitch Text
Glyph Matrix
Gooey Menu
Gravity Particle Burst
Hamburger Menu
Interactive Timeline
Intro Loader
iOS-style Search Bar
Liquid Ripple Button
Liquid Toggle
Loader
LockInput
Login
macOS Folder Cards
Magnetic Button
Meteors
Metric HUD
Morphing Blob
Morphing Button
Morphing Dialog
Morphing Icon
Morphing Shape Loader
Neon Edge Button
Nimbu Mirchi
Not Found
Notification Bell
Notification Stack
Orbital Loading Ring
OriginDropdown
OTP Input
Particle Delete
Payment Receipt Printer
Payment Status
Peek Card
Pill Navigation
PressButton
Pricing
Profile Card
Pull to Refresh
Rainbow Button
Recovery Ledger
Reveal Card
Rocket Party Popper
Scroll Progress Navigation
Scroll Velocity Text
Selection Basket
SettleModal
Shooting Stars
Sign Up
SlidePagination
Small Floating Dock
Smart Comparison
Smooth Accordion
Sparkles Core
Speed Warp
Split Button
Spotlight Card
Spotlight Search
SpringSelect
Stack Unfold Panel
Stacked Cards
Sticky Pages
Story Cards
StretchSwitch
Text Scramble Decoder
Thinking Orb
Torque Dial
Typewriter Button
Undo Toast
UnfoldAccordion
VelocityToast
Wallet Card
  1. EasyUI
  2. Components
  3. Drag to Confirm

Drag to Confirm

A physical drag-to-confirm slider for high-stakes and destructive actions, equipped with elastic spring snapback physics, progressive track illumination, and accessible keyboard fallbacks.

Loading preview…

Installation

Add the component directly to your repository using shadcn CLI:

npx shadcn@latest add Surajmaurya1/easyui/drag-to-confirm

API Reference

PropTypeDefaultDescription
labelstring'Slide to confirm'Action instruction text rendered along track
confirmedLabelstring'Confirmed ✓'Text shown when slider is locked into completion
actionType'delete' | 'archive' | 'confirm' | 'submit' | 'unlock' | 'continue''confirm'Action preset style
onConfirm() => voidundefinedCallback triggered upon successful confirmation completion
autoResetDelaynumber2500Milliseconds before resetting back to start
disabledbooleanfalseDisables slider gesture and interaction

Related Components

Buttons

Book Call Button

Expanding accent pill with phone hover state

Buttons

Button

Multi-variant button system with tactile physics

Buttons

Code Snippet Deck

Multi-language code runner snippet deck with live variable tuning

Slide to delete pipeline →

Physical resistance spring handle with tactile snapback