Files
lucide/docs
Eric FennisandClaude Opus 5.5 9e7b1ce5a9 feat(site): Add custom color picker (#5290)
* feat(docs): add custom color picker built on vue-color

Replace the native color input in the icon customizers with a dropdown
built on vue-color's ChromePicker: a saturation area, hue and alpha
sliders, and an eyedropper button where the browser supports it.

- Knobs use the same 20px size, shadow and hover/active rings as the
  customizer's range slider thumbs
- The panel is teleported to the body and positioned with floating-ui,
  so the sidebar's scroll container doesn't clip it
- vue-color is loaded lazily when the picker is about to open
- Keyboard: Tab moves through the panel and on to the hex field,
  Shift+Tab goes back, Escape closes and returns focus to the swatch.
  vue-color's sliders prevent the default of every key, so Tab is
  handled by hand
- Colors are emitted as hex, with 8 digits when alpha is below 100%

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G9u8FhybXR7xuDECHDUz2n

* feat(docs): remove opacity slider from color picker

The picker now only produces opaque colors, always emitted as 6-digit
hex. The hue slider sits alone next to the eyedropper button, and the
popover no longer reserves height for the second slider.

Also binds aria-expanded as a boolean again, which fixes the vue-tsc
error from the previous commit. Vue renders false as "false".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G9u8FhybXR7xuDECHDUz2n

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-24 17:01:00 +01:00
..

Lucide Docs website

The Lucide docs website is built with Vitepress: https://vitepress.dev/ This is Markdown-based documentation powered by Vue.

Development

# Install dependencies
pnpm install
# Start docs dev server
pnpm docs:dev

# Start api dev server
pnpm dev

Build

# Build docs
pnpm docs:build
# Build api
pnpm build:api

Components

See .vitepress directory.