defmodule PyrauiWeb.DocsLive.LiveFeedDocs do use PyrauiWeb, :html def render(assigns) do ~H"""
Live feed component for scrollable real-time updates and notifications. Automatically scrolls to new items and tracks user scroll position.
<.live_feed id="notifications" items={@notifications} />
<.live_feed id="feed" items={@items} max_height="500px" auto_scroll={true} />
| Prop | Type | Default | Description |
|---|---|---|---|
| id | string | - | Unique ID for the feed |
| items | list | [] | List of feed items with :title, :content, :timestamp, :avatar |
| auto_scroll | boolean | true | Automatically scroll to new items |