Toast stack

Timed notifications with entry, hold, and dismissal.

0:00 / 0:01

Customize

Installation

pnpm odori add component toast-stack

Edit the source in videos/components/toast-stack/. Use odori diff to compare upstream changes and odori update to apply updates.

Timing contract

Use these durations and content limits when composing a scene. Run odori test to check your video.

Family
Interface
Recommended duration
180 frames · 6s
Minimum duration
40 frames · 1.33s
Entrance
10 frames
Exit
10 frames
Reduced motion
toasts appear and disappear without sliding
Requires
sans font
Content limits
title ≤ 48, detail ≤ 72

Props

PropTypeDefaultRequired
toastsToast[][]—
cornerWhich corner the stack grows from."bottom-right" | "top-right" | "bottom-left" | "top-left""bottom-right"—

Related components

All components