Components general

Marquee

An auto‑scrolling content strip with CSS‑only animation. It displays testimonials or logos in a continuous loop and supports pause on hover, reverse direction, and configurable speed.

已更新 Mar 6, 2026

Marquee

An auto‑scrolling content strip with CSS‑only animation. It displays testimonials or logos in a continuous loop and supports pause on hover, reverse direction, and configurable speed.

Use Cases

  • Customer testimonials / reviews section
  • Partner or client logo strip
  • Social proof section on landing pages
  • Trust indicators (awards, certifications)

Properties

items

Array of items to display in the marquee. Type: array. Required.

speed

Scroll speed (1 = slow, 10 = fast). 3 is a comfortable reading speed. Type: number. Default: 3.

reverse

Whether the second row scrolls in the opposite direction. Type: boolean. Default: true.

pauseOnHover

Pause animation when user hovers over the marquee. Type: boolean. Default: true.

variant

testimonial = card with name/title/body. logo = compact logo display. Type: string. Options: testimonial, logo. Default: testimonial.

customCss

Custom CSS property pairs. Type: string.

Best Practices

  • Use 6 + items for smooth continuous scrolling
  • Keep testimonial body text to 1-2 sentences
  • Set pauseOnHover to true so users can read individual items
  • Use reverse: true for visual interest (second row goes opposite direction)
  • For logo variant, use transparent PNG or SVG logos

Common Mistakes

Using only 2-3 items

Why it's a problem: With few items, the gap between repeats is visible and the loop looks jarring

Fix: Use at least 6 items. The component repeats items 4x to create a seamless loop.

Writing very long testimonial body text

Why it's a problem: Cards scroll past too quickly to read long text

Fix: Keep body text to 1-2 sentences max (under 100 characters ideal)

标签

marquee sections customer testimonials partner or social proof

相关组件

准备好构建了吗?

使用 Qödiak 免费开始创建您的应用。

免费开始

相关文章

AnimatedGradient

Smooth animated gradient background for modern, premium aesthetics. Supports linear and radial gradients with configurable colors, animation speed, and intensity. GPU‑accelerated for smooth 60fps performance.

Button

Interactive button component that supports link navigation, page data source operations (record navigation, new record, mode switching), form submission, and custom JavaScript execution. Save/Delete actions must use a custom‑script with navigation. Two visual variants are available, and the button can be enabled or disabled dynamically based on data context.

Calendar

A full‑featured calendar component built with react‑big‑calendar. It can display events in month, week, day, or agenda views and includes navigation and view‑switching capabilities, making it suitable for any site that needs scheduling, event management, or date visualization.

Card

Feature card component with an icon, title, description, and entrance animations. Ideal for showcasing features, services, or benefits in grid layouts with animation support.

Checkbox

A checkbox group component that lets users select multiple options from a predefined list. It renders a set of checkboxes with individual labels and can be arranged vertically or horizontally.

CountdownTimer

Real-time countdown timer component that displays the time remaining until a target date/time. It updates every second, offers customizable formatting, and shows a completion message when the countdown ends. Suitable for any site type.