Marquee
An infinite horizontal scroll row, pure CSS, that pauses on hover and stops under reduced motion.
npx shadcn@latest add https://ui.develop-better-solutions.com/r/marquee.jsonAperture
Hexbase
Orbital
Formwork
Crate
Lumen
Usage
marquee-example.tsx
import { Marquee } from "@dbs/ui";
import {
Aperture,
Box,
Hexagon,
Orbit,
Shapes,
Sparkles,
} from "lucide-react";
const brands = [
{ icon: Aperture, name: "Aperture" },
{ icon: Hexagon, name: "Hexbase" },
{ icon: Orbit, name: "Orbital" },
{ icon: Shapes, name: "Formwork" },
{ icon: Box, name: "Crate" },
{ icon: Sparkles, name: "Lumen" },
];
export default function MarqueeExample() {
return (
<div className="w-full border-y border-line bg-surface py-6">
<Marquee speed={24}>
{brands.map(({ icon: Icon, name }) => (
<div
key={name}
className="mr-14 flex items-center gap-2 text-ink-subtle"
>
<Icon className="size-5" strokeWidth={1.75} />
<span className="text-[15px] font-medium tracking-tight">{name}</span>
</div>
))}
</Marquee>
</div>
);
}