Agentic Design System
v3.5.0

Components · Actions · Button

Back to Button types

Secondary Button

Owner: Design System Team · Version: v3.5.0

Use for important but supporting actions alongside a Primary button.

Properties

Size, content, corner radius and label are properties of the button component, not separate buttons - change them below to check this button's style, variation and states in the Live Preview.

Size
Content
Corner radius

Live Preview

All 8 types compared side by side, each in all 6 states. One full matrix is rendered per selected combination of Size, Content and Corner radius - check more than one option in a dropdown to see every combination side by side.

When to use Secondary

A supporting action that sits alongside a Primary button, like canceling, going back, or exporting.

Cancel Back Preview Edit View Details Export

Component Guide

Overview

Secondary Button is the supporting-action counterpart to Primary - an outlined, unfilled button used for the alternate or less urgent action in the same view, most often placed directly beside a Primary Button.

When to Use

  • The alternate action next to a Primary Button - Cancel beside Save, Back beside Continue.
  • Actions that matter but aren't the main goal of the screen - Preview, Edit, Export, View Details.
  • Anywhere a bordered, medium-emphasis button reads better than a full fill - toolbars, card footers, dialog footers.

When Not to Use

  • The single most important action on the screen - use Primary instead, so there is still exactly one highest-emphasis control.
  • Irreversible actions - use Destructive so danger is communicated by color as well as position.
  • Dense, repeated row actions - use Ghost or Tertiary, since Secondary's border still carries meaningful visual weight at scale.

Best Practices

  • Pair it with a Primary Button rather than using it alone as a screen's only action.
  • Keep its border and label weight consistent everywhere it's the "other" choice, so users learn what a bordered button means across the product.
  • Avoid placing two Secondary buttons side by side for genuinely different actions - if neither is more important, consider Tertiary or Ghost instead.

Do and Don't

Do

PublishSave draft

Secondary sits beside one Primary, offering a real alternative without competing for the first glance.

Don't

Delete account

A Secondary carrying a destructive, high-stakes action undersells its own consequence. Give it Destructive's weight instead.

Accessibility

  • Same native <button> semantics as Primary - keyboard reachable, Enter/Space activates it.
  • Border and text color meet WCAG 2.2 AA contrast against the panel background in both themes.
  • Focus ring is a visible 2px outline, independent of hover styling.

Related Components

Primary Button (the paired main action), Tertiary Button and Ghost Button (lower emphasis), Destructive Button (irreversible actions), Group Button.