ink-web-ui
Components

ColorPicker

Interactive hex color picker with menu navigation and live preview

Demo

Click the terminal below to focus it.

Features

  • Two-state UI — menu selection mode and hex input mode
  • Live preview — color swatch updates as you type hex values
  • Hex validation — validates #RRGGBB format before applying
  • Three targets — change foreground, background, or cursor color independently

Keybindings

  • j/k or ↑/↓ navigate menu
  • enter edit selected color

Input Mode

  • Type hex color (e.g. #ff00ff)
  • enter submit color
  • esc cancel and go back

On this page