Skip to content

Live Demo ​

The page below loads real build artifacts: a full picker, a current-color preview, and an event log.

Where do the assets come from?

docs/scripts/prepare-demo.mjs copies these before dev / build:

  • packages/ew-color-picker/dist/index.min.js
  • packages/style/dist/index.css
  • packages/style/dist/input-number.css

If the iframe is blank, run pnpm run build:all in the repository root first.

What the demo shows ​

AreaDescription
PickerdefaultColor: '#6366f1', presets and mode switching enabled
Color cardUpdates live from change
Event logListens to change / toggle / sure / clear / mode-change / destroy

Run locally ​

bash
pnpm run build:all
pnpm run docs:dev