Skip to content

Fading logo field

Logo grid that fades and blurs toward the edges.

Usage

Usage
import { LogoCloudFade } from '@/components/blocks/logo-cloud-01'


<LogoCloudFade />


// Fade out on both sides with a wider, shorter field
<LogoCloudFade columns={10} rows={3} fade="sides" />


// Bring your own logos (24x24 SVG paths)
<LogoCloudFade
  label="Our customers"
  logos={[
    { name: 'Acme', color: '#2563EB', paths: 'M12 2 2 22h20z' },
    { name: 'Globex', paths: 'M12 2a10 10 0 1 0 0 20a10 10 0 0 0 0-20' },
  ]}
/>

Install

pnpm dlx shadcn@latest add @pastaui-pro/logo-cloud-01

Source

Props

Fading logo field props
PropTypeDefaultDescription
logosBrandLogo[]= 32 built-in app logosLogos to show, each with a name, 24x24 SVG paths and optional light and dark brand colors. Logos repeat to fill the grid.
columnsnumber= 8Number of logo columns.
rowsnumber= 4Number of logo rows.
fade'bottom-right' | 'right' | 'bottom' | 'sides' | 'none'= 'bottom-right'Which edges fade and blur away.
labelstring= 'Supported apps'Accessible label for the logo list.
classNamestring= —Additional classes for the section.
styleCSSProperties= —Inline styles, handy for overriding the --pp-* color variables.