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

Palette Ribbon

ProNew

Expand a color in a continuous swatch ribbon and copy its value from the inspector.

Installation

pnpm dlx shadcn@latest add @viewport/palette-ribbon

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
title*string

Palette name.

—
swatches*Swatch[]

Named colors with unique hexadecimal values.

—

Accessibility

  • Swatches expose their names and selection. Clipboard success and failure are announced.