Issue: Create UmbralToast
Overview
Create a toast component for subtle, informational messages that are more compact than snackbars and auto-dismiss quickly.
PRD Reference
Section B2.2: UmbralToast (mas sutil que Snackbar)
Acceptance Criteria
Visual Reference
Centered at top:
┌─────────────────────┐
│ ✓ Copiado │
└─────────────────────┘
With just text:
┌─────────────────────┐
│ Guardando... │
└─────────────────────┘
Use Cases
- Copy confirmation
- Quick status updates
- Non-critical information
- Action acknowledgments
Implementation Notes
- Toast should float above content
- Use
Popup or Box with align(Alignment.TopCenter)
- Blur effect using
Modifier.blur() if API level supports
- Fallback to semi-transparent background if blur not available
- Consider using coroutines for timing
File Location
app/src/main/java/com/umbral/presentation/ui/components/feedback/UmbralToast.kt
Dependencies
- Motion.kt (01-motion-tokens)
- Phase 1 color tokens
Part of Epic #80
Issue: Create UmbralToast
Overview
Create a toast component for subtle, informational messages that are more compact than snackbars and auto-dismiss quickly.
PRD Reference
Section B2.2: UmbralToast (mas sutil que Snackbar)
Acceptance Criteria
message: Stringicon: ImageVector?backgroundElevatedwith 90% opacitylabelMediumVisual Reference
Use Cases
Implementation Notes
PopuporBoxwithalign(Alignment.TopCenter)Modifier.blur()if API level supportsFile Location
app/src/main/java/com/umbral/presentation/ui/components/feedback/UmbralToast.ktDependencies
Part of Epic #80