@headlessui/react breaking changes
Updated December 4, 2026
On this page
Latest version 2.2.10, released April 7, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 1.0.0 to 2.2.10: 156 breaking changes in 11 versions.
- From 0.3.0 to 2.2.10: 165 breaking changes in 12 versions.
@headlessui/react 2.2.10 breaking changes
- Signature changed
_internal_ComponentField.__call
Was <TTag extends ElementType = typeof DEFAULT_FIELD_TAG>(props: FieldProps<TTag>): React.JSX.Element; now <TTag extends ElementType = typeof DEFAULT_FIELD_TAG>(props: FieldProps<TTag> & RefProp<typeof FieldFn>): React.JSX.Element. npmjs.com - Signature changed
_internal_ComponentFieldset.__call
Was <TTag extends ElementType = typeof DEFAULT_FIELDSET_TAG>(props: FieldsetProps<TTag>): React.JSX.Element; now <TTag extends ElementType = typeof DEFAULT_FIELDSET_TAG>(props: FieldsetProps<TTag> & RefProp<typeof FieldsetFn>)... npmjs.com - Signature changed
_internal_ComponentLegend.__call
Was <TTag extends ElementType = typeof DEFAULT_LEGEND_TAG>(props: LegendProps<TTag>): React.JSX.Element; now <TTag extends ElementType = typeof DEFAULT_LEGEND_TAG>(props: LegendProps<TTag> & RefProp<typeof LegendFn>): React.JSX.Element. npmjs.com
@headlessui/react 2.2.9 breaking changes
- Signature changed
ComboboxProps
Was type ComboboxProps<TValue, TMultiple extends boolean | undefined, TTag extends ElementType = typeof DEFAULT_COMBOBOX_TAG> = Props<TTag, ComboboxRenderPropArg<NoInfer<TValue>>, 'value' | 'defaultValue' | 'multiple' | 'onChange' | 'by'... npmjs.com
@headlessui/react 2.2.8 breaking changes
- Signature changed
ComboboxInputProps
Was type ComboboxInputProps<TTag extends ElementType = typeof DEFAULT_INPUT_TAG, TType = string> = Props<TTag, InputRenderPropArg, InputPropsWeControl, {defaultValue?: TType; disabled?: boolean; displayValue?(item: TType): string... npmjs.com - Signature changed
ComboboxProps
Was type ComboboxProps<TValue, TMultiple extends boolean | undefined, TTag extends ElementType = typeof DEFAULT_COMBOBOX_TAG> = Props<TTag, ComboboxRenderPropArg<NoInfer<TValue>>, 'value' | 'defaultValue' | 'multiple' | 'onChange' | 'by'... npmjs.com - Signature changed
ListboxProps
Was type ListboxProps<TTag extends ElementType = typeof DEFAULT_LISTBOX_TAG, TType = string, TActualType = TType> = Props<TTag, ListboxRenderPropArg<TType>, 'value' | 'defaultValue' | 'onChange' | 'by' | 'disabled' | 'horizontal' | 'name'... npmjs.com - Signature changed
RadioGroupProps
Was type RadioGroupProps<TTag extends ElementType = typeof DEFAULT_RADIO_GROUP_TAG, TType = string> = Props<TTag, RadioGroupRenderPropArg<TType>, RadioGroupPropsWeControl, {value?: TType; defaultValue?: TType; onChange?(value: TType)... npmjs.com - Signature changed
SwitchProps
Was type SwitchProps<TTag extends ElementType = typeof DEFAULT_SWITCH_TAG> = Props<TTag, SwitchRenderPropArg, SwitchPropsWeControl, {checked?: boolean; defaultChecked?: boolean; onChange?(checked: boolean): void; name?: string; value?... npmjs.com
@headlessui/react 2.2.2 breaking changes
- Behavior changed
Menu
Menu and Listbox open when the mouse button is pressed rather than released, so code relying on click-triggered opening may behave differently. github.com - Behavior changed
Transition
The Transition component no longer incorrectly exposes the Closing state to users, which changes what state values code observing it can see. github.com
@headlessui/react 2.2.1 breaking changes
- Signature changed
CheckboxProps
Was type CheckboxProps<TTag extends ElementType = typeof DEFAULT_CHECKBOX_TAG, TType = string> = Props<TTag, CheckboxRenderPropArg, CheckboxPropsWeControl, {value?: TType; disabled?: boolean; indeterminate?: boolean; checked?: boolean... npmjs.com - Signature changed
ComboboxProps
Was type ComboboxProps<TValue, TMultiple extends boolean | undefined, TTag extends ElementType = typeof DEFAULT_COMBOBOX_TAG> = Props<TTag, ComboboxRenderPropArg<NoInfer<TValue>>, 'value' | 'defaultValue' | 'multiple' | 'onChange' | 'by'... npmjs.com
@headlessui/react 2.1.10 breaking changes
- Signature changed
_internal_ComponentButton.__call
Was <TTag extends ElementType = typeof DEFAULT_BUTTON_TAG>(props: ButtonProps<TTag> & RefProp<typeof ButtonFn>): JSX.Element; now <TTag extends ElementType = typeof DEFAULT_BUTTON_TAG>(props: ButtonProps<TTag> & RefProp<typeof ButtonFn>)... npmjs.com - Signature changed
_internal_ComponentCheckbox.__call
Was <TTag extends ElementType = typeof DEFAULT_CHECKBOX_TAG, TType = string>(props: CheckboxProps<TTag, TType> & RefProp<typeof CheckboxFn>): JSX.Element; now <TTag extends ElementType = typeof DEFAULT_CHECKBOX_TAG, TType = string>(props... npmjs.com - Signature changed
_internal_ComponentCombobox.__call
Was <TValue, TMultiple extends boolean | undefined = false, TTag extends ElementType = typeof DEFAULT_COMBOBOX_TAG>(props: ComboboxProps<TValue, TMultiple, TTag> & RefProp<typeof ComboboxFn>): JSX.Element; now <TValue, TMultiple extends... npmjs.com - Signature changed
_internal_ComponentComboboxButton.__call
Was <TTag extends ElementType = typeof DEFAULT_BUTTON_TAG>(props: ComboboxButtonProps<TTag> & RefProp<typeof ButtonFn>): JSX.Element; now <TTag extends ElementType = typeof DEFAULT_BUTTON_TAG>(props: ComboboxButtonProps<TTag> &... npmjs.com - Signature changed
_internal_ComponentComboboxInput.__call
Was <TType, TTag extends ElementType = typeof DEFAULT_INPUT_TAG>(props: ComboboxInputProps<TTag, TType> & RefProp<typeof InputFn>): JSX.Element; now <TType, TTag extends ElementType = typeof DEFAULT_INPUT_TAG>(props... npmjs.com - Signature changed
_internal_ComponentComboboxOption.__call
Was <TTag extends ElementType = typeof DEFAULT_OPTION_TAG, TType = Parameters<typeof ComboboxRoot>[0]['value']>(props: ComboboxOptionProps<TTag, TType> & RefProp<typeof OptionFn>): JSX.Element; now <TTag extends ElementType = typeof... npmjs.com - Signature changed
_internal_ComponentComboboxOptions.__call
Was <TTag extends ElementType = typeof DEFAULT_OPTIONS_TAG>(props: ComboboxOptionsProps<TTag> & RefProp<typeof OptionsFn>): JSX.Element; now <TTag extends ElementType = typeof DEFAULT_OPTIONS_TAG>(props: ComboboxOptionsProps<TTag> &... npmjs.com - Signature changed
_internal_ComponentDataInteractive.__call
Was <TTag extends ElementType = typeof DEFAULT_DATA_INTERACTIVE_TAG>(props: DataInteractiveProps<TTag> & RefProp<typeof DataInteractiveFn>): JSX.Element; now <TTag extends ElementType = typeof DEFAULT_DATA_INTERACTIVE_TAG>(props... npmjs.com - Signature changed
_internal_ComponentDialog.__call
Was <TTag extends ElementType = typeof DEFAULT_DIALOG_TAG>(props: DialogProps<TTag> & RefProp<typeof DialogFn>): JSX.Element; now <TTag extends ElementType = typeof DEFAULT_DIALOG_TAG>(props: DialogProps<TTag> & RefProp<typeof DialogFn>)... npmjs.com - Signature changed
_internal_ComponentDialogBackdrop.__call
Was <TTag extends ElementType = typeof DEFAULT_BACKDROP_TAG>(props: DialogBackdropProps<TTag> & RefProp<typeof BackdropFn>): JSX.Element; now <TTag extends ElementType = typeof DEFAULT_BACKDROP_TAG>(props: DialogBackdropProps<TTag> &... npmjs.com
And 41 more in this version. Sign up to see every change
Older versions
7 older versions, each with its first changes. Sign up to see every change
Show 7 older versions
@headlessui/react 2.1.9 breaking changes
- Signature changed
DialogProps
Was type DialogProps<TTag extends ElementType = typeof DEFAULT_DIALOG_TAG> = Props<TTag, DialogRenderPropArg, DialogPropsWeControl, PropsForFeatures<typeof DialogRenderFeatures> & {open?: boolean; onClose(value: boolean): void... npmjs.com
@headlessui/react 2.1.3 breaking changes
- Signature changed
ComboboxProps
Was type ComboboxProps<TValue, TMultiple extends boolean | undefined, TTag extends ElementType = typeof DEFAULT_COMBOBOX_TAG> = Props<TTag, ComboboxRenderPropArg<NoInfer<TValue>>, 'value' | 'defaultValue' | 'multiple' | 'onChange' | 'by'... npmjs.com
@headlessui/react 2.1.0 breaking changes
- Removed
_internal_ComponentPopoverOverlay
_internal_ComponentPopoverOverlay was removed in @headlessui/react 2.1.0 npmjs.com - Removed
FocusTrapFeatures.All
FocusTrapFeatures.All was removed in @headlessui/react 2.1.0 npmjs.com
And 18 more in this version.
@headlessui/react 2.0.4 breaking changes
- Default changed
Fieldset
Fieldset defaults to a native fieldset element instead of a div. Code that relies on the rendered div tag or its styling may need to be updated. github.com
@headlessui/react 2.0.0 breaking changes
- Removed
_internal_ComponentComboboxLabel.__call
_internal_ComponentComboboxLabel.__call was removed in @headlessui/react 2.0.0 npmjs.com - Removed
_internal_ComponentDialogBackdrop
_internal_ComponentDialogBackdrop was removed in @headlessui/react 2.0.0 npmjs.com
And 67 more in this version.
@headlessui/react 1.0.0 breaking changes
- Behavior changed
Components now stop propagating keyboard and mouse events to parent elements. Code that relied on those events bubbling up must handle them on the component instead. github.com - Signature changed
Listbox.Button
Was var Button: <TTag extends React.ElementType<any> = "button">(props: Props<TTag, ButtonRenderPropArg, ButtonPropsWeControl>, ref: React.Ref<HTMLButtonElement>) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any... npmjs.com
And 7 more in this version.
@headlessui/react 0.3.0 breaking changes
- Removed
Transition.ref
The render function prop of Transition no longer passes a ref. Use the as prop or hoist attributes to the Transition itself. github.com - Behavior changed
Listbox
The disabled prop is now set on Listbox itself instead of Listbox.Button. github.com
And 21 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.