Uilora
ComponentsBlogMCPPricing
Search components ⌘K
Web
App
Favorites
Close sidebar
Join

Menu

ComponentsBlogMCPPricingShowcaseAboutHelp
Web
App

Get Started

IntroductionInstallationGetting StartedComponentsTheme ManagerTemplatesMCPWhy Uilora?

Crazy Components

404 PageDig HoleImage SliderFlower AnimationImage Trail EffectLiquid RevealPrismRussian WebsiteSketchy LineSlider PageNeon RibbonGrid Distortion

Core Landing Pages

Hero Sections10+
Complete Landing Pages21+
Startup Landing9+
SaaS Dashboards15+
Agency Portfolio21+
Auth6+

Backgrounds & Visuals

Backgrounds23+
Gradient Packs9+
Blurred Backgrounds9+
Pattern Backgrounds5+
Noise Textures6+

Navigation & Structure

Navbar6+
Footers12+
Mega Menus21+
Chat UI11+

UI Components

Forms23+
Buttons4+
Cards11+
Toasts8+
File Uploads8+
Modals & Design8+

Grids & Layouts

Bento Grids8+
Feature Grids11+
Gallery Grids17+
Masonry Grids12+

Media

Image Galleries10+
Lightboxes13+
Video Players5+
Testimonials Media11+

Content Blocks

Feature Sections8+
Testimonials20+
Stats Sections9+
Pricing18+
FAQ16+
Timeline8+
Pagination10+

Animations & Motion

Skeletons Loader5+
Parallax Scroll6+
Scroll Reveals14+
Text Animations12+
Magnetic Cursor7+
3D Transforms4+

Special Elements

Accordions9+
Tabs6+
Carousels9+
Badges5+
Avatars4+
Breadcrumbs4+
Selector5+
Tables13+
Sign In
Uilora

Main Navigation

ComponentsBlogMCPPricing

Environment

Get Started

IntroductionInstallationGetting StartedComponentsTheme ManagerTemplatesMCPWhy Uilora?

Crazy Components

404 PageDig HoleImage SliderFlower AnimationImage Trail EffectLiquid RevealPrismRussian WebsiteSketchy LineSlider PageNeon RibbonGrid Distortion

Core Landing Pages

Hero Sections10+
Complete Landing Pages21+
Startup Landing9+
SaaS Dashboards15+
Agency Portfolio21+
Auth6+

Backgrounds & Visuals

Backgrounds23+
Gradient Packs9+
Blurred Backgrounds9+
Pattern Backgrounds5+
Noise Textures6+

Navigation & Structure

Navbar6+
Footers12+
Mega Menus21+
Chat UI11+

UI Components

Forms23+
Buttons4+
Cards11+
Toasts8+
File Uploads8+
Modals & Design8+

Grids & Layouts

Bento Grids8+
Feature Grids11+
Gallery Grids17+
Masonry Grids12+

Media

Image Galleries10+
Lightboxes13+
Video Players5+
Testimonials Media11+

Content Blocks

Feature Sections8+
Testimonials20+
Stats Sections9+
Pricing18+
FAQ16+
Timeline8+
Pagination10+

Animations & Motion

Skeletons Loader5+
Parallax Scroll6+
Scroll Reveals14+
Text Animations12+
Magnetic Cursor7+
3D Transforms4+

Special Elements

Accordions9+
Tabs6+
Carousels9+
Badges5+
Avatars4+
Breadcrumbs4+
Selector5+
Tables13+
Join Uilora Community
ComponentsCore Landing Pages

Draggable

Free

Interactive hero section with draggable elements and smooth physics-based interactions.

Refresh preview
Share Component
Copy CLI command

Draggable

Props

primaryColorstring

Primary color for draggable elements.

Default: #3b82f6

dragStiffnessnumber

Stiffness of drag physics (100-500).

Default: 300

dragDampingnumber

Damping of drag physics (10-50).

Default: 30

enableConstraintsboolean

Enable drag constraints and boundaries.

Default: true

When to use

Excellent for design tools, creative agencies, and Next.js applications that want an immersive, interactive feel. Use this React component for a hero section where users can physically 'play' with the page elements through smooth, physics-based dragging.

Best practices

Maintain scalable component architecture by keeping draggable elements within clear boundaries. Follow React best practices by pairing this with Framer Motion. Optimize for performance by managed the drag event listeners.

Why it matters

Draggable interactions increase user sessions by encouraging active exploration. This production-ready component helps you build an interface that feels deep and tangible, turning a static landing page into an interactive physical space.

Frequently asked questions

How does the physics work?

It uses Framer Motion's internal physics engine to handle momentum, friction, and spring-back effects.

Can I lock the elements?

Yes, setting `enableConstraints` to `true` (default) ensures that elements cannot be dragged off the screen.

Is it good for accessibility?

All draggable elements include standard pointer event listeners and can be easily adapted for voice or keyboard-driven 'drags'.
PreviousCartoonishNextGlass Operating System

Related components

  • CartoonishPlayful cartoon-style hero section with fun animations and vibrant colors.
  • Glass Operating SystemGlassmorphism hero section with frosted glass effects and modern OS-inspired design.
  • Holographic CoreFuturistic holographic hero section with sci-fi aesthetics and glowing effects.

Unlock the full library with one payment.

Contribute FeedbackCompare plans
Uilora

A curated collection of high-fidelity components designed to build modern web interfaces with speed and precision.

Contact

support@uilora.comGitHub
Product Hunt
Featured onProduct Hunt

Web Library

  • Web Components
  • Documentation
  • Pricing
  • MCP Server

App Library

  • Mobile Components
  • Platform Notes
  • Installation

Resources

  • Showcase
  • Blog
  • FAQ
  • Contribute
  • GitHub

Support

  • About Us
  • Help Center
  • Feedback
  • Privacy Policy
  • Terms of Service

© 2026 Uilora UI. All rights reserved.

PrivacyTermsFeedback
Made withbynitin14gupta