Skip to content
Pebble Pro is here at $49 one timeSee what’s included ↗
Pebble
ComponentsDocsMCPPricing
⌕ Find a component↗Log in
All components 673

Categories

Core inputs & forms46Buttons & actions33Navigation36Overlays & feedback49Data display33Charts & data viz40Cards & layout43Marketing blocks38App shells & pages37AI interfaces40Text & typography effects33Backgrounds & visual effects38Motion & transitions32Numbers & counters32Media34E-commerce333D & interactive36Themed sets40
Start with the essentials.Installation guide ↗Connect your agent ↗
← All componentsCore inputs & forms

Color picker

A classic picker with a saturation/brightness area, hue and opacity rails, HEX/RGB/HSL/OKLCH input, eyedropper, swatches, recents and a WCAG contrast readout, inline or in a popover.

Preview

Swatches
Recent
Aa4.20:1on whiteAA Large
Aa4.27:1on inkAA Large
Button fill
Overlay
Badge text

The inline picker drives this preview: #1c7ed6

Install

Pro source requires Pebble Pro. Try the full preview above.

Props

PropTypeDefaultDescription
value / defaultValuestring"#e8590c"Any parseable colour (hex, rgb(), hsl(), oklch()).
onValueChange(hex: string) => void—Emits #rrggbb, or #rrggbbaa below full opacity.
alphabooleantrueShow the opacity rail.
swatchesstring[][]Preset colours.
defaultRecentstring[][]Seed for Recent; committed colours are added (max 8).
formats("hex" | "rgb" | "hsl" | "oklch")[]all fourFormats in the text field switch; the first is the default.
showContrastbooleantrueContrast ratio and WCAG level on white and on ink.
ColorPickerPopover labelstring—Muted text after the hex in the trigger.
ColorPickerPopover aria-labelstring—Trigger name; the current hex is appended.
ColorPickerPopover triggerClassNamestring—Classes for the trigger (e.g. a fixed width).

Pro component

Try the full preview above. Editable source and build guides require Pebble Pro.

Buy Pebble Pro — $49How source access works ↗
Pebble

Small details.
Better interfaces.

React components to explore, make your own, and build on.

Library

  • Components
  • Installation
  • Pricing

Resources

  • For agents
  • About
  • Support

Legal

  • License
  • Terms
  • Privacy
  • Final sale

Built by Pebble

A product of Praxys Solutions LLC ↗

Pebble Pro is live

$49 one time, lifetime updates ↗