VanillaReactLight & dark369 views
An iOS-style lock-screen notification stack where collapsed and expanded are the same DOM and the same transform — tap to unfold, swipe a tile onto Clear, and watch the survivors close the gap.
Get the code for free
Create a free account to copy or download the full source.
Notification component
An iOS-style lock-screen notification stack where collapsed and expanded are the same DOM and the same transform — tap to unfold, swipe a tile onto Clear, and watch the survivors close the gap.
--nst-i multiplied by either --nst-row (list) or --nst-peek (stack), so one index rewrite drives unfolding, restacking, delivering and clearingbackdrop-filterStacked / List control that drives the same stateDeliver adds a notification from a rotating pool onto the front of the stack with a spring entrance and a one-shot bell ring, capped at five tilesaria-hidden) and never in the tab orderinert and drop out of the hit-test, so no focus lands inside the pile and a tap on a peeking sliver reaches the wallpaper and unfolds itprefers-reduced-motion — the intro unfold is skipped, entrances land in place and every transition collapsesrole="list" with aria-live="polite" on the stack, so arriving and leaving notifications are announcedrole="listitem" wrappers around a real <button> whose aria-label names the app, the message and the time<button> with an explicit aria-label, held inert while the drawer is closed<button> pair with aria-pressed kept in sync with the collapsed statearia-hidden div — the accessible path to expand and collapse is the segmented control and Escapearia-hidden) and is toggled with , so it reaches the accessibility tree exactly while the stack is emptyOpen Notification Stack in Atheros AI Builder, pick a design system and ask the AI assistant to change the layout, copy or behaviour — the notification is regenerated against your tokens. Take the HTML, CSS, JS and React source with you, or pull it into your repo from Claude Code, Cursor or Codex over MCP.
Starting at $9.9 per month, billed annually
Don't miss a beat with our newsletter!
BUILDER
ABOUT US
© 2026 Atheros Intelligence Ltd.
visibilityinert and drop out of the hit-test, so no focus ever lands on a tile hidden inside the pile and overlapping tiles never compete for the same tap; expanding restores them to the tab order:focus-visible outline in --ring on every control--buttons-height-small; tiles are a full row tallaria-hidden="true"prefers-reduced-motion: reduce skips the intro unfold and collapses every transition