unstale

npm / @lobehub/ui

@lobehub/ui

What changed in @lobehub/ui 4 to 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-28.

18 breaking7 new APIs and options1 performance1 behavior and defaults

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

npx @unstale/cli init

@unstale/cli 0.2.9 on npm

@lobehub/ui 624 changes

Breaking changes 16

  • antd is no longer a dependency or peer, and antd-based components are replaced by base-ui versions.

    6.0.0release notes

  • antd-style is no longer a dependency or peer; use the styling APIs exported by @lobehub/ui instead.

    6.0.0release notes

  • controlOutline is dropped from the lobe token.

    6.0.0release notes

  • The project now owns the design token engine through createLobeToken.

    6.0.0release notes

  • Import createStaticStyles from @lobehub/ui instead of antd-style.

    6.0.0release notes

  • cssVar resolves only to var(--lobe-*) variables.

    6.0.0release notes

  • The function now returns precise key types instead of Partial<AliasToken>.

    6.0.0release notes

  • The function now returns precise key types instead of Partial<AliasToken>.

    6.0.0release notes

  • The base-ui subpath is removed; import components from @lobehub/ui instead.

    6.0.0release notes

  • The form subpath is removed; import from @lobehub/ui/form instead.

    6.0.0release notes

  • An ESLint rule autofixes imports that use the removed base-ui subpaths.

    6.0.0release notes

  • The motion peer dependency requirement is now ^13.

    6.0.0release notes

  • V6 ProTable is provided without rc-table.

    6.0.0release notes

  • V6 Table is provided without rc-table.

    6.0.0release notes

  • ThemeProvider is removed; use theme.css with theme attributes on html or wrap a subtree in ThemeScope.

    6.0.0release notes

  • Video is rebuilt as a player with sections, markers, and a player handle.

    6.0.0release notes

New APIs and options 6

  • Set data-neutral-color on html to configure the neutral color without ThemeProvider.

    6.0.0release notes

  • Set data-primary-color on html to configure the primary color without ThemeProvider.

    6.0.0release notes

  • Set data-theme on html to configure the theme without ThemeProvider.

    6.0.0release notes

  • Import this stylesheet to use the new theme setup without ThemeProvider.

    6.0.0release notes

  • ColorSwatches adds a renderPicker slot and a custom colour chip.

    6.0.0release notes

  • ThemeScope can wrap a subtree as an alternative to setting theme attributes on html.

    6.0.0release notes

Performance 1

  • Hovering date-picker cells now re-renders only the input preview.

    6.0.0release notes

Behavior and default changes 1

  • Any hex value is accepted as primaryColor, with readable custom primary colors and named status palettes.

    6.0.0release notes

@lobehub/ui 52 changes

Breaking changes 2

  • Removed from the main entry; import it from @lobehub/ui/base-ui instead.

    5.0.0release notes

  • Removed from the main entry; import it from @lobehub/ui/base-ui instead.

    5.0.0release notes

@lobehub/ui 41 changes

New APIs and options 1

  • Adds MotionProvider and updates components to use Motion for animations.

    4.0.0release notes