LibraryDocsPricingHome
  • App shell
  • Dashboard overview
  • Sign in
  • Sign up
  • Onboarding checklist
  • Settings layout
  • Profile settings
  • Danger zone
  • Data table
  • Empty states
  • Analytics reportPro
  • Setup wizardPro
  • Invite teammatesPro
  • Notification preferencesPro
  • SecurityPro
  • IntegrationsPro
  • Plan pickerPro
  • Usage and limitsPro
  • Invoice historyPro
  • Payment methodsPro
  • Cancel flowPro
  • Members tablePro
  • Roles and permissionsPro
  • Audit logPro
  • Record detailPro
  • Database viewPro
  • Kanban boardPro
  • CSV importPro
  • Calendar and schedulePro
  • Notification centerPro
  • Activity feedPro
  • Home with agentsPro
  • Agent chatPro
  • Agent side panelPro
  • Approvals inboxPro
  • Agents directoryPro
  • Agent settingsPro
  • Agent run detailPro
  • Bulk change reviewPro
  • Agent monitor
  • Alert
  • App logo
  • Avatar
  • Badge
  • Breadcrumb
  • Button
  • Card
  • Checkbox
  • Command menu
  • Compact breakdown
  • Connection access row
  • Date picker
  • Date range picker
  • Dialog
  • Dropdown menu
  • Dropzone
  • Empty state
  • Field
  • Field suggestion
  • Filter menu
  • Input
  • KPI chart
  • Kbd
  • OTP input
  • Pagination
  • Popover
  • Profile menu
  • Progress
  • Radio group
  • Running now
  • Segmented control
  • Select
  • Separator
  • Setup guide
  • Sidebar
  • Skeleton
  • Spinner
  • Stepper form
  • Switch
  • Table
  • Tag input
  • Textarea
  • Time picker
  • Toast
  • Toggle group
  • Tooltip
  • Usage meter
  • Billing schedulePro
  • Breakdown chartPro
  • Comment threadPro
  • Integration pickerPro
  • Integration settingsPro
  • AI answerPro
  • Approval cardPro
  • Attachment chipPro
  • Chat composerPro
  • Code blockPro
  • Inline diffPro
  • Message actionsPro
  • Model pickerPro
  • Suggestion chipsPro
  • Thinking loaderPro
  • Thinking statePro
  • Tool call cardPro
  • User messagePro
  • Agent checkpointsPro
  • Agent fleetPro
  • Agent inboxPro
  • Agent lanesPro
  • Agent trailPro
  • Approval that escalatesPro
  • Autonomy dialPro
  • Away summaryPro
  • Bulk change reviewPro
  • Context windowPro
  • Decision cardPro
  • Delegate fieldPro
  • Diff timelinePro
  • Escalation rulesPro
  • Guidance layersPro
  • Memory panelPro
  • Memory suggestionPro
  • Promote to recurringPro
  • Resource access pickerPro
  • Run log with undoPro
Sign inGet Pro
ComponentsActionsButton

Button

Free

Triggers an action. Primary, secondary, ghost and destructive, in 24, 28 and 32 px.

$
Sign in
Sign in to copy

Installation

Free account, sign in to read

Props

Free account, sign in to read

Usage

Free account, sign in to read
BreadcrumbCard

More in Actions

Actions
Toggle group

A row of toggle buttons: filters, formatting, visible columns.

Sign in to copy

Examples

Variants

Primary is the one accent of a view. Destructive is soft: red text on a light red fill.

Sizes

sm 24 px, md 28 px, lg 32 px, for every variant.

With icons

A leading icon, a trailing chevron, or both.

Icon only

Square, same three sizes. Always pass an aria-label.

Disabled

Loading

A spinner replaces the leading icon and the button is disabled while it runs. Click one to watch the swap.

As a link

asChild renders your link element with the button styles.

Open billing