---
title: "bits-ui 2.22.0 Breaking Changes on npm | Since.dev"
description: "What each bits-ui release removed, renamed or changed: 45 breaking changes in 14 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/bits-ui
last_updated: 2026-12-04
---

# bits-ui breaking changes

bits-ui 2.22.0 (November 21, 2026) is its newest release with breaking changes, 3 of them. The first: Behavior changed Popover.Content. Every breaking API change we have recorded in bits-ui on npm: 45 breaking changes in 14 versions. Below, its 14 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.23.0`, released December 4, 2026. [Source repository](https://github.com/huntabyte/bits-ui)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [2.15.0](#v-2-15-0) to [2.22.0](#v-2-22-0): 36 breaking changes in 13 versions.

## bits-ui 2.22.0 breaking changes

bits-ui 2.22.0, released November 21, 2026: 3 breaking changes.

- **Behavior changed** `Popover.Content`  

Popover.Content now sets role="dialog" to match the trigger's aria-haspopup, and the role prop can override it. Code that relies on the previous role attribute should pass a role prop. [github.com](https://github.com/huntabyte/bits-ui/releases/tag/bits-ui%402.22.0)
- **Default changed**  

DropdownMenu, ContextMenu, and Menubar submenus now default to the left in RTL, based on the menu root's resolved direction. Explicit physical sides still take precedence. [github.com](https://github.com/huntabyte/bits-ui/releases/tag/bits-ui%402.22.0)
- **Signature changed** `BitsConfigPropsWithoutChildren`  

Was type BitsConfigPropsWithoutChildren = {defaultPortalTo?: PortalTarget; defaultLocale?: string;}; now type BitsConfigPropsWithoutChildren = {dir?: Direction; defaultPortalTo?: PortalTarget; defaultLocale?: string;}. [npmjs.com](https://www.npmjs.com/package/bits-ui/v/2.22.0)

## bits-ui 2.21.0 breaking changes

bits-ui 2.21.0, released November 11, 2026: 1 breaking change.

- **Signature changed** `DialogContentPropsWithoutHTML`  

Was type DialogContentPropsWithoutHTML = WithChildNoChildrenSnippetProps\<Omit\<EscapeLayerProps & Omit\<DismissibleLayerProps, "onInteractOutsideStart"> & PresenceLayerProps & FocusScopeProps & TextSelectionLayerProps & ScrollLockProps... [npmjs.com](https://www.npmjs.com/package/bits-ui/v/2.21.0)

## bits-ui 2.20.6 breaking changes

bits-ui 2.20.6, released November 5, 2026: 10 breaking changes.

- **Signature changed** `AlertDialog.Content`  

Was const AlertDialogContent: import("svelte").Component\<import("../../dialog/types.js").DialogContentProps, {}, "ref">; now const AlertDialogContent: import("svelte").Component\<import("../../dialog/types.ts").DialogContentProps, {}... [npmjs.com](https://www.npmjs.com/package/bits-ui/v/2.20.6)
- **Signature changed** `ContextMenu.Arrow`  

Was const MenuArrow: import("svelte").Component\<import("../../utilities/arrow/types.js").ArrowProps, {}, "ref">; now const MenuArrow: import("svelte").Component\<import("../../utilities/arrow/types.ts").ArrowProps, {}, "ref">. [npmjs.com](https://www.npmjs.com/package/bits-ui/v/2.20.6)
- **Signature changed** `ContextMenu.Content`  

Was const ContextMenuContent: import("svelte").Component\<import("../../menu/types.js").MenuContentProps, {}, "ref">; now const ContextMenuContent: import("svelte").Component\<import("../../menu/types.ts").MenuContentProps, {}, "ref">. [npmjs.com](https://www.npmjs.com/package/bits-ui/v/2.20.6)
- **Signature changed** `DatePicker.Arrow`  

Was const PopoverArrow: import("svelte").Component\<import("../../utilities/arrow/types.js").ArrowProps, {}, "ref">; now const PopoverArrow: import("svelte").Component\<import("../../utilities/arrow/types.ts").ArrowProps, {}, "ref">. [npmjs.com](https://www.npmjs.com/package/bits-ui/v/2.20.6)
- **Signature changed** `DateRangePicker.Arrow`  

Was const PopoverArrow: import("svelte").Component\<import("../../utilities/arrow/types.js").ArrowProps, {}, "ref">; now const PopoverArrow: import("svelte").Component\<import("../../utilities/arrow/types.ts").ArrowProps, {}, "ref">. [npmjs.com](https://www.npmjs.com/package/bits-ui/v/2.20.6)
- **Signature changed** `DropdownMenu.Arrow`  

Was const MenuArrow: import("svelte").Component\<import("../../utilities/arrow/types.js").ArrowProps, {}, "ref">; now const MenuArrow: import("svelte").Component\<import("../../utilities/arrow/types.ts").ArrowProps, {}, "ref">. [npmjs.com](https://www.npmjs.com/package/bits-ui/v/2.20.6)
- **Signature changed** `Menubar.Arrow`  

Was const MenuArrow: import("svelte").Component\<import("../../utilities/arrow/types.js").ArrowProps, {}, "ref">; now const MenuArrow: import("svelte").Component\<import("../../utilities/arrow/types.ts").ArrowProps, {}, "ref">. [npmjs.com](https://www.npmjs.com/package/bits-ui/v/2.20.6)
- **Signature changed** `Popover.Arrow`  

Was const PopoverArrow: import("svelte").Component\<import("../../utilities/arrow/types.js").ArrowProps, {}, "ref">; now const PopoverArrow: import("svelte").Component\<import("../../utilities/arrow/types.ts").ArrowProps, {}, "ref">. [npmjs.com](https://www.npmjs.com/package/bits-ui/v/2.20.6)
- **Signature changed** `Toolbar.GroupItem`  

Was const ToolbarGroupItem: import("svelte").Component\<import("../../toggle-group/types.js").ToggleGroupItemProps, {}, "ref">; now const ToolbarGroupItem... [npmjs.com](https://www.npmjs.com/package/bits-ui/v/2.20.6)
- **Signature changed** `Tooltip.Arrow`  

Was const TooltipArrow: import("svelte").Component\<import("../../utilities/arrow/types.js").ArrowProps, {}, "ref">; now const TooltipArrow: import("svelte").Component\<import("../../utilities/arrow/types.ts").ArrowProps, {}, "ref">. [npmjs.com](https://www.npmjs.com/package/bits-ui/v/2.20.6)

## bits-ui 2.20.4 breaking changes

bits-ui 2.20.4, released November 3, 2026: 1 breaking change.

- **Behavior changed** `Select`  

An open Select that becomes disabled no longer lets users select options. Re-enabling the Select restores option interaction. [github.com](https://github.com/huntabyte/bits-ui/releases/tag/bits-ui%402.20.4)

## bits-ui 2.20.3 breaking changes

bits-ui 2.20.3, released November 1, 2026: 1 breaking change.

- **Behavior changed** `Menu`  

A sibling sub trigger now takes over 100ms after the pointer stops making progress, instead of 500ms after its last move. Code that depends on the previous submenu hover timing may behave differently. [github.com](https://github.com/huntabyte/bits-ui/releases/tag/bits-ui%402.20.3)

## bits-ui 2.20.1 breaking changes

bits-ui 2.20.1, released October 22, 2026: 1 breaking change.

- **Signature changed** `Command.Root`  

Was const Command: import("svelte").Component\<CommandRootProps, {updateSelectedToIndex: (index: number) => void; updateSelectedByGroup: (change: 1 | -1) => void; updateSelectedByItem: (change: number) => void; getValidItems: () =>... [npmjs.com](https://www.npmjs.com/package/bits-ui/v/2.20.1)

## Older versions

8 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### bits-ui 2.20.0 breaking changes

bits-ui 2.20.0, released October 20, 2026: 3 breaking changes.

- **Behavior changed** `Select.Trigger`  

Select.Trigger now has the combobox role and aria-controls points at the listbox, so code that queries it by its previous role may need updating. [github.com](https://github.com/huntabyte/bits-ui/releases/tag/bits-ui%402.20.0)
- **Default changed** `RadioGroup.Root`  

The hidden form input of RadioGroup now sets autocomplete="off" by default. Pass an autocomplete prop to RadioGroup.Root if browser autofill is needed. [github.com](https://github.com/huntabyte/bits-ui/releases/tag/bits-ui%402.20.0)

And 1 more in this version.

### bits-ui 2.19.3 breaking changes

bits-ui 2.19.3, released September 22, 2026: 1 breaking change.

- **Signature changed** `Command.Root`  

Was const Command: import("svelte").Component\<CommandRootProps, {updateSelectedToIndex: (index: number) => void; updateSelectedByGroup: (change: 1 | -1) => void; updateSelectedByItem: (change: number) => void; getValidItems: () =>... [npmjs.com](https://www.npmjs.com/package/bits-ui/v/2.19.3)

### bits-ui 2.19.1 breaking changes

bits-ui 2.19.1, released September 8, 2026: 1 breaking change.

- **Behavior changed** `Menu.GroupHeading`  

Menu.GroupHeading no longer renders with role="group", so code or tests that select it by that role must change. Menu.Separator now sets role="separator". [github.com](https://github.com/huntabyte/bits-ui/releases/tag/bits-ui%402.19.1)

### bits-ui 2.19.0 breaking changes

bits-ui 2.19.0, released August 20, 2026: 1 breaking change.

- **Signature changed** `CheckboxRootPropsWithoutHTML`  

Was type CheckboxRootPropsWithoutHTML = WithChild<{disabled?: boolean | null | undefined; required?: boolean; readonly?: boolean | null | undefined; name?: any; value?: string; checked?: boolean; onCheckedChange?: OnChangeFn\<boolean>... [npmjs.com](https://www.npmjs.com/package/bits-ui/v/2.19.0)

### bits-ui 2.18.2 breaking changes

bits-ui 2.18.2, released August 19, 2026: 1 breaking change.

- **Behavior changed** `AlertDialog.Cancel`  

AlertDialog.Cancel now forwards the disabled prop to the rendered button, so a disabled cancel button is actually disabled. [github.com](https://github.com/huntabyte/bits-ui/releases/tag/bits-ui%402.18.2)

### bits-ui 2.18.0 breaking changes

bits-ui 2.18.0, released April 17, 2026: 2 breaking changes.

- **Signature changed** `PinInput.Root`  

Was const PinInput: import("svelte").Component\<PinInputRootProps, {}, "value" | "ref">; now const PinInput: import("svelte").Component\<PinInputRootProps, {}, "value" | "inputRef" | "ref">. [npmjs.com](https://www.npmjs.com/package/bits-ui/v/2.18.0)
- **Signature changed** `PinInputRootPropsWithoutHTML`  

Was type PinInputRootPropsWithoutHTML = Omit\<WithChild<{value?: string; onValueChange?: OnChangeFn\<string>; pasteTransformer?: (text: string) => string; maxlength: number; textalign?: "left" | "center" | "right"; onComplete?: (...args... [npmjs.com](https://www.npmjs.com/package/bits-ui/v/2.18.0)

### bits-ui 2.16.0 breaking changes

bits-ui 2.16.0, released February 19, 2026: 10 breaking changes.

- **Signature changed** `Tooltip.Root`  

Was const Tooltip: import("svelte").Component\<import("../types.js").TooltipRootPropsWithoutHTML, {}, "open"> type Tooltip = ReturnType\<typeof Tooltip>; now const Tooltip: $$IsomorphicComponent type Tooltip\<T = never> = InstanceType\<typeof... [npmjs.com](https://www.npmjs.com/package/bits-ui/v/2.16.0)
- **Signature changed** `Tooltip.RootProps`  

Was type TooltipRootPropsWithoutHTML = WithChildren<{open?: boolean; onOpenChange?: OnChangeFn\<boolean>; onOpenChangeComplete?: OnChangeFn\<boolean>; delayDuration?: number; disableHoverableContent?: boolean; disableCloseOnTriggerClick?... [npmjs.com](https://www.npmjs.com/package/bits-ui/v/2.16.0)

And 8 more in this version.

### bits-ui 2.15.0 breaking changes

bits-ui 2.15.0, released January 3, 2026: 9 breaking changes.

- **Behavior changed** `Menu.CheckboxGroup`  

Menu CheckboxGroup onValueChange is now called only once per change to its value instead of possibly multiple times, so handlers that counted calls may behave differently. [github.com](https://github.com/huntabyte/bits-ui/releases/tag/bits-ui%402.15.0)
- **Signature changed** `ContextMenu.Content`  

Was const ContextMenuContent: import("svelte").Component\<ContextMenuContentProps, {}, "ref">; now const ContextMenuContent: import("svelte").Component\<import("../../menu/types.js").MenuContentProps, {}, "ref">. [npmjs.com](https://www.npmjs.com/package/bits-ui/v/2.15.0)

And 7 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
