Secondary Button
UI ComponentsA button style used for secondary or alternative actions, visually less prominent than primary buttons, typically featuring an outline or subtle background.
Visual Examples
Example 1
Example 2
Example 3
Visual examples for Secondary Button coming soon.
How It Works in Apps/Websites
Secondary buttons provide alternative actions alongside primary actions. They use less visual weight - often outlined (border only) or filled with neutral/muted colors. Common pattern: primary button for main action (Save), secondary for alternative (Cancel). Should still be clearly clickable but not compete for attention.
How AI Interprets This Term
When you say 'secondary button', AI expects: a button with border (often gray or accent color) and transparent or light background. Same size as primary button but less visually prominent. Hover state shows subtle fill. Often placed left of or below primary button.
Prompt Examples
Copy-paste these prompts to use in your AI tools.
Create a secondary button for 'Cancel' action
Design a button pair: Primary 'Save Changes' (blue bg, white text) and Secondary 'Cancel' (gray border, gray text, transparent bg). Same height (40px) and padding. Secondary hover shows light gray fill. 12px gap between buttons.
Show a form with Primary button (Submit), Secondary button (Cancel), and Ghost button (Clear form) demonstrating hierarchy
Compare With
Related or contrasting terms to help you understand the differences.
Variants & States
Variants
States
Usage Guidelines
When to Use
- •Cancel or dismiss actions
- •Alternative paths
- •Less important actions
- •Alongside primary buttons
When NOT to Use
- •Main call-to-action
- •Destructive actions (use destructive style)
- •When there's only one action
Related Terms
Ghost Button
A minimal button style with transparent background and only text (or text with icon), used for tertiary actions or to reduce visual clutter.
Primary Button
The main action button on a page, designed to draw attention and guide users toward the most important action.