Menu
Elastic pull FAQ with spring physics.
Elastic Pull
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: #171717
#171717
cardBgColor
Card background color.
Default: #262626
#262626
cardTextColor
Card text color.
Default: #ffffff
#ffffff
dragHintColor
Drag hint text color.
Default: #737373
#737373
answerBgColor
Answer background color.
answerTextColor
Answer text color.
Default: #d4d4d4
#d4d4d4
answerBorderColor
Answer border color.
Default: #404040
#404040
dragLeftColor
Background color when dragging left.
Default: #ff0055
#ff0055
dragRightColor
Background color when dragging right.
Default: #0055ff
#0055ff
dragCenterColor
Background color when centered.
Excellent for mobile-first applications, playful landing pages, and Next.js sites that want a tactile, 'stretchy' aesthetic. Use this React component for an FAQ section where answers are revealed through elastic 'pull-to-open' interactions and spring-based physics.
Maintain consistent spacing within your design system by using it as a secondary information layer. Follow React best practices by pairing it with clear drag indicators. Optimize for performance by using Framer Motion's hardware-accelerated spring animations.
Elastic interactions feel more natural and responsive to swipe gestures. This production-ready component helps you build an interface that feels modern and lightweight, improving the joy of small interactions (micro-interactions) in your project.
Unlock the full library with one payment.