logo-cloud-4
efferd/logo-cloud-4FreeBlock
Animated logo carousel with soft edge blurs and gradient accents for a sleek, modern brand showcase.
Install it
npx shadcn@latest add https://legacy.efferd.com/r/logo-cloud-4.jsonSource
1// https://motion-primitives.com/docs/infinite-slider2import { InfiniteSlider } from "@/components/ui/infinite-slider";3// https://motion-primitives.com/docs/progressive-blur4import { ProgressiveBlur } from "@/components/ui/progressive-blur";5import { cn } from "@/lib/utils";67type Logo = {8 src: string;9 alt: string;10 width?: number;11 height?: number;12};1314type LogoCloudProps = React.ComponentProps<"div"> & {15 logos: Logo[];16};1718export function LogoCloud({ className, logos, ...props }: LogoCloudProps) {19 return (20 <div21 className={cn(22 "relative mx-auto max-w-3xl border bg-gradient-to-r from-secondary via-transparent to-secondary py-6",23 className24 )}25 {...props}26 >27 <InfiniteSlider gap={42} reverse speed={60} speedOnHover={20}>28 {logos.map((logo) => (29 <img30 alt={logo.alt}31 className="pointer-events-none h-4 select-none md:h-5 dark:brightness-0 dark:invert"32 height="auto"33 key={`logo-${logo.alt}`}34 loading="lazy"35 src={logo.src}36 width="auto"37 />38 ))}39 </InfiniteSlider>4041 <ProgressiveBlur42 blurIntensity={1}43 className="pointer-events-none absolute top-0 left-0 h-full w-[100px] md:w-[160px]"44 direction="left"45 />46 <ProgressiveBlur47 blurIntensity={1}48 className="pointer-events-none absolute top-0 right-0 h-full w-[100px] md:w-[160px]"49 direction="right"50 />51 </div>52 );53}
What it pulls in
Other registry items
Files it writes
More from efferd
All 40 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| auth-1auth-1 | efferd | Blocks | Free | no deps · 2 files | |
| auth-2auth-2 | efferd | Blocks | Free | 1 dep · 3 files | |
| contact-1contact-1 | efferd | Blocks | Free | no deps | |
| contact-2contact-2 | efferd | Blocks | Free | no deps | |
| cta-1cta-1 | efferd | Blocks | Free | no deps | |
| cta-2cta-2 | efferd | Blocks | Free | no deps | |
| cta-3cta-3 | efferd | Blocks | Free | no deps | |
| cta-4cta-4 | efferd | Blocks | Free | no deps |
