Skip to content
ProLifetime access for $199, paid once, every future release included
Truffle UI

Logo Showcase

ProNew

Client and press logos as a grid, tiles, a carousel or an endless ticker, on a light card, a dark media panel or a photo, with greyscale-to-colour hover.

Installation

pnpm dlx shadcn@latest add @viewport/logo-showcase

First time? Add the @viewport registry to components.json. Setup takes one minute.

Usage

The code behind the preview above comes with Truffle Pro.

Props

PropTypeDefault
logos*ShowcaseLogo[]—
layout"grid" | "carousel" | "ticker" | "double-ticker"

`grid` shows every logo, `carousel` pages through them, the tickers scroll forever.

"grid"
variant"plain" | "tiles"

`tiles` puts every logo in its own card.

"plain"
color"original" | "grayscale" | "mono"

`grayscale` turns to full colour on hover and focus; `mono` flattens every logo to one colour.

"grayscale"
surface"none" | "card" | "dark"

The panel behind the logos. `dark` is always near-black with white text.

"none"
backgroundImagestring

A photo behind the panel. It is darkened, and text turns white.

—
titlestring—
captionstring—
headerPosition"top" | "left"

`left` sets the heading beside the logos when there is room.

"top"
cta{ label: string; href?: string; onClick?: () => void }—
columns3 | 4 | 5 | 6

Most columns the grid may use; it drops columns as the container narrows.

5
logoHeightnumber

Height of every logo, in pixels.

32
speednumber

Ticker speed, in pixels per second.

40
pauseOnHoverboolean

Pause the ticker while it is hovered or holds focus.

true
loadingboolean

Shows placeholders while logos are being fetched.

false
classNamestring—

Accessibility

  • Every logo is named with the company; linked logos are links with a visible focus ring that also restores their colour.
  • Ticker copies are hidden from assistive tech and the tab order, so each logo is met once.
  • The ticker pauses on hover and on keyboard focus and has a pause button; under reduced motion it becomes a still grid.
  • The carousel is a focusable scroll region that answers to Left and Right, with named arrow buttons and native swipe.