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.jsonOr, 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
| Prop | Type | Default | Notes |
|---|---|---|---|
items | FeedItem[] | DEFAULT_FEED | { id, app, title, body, icon?, tone?: 'violet' | 'orange' | 'emerald' | 'sky' | 'rose' | 'teal' } — arrive in order and loop. |
interval | number | 2600 | ms between arrivals (900–20000). |
visible | number | 3 | Cards shown before older ones fold into the pile. |
autoPlay | boolean | true | Start streaming immediately. |
wallpaper | boolean | true | Paint the generated wallpaper behind the glass. |
onArrive | (item) => void | — | Fires when a notification arrives. |
className | string | — | Extra classes merged onto the root. |
Dependencies
motionlucide-react
Related Notifications components
- Notification Orbit Center
Bell opens a panel; items stack with unread glow; mark-all-read clears glow.
- Push Preview Card
Mobile-style push notification preview with app icon, title, body, time.
- Priority Banner Alert
Full-width priority banner (info/warn/critical) with slide-in and auto-dismiss.
- Badge Bloom Counter
Numeric badge that blooms and scales when the count changes.
- Inbox Row Notifier
Dense notification feed row with glyph, title, meta, relative time, hover actions.