Hero: marquee
Hero over a row of logos or product names.
Preview
The row scrolls endlessly. It pauses on hover, on keyboard focus and with the visible pause button. With reduced motion turned on, it renders the plain layout.
Used in projects of every size
Logos or names in an endless row. Sample names.
- Northwind
- Globex
- Initech
- Umbrella
- Hooli
- Stark
- Wayne
Used in projects of every size
Logos or names in an endless row. Sample names.
- Northwind
- Globex
- Initech
- Umbrella
- Hooli
- Stark
- Wayne
Installation
Run this in a project that already uses shadcn/ui. It adds the component and anything it needs; the motion version also adds the plain one and the motion package.
Usage
import { HeroMarquee } from "@/components/custom/hero-marquee";
<HeroMarquee
title="Used in projects of every size"
items={[{ name: "Acme" }, { name: "Globex", logo: <GlobexLogo /> }]}
/>import { HeroMarqueeMotion } from "@/components/custom/hero-marquee/hero-marquee-motion";
<HeroMarqueeMotion title="Used in projects of every size" items={logos} speed={40} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title* (required) | string | – | The headline, rendered as the page's h1. |
| eyebrow | string | – | Small badge above the title. |
| description | string | – | Supporting line under the title. |
| primaryAction | { label: string; href: string } | – | Filled button. |
| secondaryAction | { label: string; href: string } | – | Outline button. |
| items* (required) | { name: string; logo?: ReactNode }[] | – | Logos or names. Names stay readable to screen readers when a logo is shown. |
| speed | number | 30 | Seconds per full loop (motion version). |
| ...props | React.ComponentProps<"section"> | – | Any other section attribute (id, aria-*, data-*, ref) goes to the root element. |
| Prop | Type | Default | Description |
|---|---|---|---|
| title* (required) | string | – | The headline, rendered as the page's h1. |
| eyebrow | string | – | Small badge above the title. |
| description | string | – | Supporting line under the title. |
| primaryAction | { label: string; href: string } | – | Filled button. |
| secondaryAction | { label: string; href: string } | – | Outline button. |
| items* (required) | { name: string; logo?: ReactNode }[] | – | Logos or names. Names stay readable to screen readers when a logo is shown. |
| speed | number | 30 | Seconds per full loop (motion version). |
| ...props | React.ComponentProps<"section"> | – | Any other section attribute (id, aria-*, data-*, ref) goes to the root element. |
Accessibility
- Items are a list, so screen readers announce how many there are.
- The motion version follows the visitor's reduced-motion setting and never hides content before it animates.