Packages

@base-ui/react

1.9.0 · 9 Oct 2026MIT32.3M / weekRepositoryHomepagenpmAtom feed

Your version

1.3.0

12 Mar 2026Where it was published

1.9.0 is the newest release of 1.x.

In short

1 breaking9 new2 faster26 fixed19 changed

  • Breaking

    Drawer is no longer marked as preview Drawer is now stable and should be imported as { Drawer } from '@base-ui/react/drawer'

Release note

General changes

  • Warn when a component function is rendered directly

  • Reset openMethod after close transition

  • Fire Space activation on keydown in composite widgets

  • Skip CSS-hidden items during keyboard navigation in composite widgets

  • Optimize hot paths in useHover hooks and safePolygon

  • Snap --anchor-width and --anchor-height to device pixel grid

  • Fix outside press dismissal when a component is portaled into a shadow DOM

  • Fix nested hoverable popups

  • Apply data-base-ui-inert to highest-level node

  • Fix portable types

Accordion

  • Add generic Value typing

Autocomplete

  • Respect a null filter prop

  • Add InputGroup part

Avatar

  • Remove fallback transition logic and prevent premature image display

Button

  • Avoid checking disabled twice in onKeyDown and onKeyUp

Checkbox

  • Add automatic aria-labelledby support

Combobox

  • Avoid applying field attributes to input when it is inside popup

  • Preserve inline input on Enter when nothing is highlighted

  • Fix ARIA attributes during SSR

  • Fix wrapping in virtualized grid arrow-key navigation

  • Add InputGroup part

  • Add support for a visually hidden close button and improve modal focus trapping

  • Add Label part

Context Menu

  • Ignore mouseup on non-Mac platforms

Drawer

  • Breaking

    Drawer is no longer marked as preview
    Drawer is now stable and should be imported as { Drawer } from '@base-ui/react/drawer' (#4293)

  • Fix React 17 support

  • Include border in frontmost height variable

  • Improve touch selection

  • Preserve cross-axis scrolling during touch gestures

  • Prevent swipe dismissal when component is controlled

  • Add SwipeArea part

  • Make data-base-ui-swipe-ignore explicit for touch interactions

  • Disable inheritance for swipe CSS variables

Field

  • Fix field validation when Form errors or invalid prop are present at same time

Menu

  • Prevent pointerleave from stealing focus from dialogs

  • Optimize pointer-events for submenu hover interactions

  • Fix closeDelay not being applied to Menu.SubmenuTrigger

  • Implement content transitions with Viewport

Meter

  • Fix label announcements in NVDA

Navigation Menu

  • Fix support for nested inline menus

  • Fix close propagation in nested hover menus

  • Close parent menus when nested link with closeOnClick is clicked

  • Fix duplicate aria-orientation

  • Fix delayed trigger switches in Safari

Number Field

  • Fix increment/decrement press reason values in onValueCommitted

Popover

  • Trap focus when <Popover.Close> is rendered inside and modal is true, and add support for a visually hidden close button

  • Fix nested hoverable popups

Preview Card

  • Fix nested hoverable popups

Progress

  • Fix label announcements in NVDA

Radio Group

  • Add automatic aria-labelledby support

Scroll Area

  • Fix focus trapping with a non-scrollable viewport

  • Fix thumb size after remounting

Select

  • Fix hidden input id fallback

  • Fix Value placeholder not rendering with Record items

  • Fire onClick during drag-to-select

  • Fix items type definition for groups

  • Fix alignItemWithTrigger fallback with browser zoom

  • Add Label part

Slider

  • Add Label part

  • Stop committing validation on touchend

Switch

  • Add automatic aria-labelledby support

Tabs

  • Re-render indicator position on tab resize

Toast

  • Enable closing all toasts

  • Prevent duplicate onClose calls for ending toasts

Tooltip

  • Add closeOnClick prop

All contributors of this release in alphabetical order: @aarongarciah, @atomiks, @cgatian, @chuganzy, @CiscoFran10, @dmitri-gb, @flaviendelangle, @jijiseong, @michaldudak, @mj12albert, @obeattie, @vcode-sh

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.