Menu
Gravity physics FAQ with draggable bubbles.
Gravity Physics
faqs
Array<{id: number, q: string, a: string}>
Array of FAQ items with id, question (q) and answer (a).
Default: []
[]
backgroundColor
string
Background color (hex, rgb, or hsl).
Default: #111111
#111111
backgroundText
Background text displayed behind bubbles.
Default: CHAOS
CHAOS
backgroundTextColor
Background text color.
Default: #222222
#222222
bubbleBgColor
Bubble background color.
Default: rgba(255,255,255,0.05)
rgba(255,255,255,0.05)
bubbleBorderColor
Bubble border color.
Default: rgba(255,255,255,0.2)
rgba(255,255,255,0.2)
bubbleTextColor
Bubble text color.
Default: #ffffff
#ffffff
activeBubbleBgColor
Active bubble background color.
Default: #a3e635
#a3e635
activeBubbleTextColor
Active bubble text color.
Default: #000000
#000000
activeBubbleShadowColor
Active bubble shadow color.
Default: rgba(163, 230, 53, 0.4)
rgba(163, 230, 53, 0.4)
hintText
Hint text displayed at bottom.
Default: DRAG_TO_INSPECT // PHYSICS_ENGINE_ACTIVE
DRAG_TO_INSPECT // PHYSICS_ENGINE_ACTIVE
hintTextColor
Hint text color.
Default: rgba(255,255,255,0.5)
rgba(255,255,255,0.5)
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.
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.
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.
Unlock the full library with one payment.