Live Feed Stack

A notification centre on glass. Alerts drop in at the top on a crisp spring, the list makes room with a layout animation, and older ones fold into a pile you can expand. Times tick; arrivals are announced; the stream can be paused.

Try it: Watch alerts arrive; press “N older” to expand the pile, or pause the stream.

Brings its own background. Paints a soft generated wallpaper behind the glass cards (set wallpaper={false} to sit on your own backdrop). Adapts to the nearest .dark/.light scope.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/live-feed-stack.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/live-feed-stack. You can also copy the source into components/ui/live-feed-stack.tsx (view on GitHub).

Usage

import { LiveFeedStack } from '@/components/ui/live-feed-stack'

Props

Component props
PropTypeDefaultNotes
itemsFeedItem[]DEFAULT_FEED{ id, app, title, body, icon?, tone?: 'violet' | 'orange' | 'emerald' | 'sky' | 'rose' | 'teal' } — arrive in order and loop.
intervalnumber2600ms between arrivals (900–20000).
visiblenumber3Cards shown before older ones fold into the pile.
autoPlaybooleantrueStart streaming immediately.
wallpaperbooleantruePaint the generated wallpaper behind the glass.
onArrive(item) => void—Fires when a notification arrives.
classNamestring—Extra classes merged onto the root.

Dependencies

  • motion
  • lucide-react

See all 6 Notifications components