Feedback
Stacked notification tray
Stacked notification tray: A phone-style pile of notification cards that fans out into a readable list when tapped and collapses back into a single deck.
Using Stacked notification tray
Stacked notification tray uses the card preview frame with a dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
count | number | 4 | From 2 to 6; step 1 |
accent | color | #38BDF8 | No additional limit in the metadata. |
startExpanded | boolean | false | No additional limit in the metadata. |
collapsedOffset | number | 12 | From 4 to 28; step 1 |
stagger | number | 45 | From 0 to 140; step 5 |
Which frameworks are available for Stacked notification tray?
Stacked notification tray is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Stacked notification tray depend on?
The React metadata lists these npm dependencies beyond React: motion.
What accessibility details are visible in Stacked notification tray?
The React source for Stacked notification tray includes: native elements (button); attributes and handlers (aria-expanded, aria-hidden, aria-label, aria-roledescription, onKeyDown, tabIndex); key comparisons (ArrowDown, ArrowUp, Enter, Escape, Space). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Stacked notification tray handle reduced motion?
Stacked notification tray reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: reduceMotion ? { duration: 0.1 } : { type: "spring", stiffness: 400, damping: 32 }; reduceMotion ? { duration: 0.12 } : { type: "spring", stiffness: 320, damping: 34 }. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.