Infinite Marquee

Infinite marquee FAQ with looping scroll.

Main Features of Infinite Marquee

How to Use Infinite Marquee in Next.js

Installation Guide for Infinite Marquee

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#FFFF00Background color (hex, rgb, or hsl).
cardBgColor
string#000000Card background color.
cardTextColor
string#ffffffCard text color.
cardBorderColor
string#000000Card border color.
hoverCardBgColor
string#ffffffCard background color on hover.
hoverCardTextColor
string#000000Card text color on hover.
questionColor
string#ffffffQuestion text color.
answerColor
string#ffffffAnswer text color.
speed1
number20Animation speed for first row (seconds).
speed2
number25Animation speed for second row (seconds).
speed3
number30Animation speed for third row (seconds).

When to Use

Ideal for high-energy brands, fashion landing pages, and Next.js sites that want a bold, 'moving-billboard' aesthetic. Use this React component for a high-impact FAQ section with infinite looping marquee text and bold typographic reveals.

Best Practices

Follow React best practices by using bold, high-contrast typography and high-saturation colors. Maintain scalable component architecture by adjusting the marquee speeds to avoid user motion sickness. Optimize for performance by using CSS-based transforms for the infinite scroll.

Why This Component Matters in Modern UI Development

Marquee layouts are a hallmark of modern brutalist and high-fashion web design. This production-ready component helpsคุณ build an interface that feels loud and confident, turning your support content into a primary visual statement.

Frequently Asked Questions

QIs the scrolling smooth?

Yes, it uses a seamless infinite loop with sub-pixel CSS translation to ensure the text moves fluidly without jumps or jitters.

QCan I pause it?

The marquee is designed to pause or slow down on hover to ensure that users can easily read the specific FAQ items of interest.

QHow do I change the text direction?

The rows can be configured to scroll in opposite directions, creating a dynamic 'sawtooth' motion effect across the section.

Infinite Marquee - React FAQ & Accordion Component | Uilora