Move one complete user flow at a time; do not replace a component name without replacing its behavior contract.
Inventory visible states, keyboard behavior, focus management, responsive rules, theming, analytics hooks, and tests for the current flow.
Choose the closest Pixxl primitive or recipe and keep application routing/data/state in the host.
Map controlled ownership and semantic callbacks before changing markup.
Run old and new flows against the same behavior, accessibility, responsive, and visual checks.
Remove old wrappers/CSS only after all consumers move; keep unrelated migrations separate.
MUI-style theme provider → PixxlProvider plus public --pixxl-* variables and token exports.
MUI sx/CSS-in-JS overrides → semantic component props, className/style for narrow cases, or host CSS using public variables.
MUI component/icon imports → @pixxl-tools/components and @pixxl-tools/components/icons.
Radix-style controlled state → value/defaultValue/onValueChange or open/defaultOpen/onOpenChange.
Radix-style slot composition → Pixxl Slot where native semantic composition is required.
Local page shells/forms/navigation → component recipes and app-architecture patterns before new wrappers.
Upgrade Pixxl packages together and read the changelog plus package migration/versioning section.
Replace removed or renamed public props before editing persisted application data.
Typecheck every direct consumer and verify metadata/token imports remain server-safe.
Retest keyboard, focus, narrow layouts, themes, and real app workflows in a production build.
Inspect packed package output when the migration changes exports, CSS, peer dependencies, or side effects.
Canvas app chrome belongs in @pixxl-tools/canvas/react, not generic components.
Game loops, drawing/math, routing, data loading, translations, analytics, and product workflows stay in application/domain code.
A host-specific wrapper is valid when it owns a real product policy; do not force every policy into a shared primitive.