Logos Cloud

Displays a collection of logos with optional scroll effect.

Usage

import {  LogosCloud,  LogosCloudImage,  LogosCloudItem,} from "@/app/_components/ui/logos-cloud";
<LogosCloud scroll speed={2} gap={24} grayscale={false}>  <LogosCloudItem>    <LogosCloudImage src={logo1} alt="Logo 1" width={120} height={40} />  </LogosCloudItem>  <LogosCloudItem>    <LogosCloudImage src={logo2} alt="Logo 2" width={120} height={40} />  </LogosCloudItem>  <LogosCloudItem>    <LogosCloudImage src={logo3} alt="Logo 3" width={120} height={40} />  </LogosCloudItem></LogosCloud>

Props

LogosCloud

NameTypeDefaultDescription
childrenReactNode-The content to display.
classNamestring-Adds a custom class to the component.
gapnumber32Gap in pixels.
grayscalebooleantrueEnable grayscale effect.
scrollbooleanfalseEnable scroll effect.
speednumber0.5Speed in pixels per second.

LogosCloudItem

NameTypeDefaultDescription
childrenReactNode-The content to display.
classNamestring-Adds a custom class to the component.

LogosCloudImage

NameTypeDefaultDescription
childrenReactNode-The content to display.
classNamestring-Adds a custom class to the component.
hoverbooleantrueEnable hover effect.