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

# @radix-ui/react-switch breaking changes

@radix-ui/react-switch 1.4.1 (October 12, 2026) is its newest release with breaking changes, 2 of them. The first: Signature changed SwitchProps.onCheckedChange. Every breaking API change we have recorded in @radix-ui/react-switch on npm: 36 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.4.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.4.1](#v-1-4-1): 25 breaking changes in 6 versions.

## @radix-ui/react-switch 1.4.1 breaking changes

@radix-ui/react-switch 1.4.1, released October 12, 2026: 2 breaking changes.

- **Signature changed** `SwitchProps.onCheckedChange`  

Was onCheckedChange?: ((checked: boolean) => void) | undefined; now onCheckedChange?: {bivarianceHack(checked: boolean): void;}\['bivarianceHack'\] | undefined. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-switch/v/1.4.1)
- **Signature changed** `unstable_SwitchProviderProps.onCheckedChange`  

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

## @radix-ui/react-switch 1.4.0 breaking changes

@radix-ui/react-switch 1.4.0, released October 12, 2026: 14 breaking changes.

- **Signature changed** `SwitchProps.checked`  

Was checked?: boolean; now checked?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-switch/v/1.4.0)
- **Signature changed** `SwitchProps.defaultChecked`  

Was defaultChecked?: boolean; now defaultChecked?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-switch/v/1.4.0)
- **Signature changed** `SwitchProps.onCheckedChange`  

Was onCheckedChange?(checked: boolean): void; now onCheckedChange?: ((checked: boolean) => void) | undefined. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-switch/v/1.4.0)
- **Signature changed** `SwitchProps.required`  

Was required?: boolean; now required?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-switch/v/1.4.0)
- **Signature changed** `unstable_SwitchProviderProps.checked`  

Was checked?: boolean; now checked?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-switch/v/1.4.0)
- **Signature changed** `unstable_SwitchProviderProps.children`  

Was children?: React.ReactNode; now children?: React.ReactNode | undefined. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-switch/v/1.4.0)
- **Signature changed** `unstable_SwitchProviderProps.defaultChecked`  

Was defaultChecked?: boolean; now defaultChecked?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-switch/v/1.4.0)
- **Signature changed** `unstable_SwitchProviderProps.disabled`  

Was disabled?: boolean; now disabled?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-switch/v/1.4.0)
- **Signature changed** `unstable_SwitchProviderProps.form`  

Was form?: string; now form?: string | undefined. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-switch/v/1.4.0)
- **Signature changed** `unstable_SwitchProviderProps.name`  

Was name?: string; now name?: string | undefined. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-switch/v/1.4.0)

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

## @radix-ui/react-switch 1.3.8 breaking changes

@radix-ui/react-switch 1.3.8, released October 5, 2026: 2 breaking changes.

- **Signature changed** `unstable_Provider`  

Was function SwitchProvider(props: ScopedProps\<SwitchProviderProps>): react_jsx_runtime.JSX.Element; now function SwitchProvider(props: ScopedProps\<SwitchProviderProps>): React.JSX.Element. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-switch/v/1.3.8)
- **Signature changed** `unstable_SwitchProvider`  

Was function SwitchProvider(props: ScopedProps\<SwitchProviderProps>): react_jsx_runtime.JSX.Element; now function SwitchProvider(props: ScopedProps\<SwitchProviderProps>): React.JSX.Element. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-switch/v/1.3.8)

## @radix-ui/react-switch 1.3.7 breaking changes

@radix-ui/react-switch 1.3.7, released July 24, 2026: 2 breaking changes.

- **Signature changed** `unstable_Provider`  

Was function SwitchProvider(props: ScopedProps\<SwitchProviderProps>): React.JSX.Element; now function SwitchProvider(props: ScopedProps\<SwitchProviderProps>): react_jsx_runtime.JSX.Element. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-switch/v/1.3.7)
- **Signature changed** `unstable_SwitchProvider`  

Was function SwitchProvider(props: ScopedProps\<SwitchProviderProps>): React.JSX.Element; now function SwitchProvider(props: ScopedProps\<SwitchProviderProps>): react_jsx_runtime.JSX.Element. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-switch/v/1.3.7)

## @radix-ui/react-switch 1.3.5 breaking changes

@radix-ui/react-switch 1.3.5, released July 22, 2026: 2 breaking changes.

- **Signature changed** `unstable_Provider`  

Was function SwitchProvider(props: ScopedProps\<SwitchProviderProps>): react_jsx_runtime.JSX.Element; now function SwitchProvider(props: ScopedProps\<SwitchProviderProps>): React.JSX.Element. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-switch/v/1.3.5)
- **Signature changed** `unstable_SwitchProvider`  

Was function SwitchProvider(props: ScopedProps\<SwitchProviderProps>): react_jsx_runtime.JSX.Element; now function SwitchProvider(props: ScopedProps\<SwitchProviderProps>): React.JSX.Element. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-switch/v/1.3.5)

## @radix-ui/react-switch 1.3.0 breaking changes

@radix-ui/react-switch 1.3.0, released June 6, 2026: 3 breaking changes.

- **Signature changed** `Root`  

Was const Root: React.ForwardRefExoticComponent\<SwitchProps & React.RefAttributes\<HTMLButtonElement>>; now const Switch: React.ForwardRefExoticComponent\<SwitchProps & React.RefAttributes\<HTMLButtonElement>>. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-switch/v/1.3.0)
- **Signature changed** `SwitchProps`  

Was interface SwitchProps extends PrimitiveButtonProps; now interface SwitchProps extends Omit\<PrimitiveButtonProps, 'checked' | 'defaultChecked'>. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-switch/v/1.3.0)
- **Signature changed** `Thumb`  

Was const Thumb: React.ForwardRefExoticComponent\<SwitchThumbProps & React.RefAttributes\<HTMLSpanElement>>; now const SwitchThumb: React.ForwardRefExoticComponent\<SwitchThumbProps & React.RefAttributes\<HTMLSpanElement>>. [npmjs.com](https://www.npmjs.com/package/@radix-ui/react-switch/v/1.3.0)

## Older versions

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

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

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

- **Removed** `InputDOMProps`  

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

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

And 9 more in this version.

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