Component · Free prompt
Logos 3
Logos 3 is a complete, paste-ready component build-prompt — a full art-direction spec for Lovable, Bolt, v0, Cursor and Claude. It's free: copy it below and paste it into your builder.

Logos 3Component · free prompt · copy-paste
Client logos scrolling automatically with a Carousel with masked edges
— Install —
npx shadcn@latest add "https://21st.dev/r/logos3"
— Component source (Logos 3.tsx) —
// This template requires the Embla Auto Scroll plugin to be installed:
//
// npm install embla-carousel-auto-scroll
"use client";
import AutoScroll from "embla-carousel-auto-scroll";
import {
Carousel,
CarouselContent,
CarouselItem,
} from "@/components/ui/carousel";
interface Logo {
id: string;
description: string;
image: string;
className?: string;
}
interface Logos3Props {
heading?: string;
logos?: Logo[];
className?: string;
}
const Logos3 = ({
heading = "Trusted by these companies",
logos = [
{
id: "logo-1",
description: "Logo 1",
image: "https://meez.design/web/media/ext/c5e6c11001815e7a.svg",
className: "h-7 w-auto",
},
{
id: "logo-2",
description: "Logo 2",
image: "https://meez.design/web/media/ext/13b4cc86cfc366eb.svg",
className: "h-7 w-auto",
},
{
id: "logo-3",
description: "Logo 3",
image: "https://meez.design/web/media/ext/c98ad8f05bd5bb57.svg",
className: "h-7 w-auto",
},
{
id: "logo-4",
description: "Logo 4",
image: "https://meez.design/web/media/ext/b545a61d63c7ec61.svg",
className: "h-7 w-auto",
},
{
id: "logo-5",
description: "Logo 5",
image: "https://meez.design/web/media/ext/beb2affd286f4573.svg",
className: "h-7 w-auto",
},
{
id: "logo-6",
description: "Logo 6",
image: "https://meez.design/web/media/ext/f181c417dd7ee885.svg",
className: "h-7 w-auto",
},
{
id: "logo-7",
description: "Logo 7",
image: "https://meez.design/web/media/ext/d3ad383257084ea5.svg",
className: "h-4 w-auto",
},
{
id: "logo-8",
description: "Logo 8",
image: "https://meez.design/web/media/ext/b0ffe4331bd8b873.svg",
className: "h-7 w-auto",
},
],
}: Logos3Props) => {
return (
<section className="py-64">
<div className="container flex flex-col items-center text-center">
<h1 className="my-6 text-2xl font-bold text-pretty lg:text-4xl">
{heading}
</h1>
</div>
<div className="pt-10 md:pt-16 lg:pt-20">
<div className="relative mx-auto flex items-center justify-center lg:max-w-5xl">
<Carousel
opts={{ loop: true }}
plugins={[AutoScroll({ playOnInit: true })]}
>
<CarouselContent className="ml-0">
{logos.map((logo) => (
<CarouselItem
key={logo.id}
className="flex basis-1/3 justify-center pl-0 sm:basis-1/4 md:basis-1/5 lg:basis-1/6"
>
<div className="mx-10 flex shrink-0 items-center justify-center">
<div>
<img
src={logo.image}
alt={logo.description}
className={logo.className}
/>
</div>
</div>
</CarouselItem>
))}
</CarouselContent>
</Carousel>
<div className="absolute inset-y-0 left-0 w-12 bg-linear-to-r from-background to-transparent"></div>
<div className="absolute inset-y-0 right-0 w-12 bg-linear-to-l from-background to-transparent"></div>
</div>
</div>
</section>
);
};
export { Logos3 };
Browse & preview free Unlock everything — from $19/mo





