Logo velocity
A row of logos or names: wrapped in the plain version, a scroll-speed marquee in the motion version.
Preview
The row drifts slowly, speeds up and leans with the page scroll, turns around when you scroll back up, and eases to a drift again. It stops on hover, on keyboard focus and with the pause button. With reduced motion turned on, it renders the plain layout.
Works with your stack
- Next.js
- React
- Tailwind CSS
- shadcn/ui
- TypeScript
- Your theme
Works with your stack
- Next.js
- React
- Tailwind CSS
- shadcn/ui
- TypeScript
- Your theme
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 { LogoVelocity } from "@/components/custom/logo-velocity/logo-velocity";
<LogoVelocity
title="Works with your stack"
logos={[
{ name: "Next.js", logo: <NextLogo /> },
{ name: "Tailwind CSS" },
]}
/>import { LogoVelocityMotion } from "@/components/custom/logo-velocity/logo-velocity-motion";
<LogoVelocityMotion logos={logos} speed={36} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| logos* (required) | { name: string; logo?: ReactNode }[] | – | The name shows as text when there is no logo. Only show logos you may use. |
| title | string | – | Small heading (h2) above the row. |
| speed | number | 36 | Resting drift in pixels per second. Used by the motion version. |
| ...props | React.ComponentProps<"section"> | – | Any other section attribute (id, aria-*, data-*, ref) goes to the root element. |
| Prop | Type | Default | Description |
|---|---|---|---|
| logos* (required) | { name: string; logo?: ReactNode }[] | – | The name shows as text when there is no logo. Only show logos you may use. |
| title | string | – | Small heading (h2) above the row. |
| speed | number | 36 | Resting drift in pixels per second. Used by the motion version. |
| ...props | React.ComponentProps<"section"> | – | Any other section attribute (id, aria-*, data-*, ref) goes to the root element. |
Accessibility
- A list; each logo's name is read even when the logo is an image or icon.
- The motion version follows the visitor's reduced-motion setting and never hides content before it animates.