CSS marquee logo cloud with configurable direction, speed, gap, and gradient fade edges.
Installation
Usage
For provider icons, you can use svgl — a beautiful library of SVG logos for popular brands and services.
How It Works
- The
Marqueeprimitive renders each logo twice side-by-side so the CSStranslateX(-50%)loop is seamless. - Four directional keyframes (
marquee-x,marquee-x-reverse,marquee-y,marquee-y-reverse) support horizontal and vertical scrolling. - A
mask-imagelinear gradient on the wrapper fades the leading and trailing edges. - Hover pauses the CSS animation via
animation-play-state: paused. - No external animation library — pure CSS
@keyframes.
API Reference
LogoMarquee
| Prop | Type | Default |
|---|---|---|
logos | LogoItem[] | - |
label? | string | - |
duration? | number | 20 |
gap? | number | 80 |
reverse? | boolean | false |
pauseOnHover? | boolean | true |
fade? | boolean | true |
fadeAmount? | number | 10 |
Marquee (primitive)
The Marquee component is also exported directly for custom usage:
| Prop | Type | Default |
|---|---|---|
direction? | "left" | "right" | "up" | "down" | "left" |
duration? | number | 20 |
gap? | number | 32 |
pauseOnHover? | boolean | false |
fade? | boolean | true |
fadeAmount? | number | 10 |