Switch
Overview
Switch is a two-option toggle with a left and right label. It has Active and Inactive states and flips between them on click, handy for a monthly / yearly pricing switch.
How to insert it
Assets panel: open Assets, Form, drag Switch onto the canvas.
Shortcut: press Ctrl + K, search “Switch”, click Insert Switch.
From the Framer AI chat: type @Switch to reference the component.
For MCP setup, Skills and the full agent workflow, see the General documentation.
Anatomy
Part | Description |
|---|---|
Container | The track that holds both options. |
Left label | The left option. Controlled by (TL) Toggle Left Label. |
Right label | The right option. Controlled by (TR) Toggle Right Label. |
Thumb | The moving indicator that marks the active side. |
Variables
Variable | Type | Default | Description |
|---|---|---|---|
(TL) Toggle Left Label | Text | Text Left | The left option label. |
[+] Toggle Left Label - How? | Boolean | On | Show or hide the left label. |
(TR) Toggle Right Label | Text | Text Right | The right option label. |
[+] Toggle Right Label - How? | Boolean | On | Show or hide the right label. |
Variants
Variant | Role | Description |
|---|---|---|
Inactive | User-selectable | The left option is selected. |
Active | User-selectable | The right option is selected. |
Interactions
Event | Response |
|---|---|
Click | Toggles between Inactive and Active. |
Pairs well with
Pricing, to switch between billing periods.
Pricing Simple Card, above a compact plan.
Use cases
Billing toggle: monthly versus yearly.
View switch: two ways to see the same content.
Binary filter: on or off, A or B.