Actions
Make your toasts interactive by adding action buttons that users can click.
Basic Action
Add a single action button to your toast:
Example
Multiple Actions
Add multiple action buttons for different choices:
Example
Action Layouts
Actions support two layouts: horizontal (default) and vertical.
Horizontal Layout
Actions are displayed side-by-side:
Example
Vertical Layout
Actions are stacked vertically (useful for longer labels):
Example
Common Action Patterns
Undo Action
Example
Confirm/Cancel
Example
View Details
Example
Navigation Action
Example
Action Best Practices
Keep Labels Short
Bad vs Good
Use Action Verbs
Bad vs Good
Limit Number of Actions
Bad vs Good
Design Tip: For more than 2–3 actions, consider using a modal or dialog instead of cramming them into a toast.
