Showcase
Logo Carousel
Grid of logos that cycles through items with a blurred vertical swap animation. Framework-agnostic Custom Element.
Preview
Logos cycle through each column at a staggered interval with blur and slide transitions.
Installation
pnpm dlx motion-blocks add logo-carousel Usage
---import "@/components/motion-blocks/logo-carousel-element.ts";--- <motion-logo-carousel logos='[{"src":"/logos/a.svg","alt":"A"},{"src":"/logos/b.svg","alt":"B"}]' columns="3" cycle-interval="2000"></motion-logo-carousel> API Reference
| Attribute | Type | Default |
|---|---|---|
logos JSON array of logo objects with src, alt, and name properties. | string | "[]" |
columns Number of columns to distribute logos into. | number | 2 |
cycle-interval Milliseconds between logo cycles. | number | 2000 |

