diff --git a/docs/data/base/components/switch/switch.md b/docs/data/base/components/switch/switch.md
index 9e22166a75..7fc380129c 100644
--- a/docs/data/base/components/switch/switch.md
+++ b/docs/data/base/components/switch/switch.md
@@ -24,7 +24,7 @@ The Switch component provides users with a switch for toggling between two mutua
## Component
```jsx
-import { Switch } from '@base_ui/react/Switch';
+import * as Switch from '@base_ui/react/Switch';
```
### Anatomy
@@ -32,9 +32,9 @@ import { Switch } from '@base_ui/react/Switch';
The Switch component is composed of a root that houses one interior slot—a thumb:
```tsx
-
+
-
+
```
### Custom structure
@@ -42,9 +42,9 @@ The Switch component is composed of a root that houses one interior slot—a thu
Use the `render` prop to override the root or thumb component:
```jsx
- }>
+ }>
} />
-
+
```
## Hook