ActionPanel
Section card with headline, body text, and a primary action. Used to surface a single decision or call-to-action.
Export your data
Download everything in this workspace as a ZIP archive.
iOS
Export your data
Download everything in this workspace as a ZIP archive.
Android
Export your data
Download everything in this workspace as a ZIP archive.
Web
tsx
Default
Destructive
Inline
Toggle
Embedded fields
Fields under a pinned action
Confirm before delete
The panel's single action fires onAction; wire it to your own handler and every press runs it.
Props
Do & Don’t
Simple
Don’t
A destructive action with no consequence copy invites accidental, irreversible clicks.
Do
Delete this project
Once you delete a project, there is no going back. Please be certain.
Spell out the consequence above the button so the stakes are clear before the click.
With toggle
Don’t
A bare switch with no description leaves the user guessing what flipping it actually changes.
Do
Two-factor authentication
Add an extra layer of security to your account by requiring a verification code on login.
Pair the switch with a one-line explanation of what turning it on or off does.