[GH-ISSUE #5] [Discussion] Toast button philosophy: When should toasts be actionable / shareable #4

Open
opened 2026-03-02 05:16:28 +03:00 by kerem · 0 comments
Owner

Originally created by @YogeshK34 on GitHub (Feb 15, 2026).
Original GitHub issue: https://github.com/hiaaryan/sileo/issues/5

Context

I've been thinking about the button functionality in toasts and wanted to open a discussion about UX philosophy.

The Question

Toasts are traditionally ephemeral notifications, but Sileo supports buttons with onClick handlers. This opens up possibilities like "Share" buttons, but it also raises questions:

  • Does adding actionable buttons (especially "share") break the traditional toast paradigm?
  • Should there be best practice guidance on when to use buttons vs. when to use other UI patterns?
  • What are good/bad use cases for toast buttons?

Examples

Good: "Screenshot captured" → Share button (shares the artifact)
Questionable: "Settings saved" → Share button (nothing meaningful to share)

Thoughts?

Would love to hear the maintainer's perspective and community thoughts on this! Is there a philosophy behind the button API, or is it intentionally unopinionated?

Originally created by @YogeshK34 on GitHub (Feb 15, 2026). Original GitHub issue: https://github.com/hiaaryan/sileo/issues/5 ## Context I've been thinking about the button functionality in toasts and wanted to open a discussion about UX philosophy. ## The Question Toasts are traditionally ephemeral notifications, but Sileo supports buttons with `onClick` handlers. This opens up possibilities like "Share" buttons, but it also raises questions: - Does adding actionable buttons (especially "share") break the traditional toast paradigm? - Should there be best practice guidance on when to use buttons vs. when to use other UI patterns? - What are good/bad use cases for toast buttons? ## Examples ✅ **Good**: "Screenshot captured" → Share button (shares the artifact) ❌ **Questionable**: "Settings saved" → Share button (nothing meaningful to share) ## Thoughts? Would love to hear the maintainer's perspective and community thoughts on this! Is there a philosophy behind the button API, or is it intentionally unopinionated?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/sileo#4
No description provided.