Primary Button
Overview
Primary Button is the highest-emphasis button in the system. Use it for the main action of a section (Submit, Get started, Book a call). One primary per view; everything else should be Secondary or Ghost.
How to insert it
Assets panel: open Assets, Actions, Buttons, drag Primary Button onto the canvas.
Shortcut: press Ctrl + K, search “Primary Button”, click Insert Primary Button.
From the Framer AI chat: type @Primary 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 and scales to 0.98 with a Spring transition (0.4s). |
Press on Small | Swaps to Small Pressed. |
Cursor | Pointer. |
Click with Link set | Navigates to the URL. |
Pairs well with
Secondary Button, as the lower-emphasis action beside it.
Link, for inline navigation that needs no button weight.
Use cases
Hero CTA: “Start free trial” with Icon Right on, inside a hero section.
Pricing featured plan: “Get Pro” inside the highlighted plan card.
Form submit: “Create account”, full width inside a form.
Mobile CTA: Small variant, “Download app” inside a mobile landing section.