Secondary Button
Overview
Secondary Button is the medium-emphasis button. Use it for secondary actions placed next to a Primary Button, or for standalone actions that should not dominate the view. It mirrors Primary Button’s structure with a lighter visual weight.
How to insert it
Assets panel: open Assets, Actions, Buttons, drag Secondary Button onto the canvas.
Shortcut: press Ctrl + K, search “Secondary Button”, click Insert Secondary Button.
From the Framer AI chat: type @Secondary Button to reference the component.
For MCP setup, Skills and the full agent workflow, see the General documentation.
Anatomy
Part | Description |
|---|---|
Container | The button frame that holds padding, radius and fill. |
Icon Left slot | Optional icon before the text. Toggled with [+] Icon Left - How?, filled with (IC) Icon Left. |
Text | The visible text describing the action. Controlled by (TX) Text Button. |
Icon Right slot | Optional icon after the text. Toggled with [+] Icon Right - How?, filled with (IC) Icon Right. |
Variables
Variable | Type | Default | Description |
|---|---|---|---|
[+] Icon Left - How? | Boolean | false | Toggles the left icon slot. |
(IC) Icon Left | Icon | empty | Icon shown before the text when the left toggle is on. |
(TX) Text Button | Text | Text Button | Visible button text, also the accessible name. |
(LN) Link | Link | empty | Destination URL. Opens in the same tab unless overridden. |
[+] Icon Right - How? | Boolean | false | Toggles the right icon slot. |
(IC) Icon Right | Icon | empty | Icon shown after the text when the right toggle is on. |
Variants
Variant | Role | Description |
|---|---|---|
Large | User-selectable | Default size, for desktop placements. |
Small | User-selectable | Compact size, for mobile placements and touch targets. |
Large Hover | Auto | Applied on pointer hover over Large. Fill shifts to the hover token. |
Small Pressed | Auto | Applied on touch press over Small. |
Interactions
Event | Response |
|---|---|
Hover on Large | Swaps to Large Hover, fill shifts to the hover token with a Spring transition (0.45s). |
Press on Small | Swaps to Small Pressed. |
Cursor | Pointer. |
Click with Link set | Navigates to the URL. |
Pairs well with
Primary Button, as the main action it sits beside.
Link, for inline navigation that needs no button weight.
Use cases
Secondary action beside a CTA: “Learn more” next to a Primary “Get started”.
Card footer: a secondary action inside a pricing or feature card.
Form secondary: “Back” or “Cancel” next to a primary submit.
Toolbar: a non-primary action in a dashboard toolbar.