unstale

npm / react-colorful

react-colorful

What changed in react-colorful 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

1 new APIs and options1 behavior and defaults1 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

react-colorful 53 changes

New APIs and options 1

  • Adds a callback that fires when the user finishes changing a color, useful for undo/redo, saving to a database, or other expensive operations.

    5.7.0release notes

Behavior and default changes 1

  • The picker injects its styles into the closest ShadowRoot when mounted inside a shadow tree, so it renders correctly in web components and other shadow-DOM-based setups without API changes.

    5.8.0release notes

Fixes and other changes 1