Logos, marquee
betaA line of customer logos that scrolls endlessly, pauses on hover and has a pause button; still with motion off.
npx rasengan-ui add logos-marquee
Trusted by studios in 30 countries
LumenNorthwindAcmeGlobexInitechUmbrellaHooliStark
- Use it
- Right after a hero, to show who already uses the product.
- Avoid it
- Fewer than four logos, or logos you have no permission to show.
- Built with
- Marquee
- Pairs with
- Features, gridStats, numbers
Installation
It installs into components/blocks/logos-marquee/, with what it uses (Marquee) and lib/blocks.ts.
Usage
Without content, the block shows its example. Pass your own, typed by the block's schema, from a content file (here, the example with one field changed):
A logo with src shows the image, greyed until hovered; without one, the company's name.
Content
| Field | Type | Limits | Guidance |
|---|---|---|---|
title | string | 8–60 chars | Who these are, briefly: 'Trusted by studios in 30 countries'. |
logos | object[] | 4–16 items | Companies that use the product, with their permission. A logo without `src` shows its name. |
logos[].name | string | 1–40 chars | The company's name, read when there is no image. |
logos[].srcoptional | string | ||
logos[].widthoptional | integer | ||
logos[].heightoptional | integer |
Props
| Prop | Notes |
|---|---|
content | LogosMarqueeContent; the example when left out |
id | the section's id, for anchor links; "logos" by default |
headingLevel | 1, 2 or 3: the heading's tag; 2 by default |
className | on the root element, for spacing |
Accessibility
- The Marquee pauses on hover and has a pause button; it stays still with motion off or reduced.
- Its copies are hidden from screen readers, which read each logo once (an image's
altis the company's name).