npm / @pixi/ui
@pixi/ui
What changed in @pixi/ui 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-12.
13 breaking5 new APIs and options1 performance1 behavior and defaults2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@pixi/ui 222 changes
Breaking changes 13
ScrollBox declarations no longer expose a NodeJS.Timeout field, so browser projects without @types/node can type-check with skipLibCheck off.
Assigning null to view is ignored and keeps the current view instead of throwing.
Throws a clear error for an undefined child instead of failing later.
Typed text now comes from the hidden native field's input event, so typing no longer calls subclass methods that previously customized it.
Setting value while the user is editing now updates the field being edited, without emitting onChange.
Removed from Input's protected API.
Children with an anchor or pivot are positioned by their visual corner; children without one are unaffected.
No longer receives the event; subclasses that filter or rewrite characters can adjust this.input.value before calling super.onInput().
Renamed to onKeyDown, matching the event it was always bound to.
Removed from Input's protected API.
Scroll limits now follow the ScrollBox's current size.
Sizes itself to its content; explicit width and height take precedence, and 0 is treated as a real value.
The package is no longer needed; signals are built in, and the UMD bundle no longer needs a typedSignals global.
New APIs and options 5
Elements now support container options.
Adds a modal drawer component with container options support.
Adds the inputAttributes option for configuring the hidden native field used by Input.
Signal is now built in and exported from @pixi/ui; use it instead of the incompatible Signal type from typed-signals.
SignalConnection is now exported from @pixi/ui.
Performance 1
Bulk addItems adds items in one pass instead of one at a time.
Behavior and default changes 1
removeItems now recomputes the scroll limits.
Fixes and other changes 2
The UMD bundle now uses tweedle.js’s actual global, so loading the scripts in order no longer leaves PIXI.ui undefined.
Fixes type settings.