Gravity Physics

Gravity physics FAQ with draggable bubbles.

faqgravityphysicsdraggable

Props

Customize the component with these props

PropertyTypeDefaultDescription
faqs
Array<{id: number, q: string, a: string}>[]Array of FAQ items with id, question (q) and answer (a).
backgroundColor
string#111111Background color (hex, rgb, or hsl).
backgroundText
stringCHAOSBackground text displayed behind bubbles.
backgroundTextColor
string#222222Background text color.
bubbleBgColor
stringrgba(255,255,255,0.05)Bubble background color.
bubbleBorderColor
stringrgba(255,255,255,0.2)Bubble border color.
bubbleTextColor
string#ffffffBubble text color.
activeBubbleBgColor
string#a3e635Active bubble background color.
activeBubbleTextColor
string#000000Active bubble text color.
activeBubbleShadowColor
stringrgba(163, 230, 53, 0.4)Active bubble shadow color.
hintText
stringDRAG_TO_INSPECT // PHYSICS_ENGINE_ACTIVEHint text displayed at bottom.
hintTextColor
stringrgba(255,255,255,0.5)Hint text color.
Gravity Physics - Content Blocks Component | UILora