Heading fonts

Choose a Google Fonts family. The selected font loads from Google Fonts; Inter and Geist Serif are bundled locally.

Search Reflow

Keyboard shortcuts

Use these keys while you are not typing in a field.

Search⌘K
Cycle themeT
Cycle accentA
Cycle heading fontF
Cycle radiusR
Cycle sizeS
Cycle iconsI
Cycle hoverH
Toggle navigation[
Toggle properties]
Previous / next demo slide←→
Show shortcuts?
Skip to content
Open navigationClose navigation

Make them yours

Theme
SystemT
Accent
BlueA
Heading font
InterF
Radius
RoundedR
Size
DefaultS
Icons
LucideI
Hover
FluidH

Playground variant

ColorPicker

ColorPicker

A saturation and brightness surface with hue, opacity, swatches and a typed color value.

Installation

Import from the Reflow workspace package.

Hex
Alpha

Default

Hex
Alpha

Popover

With Swatches

Hex
Alpha

OKLCH Format

Lightness
Chroma
Hue
Alpha

Controlled

Hex
Alpha
#6B97FF

Removable Trigger

Eyedropper Support

The eyedropper uses the native window.EyeDropper API (Chromium-based browsers). It is automatically hidden in browsers that do not support it.

Hex
Alpha

API Reference

Public props for the Reflow implementation. Native controls also accept their standard HTML attributes and Remix event mixes.

ColorPicker

PropTypeDefaultDescription
variant"inline" | "popover"—Visual or layout treatment.
labelstringColorAccessible name or visible label for the control.
namestring—Name used when the control participates in a form.
valuestring—Current value when controlled by the parent.
defaultValuestring—Initial value for an uncontrolled component.
onValueChange((value: string) => void)—Called when the selected value changes.
format"hex" | "rgb" | "hsl" | "oklch"—Controlled color format.
defaultFormat"hex" | "rgb" | "hsl" | "oklch"—Initial color format.
onFormatChange((format: ColorFormat) => void)—Called when the color format changes.
swatchesColorSwatchItem[]—Preset colors shown below the editor.
hideEyedropperboolean—Hides the eyedropper action.
disabledboolean—Prevents interaction and conveys the disabled state.
size"default" | "compact"—Control density or icon-button dimensions.