All components

Color Swatch

Color chips with an alpha checkerboard, sized from 2xs to 2xl.

Sizes

2xs
xs
sm
md
lg
xl
2xl

Install

Source

components/ui/ui-sdk/color-swatch.tsx

Examples

Installable blocks built with Color Swatch — real use cases, delivered as source you own.

Product Detail

Two-column storefront product detail layout pairing a multi-angle interactive photo gallery with a sticky buy box, live anodized finish swatches, color-temperature edition controls, quantity stepper, collapsible specifications accordion, and filterable customer reviews.

Product Gallery

Editorial storefront product gallery pairing a two-column collection header, segmented category filter, live bag counter with toast feedback, selectable finish swatches, edition badges, and a responsive 1:1 studio product grid.

Settings Dialog

Two-pane desktop preferences modal with a categorized navigation rail, keyboard-navigable live settings search, responsive container-query collapse, accent swatch and scale controls, connected app toggles, shortcut bindings, quota progress meters, and a docked dirty-state save bar.

Side Nav Shell

Left-rail application shell pairing a full-height collapsible sidebar (workspace switcher, quick actions, grouped route navigation, collapsible pinned collections with row menus, and user footer menu) with a mobile drawer fallback and interactive creative workspace views.

Theme Showcase

Interactive design-system and token workbench featuring scoped accent, density, and corner-radius live preview controls over a responsive 3-column bento of cohesive UI SDK cards.