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@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.
antd-style is no longer a dependency or peer; use the styling APIs exported by @lobehub/ui instead.
controlOutline is dropped from the lobe token.
The project now owns the design token engine through createLobeToken.
Import createStaticStyles from @lobehub/ui instead of antd-style.
cssVar resolves only to var(--lobe-*) variables.
The function now returns precise key types instead of Partial<AliasToken>.
The function now returns precise key types instead of Partial<AliasToken>.
The base-ui subpath is removed; import components from @lobehub/ui instead.
The form subpath is removed; import from @lobehub/ui/form instead.
An ESLint rule autofixes imports that use the removed base-ui subpaths.
The motion peer dependency requirement is now ^13.
V6 ProTable is provided without rc-table.
V6 Table is provided without rc-table.
ThemeProvider is removed; use theme.css with theme attributes on html or wrap a subtree in ThemeScope.
Video is rebuilt as a player with sections, markers, and a player handle.
New APIs and options 6
Set data-neutral-color on html to configure the neutral color without ThemeProvider.
Set data-primary-color on html to configure the primary color without ThemeProvider.
Set data-theme on html to configure the theme without ThemeProvider.
Import this stylesheet to use the new theme setup without ThemeProvider.
ColorSwatches adds a renderPicker slot and a custom colour chip.
ThemeScope can wrap a subtree as an alternative to setting theme attributes on html.
Performance 1
Hovering date-picker cells now re-renders only the input preview.
Behavior and default changes 1
Any hex value is accepted as primaryColor, with readable custom primary colors and named status palettes.
@lobehub/ui 52 changes
Breaking changes 2
Removed from the main entry; import it from @lobehub/ui/base-ui instead.
Removed from the main entry; import it from @lobehub/ui/base-ui instead.
@lobehub/ui 41 changes
New APIs and options 1
Adds MotionProvider and updates components to use Motion for animations.