---
title: "@radix-ui/react-collapsible 1.2.1 Breaking Changes on npm"
description: "What each @radix-ui/react-collapsible release removed, renamed or changed: 31 breaking changes in 6 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@radix-ui/react-collapsible
last_updated: 2026-12-04
---

# @radix-ui/react-collapsible breaking changes

@radix-ui/react-collapsible 1.2.1 (October 12, 2026) is its newest release with breaking changes. The first: Signature changed CollapsibleProps.onOpenChange. Every breaking API change we have recorded in @radix-ui/react-collapsible on npm: 31 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.2.2`, released December 4, 2026. [Source repository](https://github.com/radix-ui/primitives)

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

- From [0.1.0](#v-0-1-0) to [1.2.1](#v-1-2-1): 15 breaking changes in 5 versions.

## @radix-ui/react-collapsible 1.2.1 breaking changes

@radix-ui/react-collapsible 1.2.1, released October 12, 2026: 1 breaking change.

- **Signature changed** `CollapsibleProps.onOpenChange`  

Was onOpenChange?: ((open: boolean) => void) | undefined; now onOpenChange?: {bivarianceHack(open: boolean): void;}\['bivarianceHack'\] | undefined. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/1.2.1)

## @radix-ui/react-collapsible 1.2.0 breaking changes

@radix-ui/react-collapsible 1.2.0, released October 12, 2026: 5 breaking changes.

- **Signature changed** `CollapsibleContentProps.forceMount`  

Was forceMount?: true; now forceMount?: true | undefined. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/1.2.0)
- **Signature changed** `CollapsibleProps.defaultOpen`  

Was defaultOpen?: boolean; now defaultOpen?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/1.2.0)
- **Signature changed** `CollapsibleProps.disabled`  

Was disabled?: boolean; now disabled?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/1.2.0)
- **Signature changed** `CollapsibleProps.onOpenChange`  

Was onOpenChange?(open: boolean): void; now onOpenChange?: ((open: boolean) => void) | undefined. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/1.2.0)
- **Signature changed** `CollapsibleProps.open`  

Was open?: boolean; now open?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/1.2.0)

## @radix-ui/react-collapsible 1.1.21 breaking changes

@radix-ui/react-collapsible 1.1.21, released October 5, 2026: 3 breaking changes.

- **Signature changed** `Content`  

Was const Content: React.ForwardRefExoticComponent\<CollapsibleContentProps & React.RefAttributes\<HTMLDivElement>>; now const CollapsibleContent: React.ForwardRefExoticComponent\<CollapsibleContentProps & React.RefAttributes\<HTMLDivElement>>. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/1.1.21)
- **Signature changed** `Root`  

Was const Root: React.ForwardRefExoticComponent\<CollapsibleProps & React.RefAttributes\<HTMLDivElement>>; now const Collapsible: React.ForwardRefExoticComponent\<CollapsibleProps & React.RefAttributes\<HTMLDivElement>>. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/1.1.21)
- **Signature changed** `Trigger`  

Was const Trigger: React.ForwardRefExoticComponent\<CollapsibleTriggerProps & React.RefAttributes\<HTMLButtonElement>>; now const CollapsibleTrigger: React.ForwardRefExoticComponent\<CollapsibleTriggerProps &... [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/1.1.21)

## @radix-ui/react-collapsible 1.1.20 breaking changes

@radix-ui/react-collapsible 1.1.20, released July 24, 2026: 3 breaking changes.

- **Signature changed** `Content`  

Was const CollapsibleContent: React.ForwardRefExoticComponent\<CollapsibleContentProps & React.RefAttributes\<HTMLDivElement>>; now const Content: React.ForwardRefExoticComponent\<CollapsibleContentProps & React.RefAttributes\<HTMLDivElement>>. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/1.1.20)
- **Signature changed** `Root`  

Was const Collapsible: React.ForwardRefExoticComponent\<CollapsibleProps & React.RefAttributes\<HTMLDivElement>>; now const Root: React.ForwardRefExoticComponent\<CollapsibleProps & React.RefAttributes\<HTMLDivElement>>. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/1.1.20)
- **Signature changed** `Trigger`  

Was const CollapsibleTrigger: React.ForwardRefExoticComponent\<CollapsibleTriggerProps & React.RefAttributes\<HTMLButtonElement>>; now const Trigger: React.ForwardRefExoticComponent\<CollapsibleTriggerProps &... [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/1.1.20)

## @radix-ui/react-collapsible 1.1.18 breaking changes

@radix-ui/react-collapsible 1.1.18, released July 22, 2026: 3 breaking changes.

- **Signature changed** `Content`  

Was const Content: React.ForwardRefExoticComponent\<CollapsibleContentProps & React.RefAttributes\<HTMLDivElement>>; now const CollapsibleContent: React.ForwardRefExoticComponent\<CollapsibleContentProps & React.RefAttributes\<HTMLDivElement>>. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/1.1.18)
- **Signature changed** `Root`  

Was const Root: React.ForwardRefExoticComponent\<CollapsibleProps & React.RefAttributes\<HTMLDivElement>>; now const Collapsible: React.ForwardRefExoticComponent\<CollapsibleProps & React.RefAttributes\<HTMLDivElement>>. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/1.1.18)
- **Signature changed** `Trigger`  

Was const Trigger: React.ForwardRefExoticComponent\<CollapsibleTriggerProps & React.RefAttributes\<HTMLButtonElement>>; now const CollapsibleTrigger: React.ForwardRefExoticComponent\<CollapsibleTriggerProps &... [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/1.1.18)

## @radix-ui/react-collapsible 0.1.0 breaking changes

@radix-ui/react-collapsible 0.1.0, released September 7, 2021: 16 breaking changes.

- **Removed** `CollapsibleContentImpl`  

CollapsibleContentImpl was removed in @radix-ui/react-collapsible 0.1.0 [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/0.1.0)
- **Removed** `CollapsibleContentImplOwnProps`  

CollapsibleContentImplOwnProps was removed in @radix-ui/react-collapsible 0.1.0 [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/0.1.0)
- **Removed** `CollapsibleContentImplPrimitive`  

CollapsibleContentImplPrimitive was removed in @radix-ui/react-collapsible 0.1.0 [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/0.1.0)
- **Removed** `CollapsibleContentOwnProps`  

CollapsibleContentOwnProps was removed in @radix-ui/react-collapsible 0.1.0 [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/0.1.0)
- **Removed** `CollapsibleContentPrimitive`  

CollapsibleContentPrimitive was removed in @radix-ui/react-collapsible 0.1.0 [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/0.1.0)
- **Removed** `CollapsibleOwnProps`  

CollapsibleOwnProps was removed in @radix-ui/react-collapsible 0.1.0 [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/0.1.0)
- **Removed** `CollapsiblePrimitive`  

CollapsiblePrimitive was removed in @radix-ui/react-collapsible 0.1.0 [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/0.1.0)
- **Removed** `CollapsibleTriggerOwnProps`  

CollapsibleTriggerOwnProps was removed in @radix-ui/react-collapsible 0.1.0 [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/0.1.0)
- **Removed** `CollapsibleTriggerPrimitive`  

CollapsibleTriggerPrimitive was removed in @radix-ui/react-collapsible 0.1.0 [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/0.1.0)
- **Removed** `TRIGGER_DEFAULT_TAG`  

TRIGGER_DEFAULT_TAG was removed in @radix-ui/react-collapsible 0.1.0 [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-collapsible/v/0.1.0)

And 6 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Related packages

- [@radix-ui/react-toggle](https://since.dev/packages/npm/@radix-ui/react-toggle.md)
- [@radix-ui/react-select](https://since.dev/packages/npm/@radix-ui/react-select.md)
- [@radix-ui/react-toggle-group](https://since.dev/packages/npm/@radix-ui/react-toggle-group.md)
- [@radix-ui/react-toast](https://since.dev/packages/npm/@radix-ui/react-toast.md)
- [@radix-ui/react-context-menu](https://since.dev/packages/npm/@radix-ui/react-context-menu.md)
- [@radix-ui/react-tooltip](https://since.dev/packages/npm/@radix-ui/react-tooltip.md)

## 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.
