Skip to content

feat(web): add color picker - #4311

Merged
Adebesin-Cell merged 1 commit into
v6from
feat/web-color-picker
Nov 21, 2026
Merged

Adebesin-Cell merged 1 commit into
v6from
feat/web-color-picker

Conversation

@Adebesin-Cell

Copy link
Copy Markdown
Collaborator

📝 Description

Adds ark-color-picker to @ark-ui/web.

⛳️ Current behavior (updates)

The web package has no color picker.

🚀 New behavior

  • Every part the React color picker has: area, channel sliders and inputs, swatches, value swatch and text, eye dropper, format select and trigger, view, transparency grid and hidden input
  • value (string), format and open as state properties; valuechange, valuechangeend, openchange, formatchange and the outside-interaction events
  • Works inside ark-field, takes locale, and an invalid color attribute is ignored instead of breaking the picker
  • Twelve examples matching the React ones, with stories and tests

🧩 Frameworks

Web

💣 Is this a breaking change (Yes/No):

No

📝 Additional information

Two gaps that apply to the whole web package, not just this component:

  • dir isn't passed to Zag by the sliders here or by ark-slider.
  • A control written in the same HTML as its ark-field doesn't pick up the field ids; it works when the control is added after the field starts. ark-checkbox behaves the same way.

@vercel

vercel Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ark-docs Ready Ready Preview Nov 21, 2026 9:16pm UTC

Request Review

@Adebesin-Cell
Adebesin-Cell merged commit de2cde2 into v6 Nov 21, 2026
10 checks passed
@Adebesin-Cell
Adebesin-Cell deleted the feat/web-color-picker branch November 21, 2026 21:26

This branch was successfully deployed

1 active deployment
Preview — 9a893249 Deployed Nov 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant