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
ComponentsContent Blocks

Gravity Physics

Free

Gravity physics FAQ with draggable bubbles.

Refresh preview
Share Component
Copy CLI command

Gravity Physics

Props

faqsArray<{id: number, q: string, a: string}>

Array of FAQ items with id, question (q) and answer (a).

Default: []

backgroundColorstring

Background color (hex, rgb, or hsl).

Default: #111111

backgroundTextstring

Background text displayed behind bubbles.

Default: CHAOS

backgroundTextColorstring

Background text color.

Default: #222222

bubbleBgColorstring

Bubble background color.

Default: rgba(255,255,255,0.05)

bubbleBorderColorstring

Bubble border color.

Default: rgba(255,255,255,0.2)

bubbleTextColorstring

Bubble text color.

Default: #ffffff

activeBubbleBgColorstring

Active bubble background color.

Default: #a3e635

activeBubbleTextColorstring

Active bubble text color.

Default: #000000

activeBubbleShadowColorstring

Active bubble shadow color.

Default: rgba(163, 230, 53, 0.4)

hintTextstring

Hint text displayed at bottom.

Default: DRAG_TO_INSPECT // PHYSICS_ENGINE_ACTIVE

hintTextColorstring

Hint text color.

Default: rgba(255,255,255,0.5)

When to use

Ideal for experimental labs, creative agency landing pages, and Next.js applications that want a playful, interactive 'chaos' aesthetic. Use this React component for an FAQ section where questions are individual physics-based bubbles that users can drag and toss.

Best practices

Maintain consistent spacing within your design system by using it for high-impact narrative sections. Follow React best practices by pairing it with clear 'Hint' text. Optimize for performance by managing the number of concurrent physics bodies to ensure smooth 60fps interaction.

Why it matters

Physics-based UIs create a sense of tangibility and fun. This production-ready component helps you build an interface that feels toy-like and engaging, making the process of information discovery memorable for your users.

Frequently asked questions

How realistic is the physics?

It uses a simplified 2D physics engine with gravity, collision detection, and friction to ensure bubbles feel 'heavy' and reactive.

What happens when I click a bubble?

The bubble expands and locks into a focused state, displaying the answer while the other bubbles react to the collision.

Is it too chaotic for serious sites?

The 'chaos' can be controlled by adjusting the initial velocity and gravity props, allowing for a more stable or hyper-active experience.
PreviousLuxury FluidNextDecryptor

Related components

  • Uilora DynamicInteractive tiered pricing calculator with seat slider, billing toggle, and real-time cost breakdown.
  • Uilora Cloud SliderDark navy 3-plan cloud pricing with per-card sliders, add-on checkboxes, and live price calculation.
  • Uilora MatrixFeature comparison matrix with 3 plans, monthly/yearly toggle, Pro spotlight, check/cross icons.

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