logo-icon
STW UI

Feed

Feed is a vertical display of content.

Usage

svelte
import { Feed } from 'stwui';
// OR
import Feed from 'stwui/feed'; // for tree shaking

Avatar Dropdown

Feed Slots

default <Feed.Item />

Feed.Item Slots

connector <Feed.Item.Connector slot="connector" />
leading <Feed.Item.Leading slot="leading" />
content <Feed.Item.Content slot="content" />
datetime <Feed.Item.DateTime slot="datetime" />

Feed.Item.Leading Slots

icon <Feed.Item.Leading.Icon slot="icon" />
avatar <Feed.Item.Leading.Avatar slot="avatar" />
default

Feed.Item.Leading.Avatar Props

src string
alt string user-avatar
size 'xs' | 'sm' | 'md' | 'lg' | 'xl' sm
placeholder boolean true

Feed.Item.Leading.Icon Props

data string (IconData)
viewBox string 0 0 24 24
size string 24px
width string 24px
height string 24px
color string currentColor
stroke string | undefined
fill string currentColor

Feed.Item.Content Slots

default

Feed Class Identifiers

stwui-feed
stwui-feed-item
stwui-feed-item-leading-wrapper
stwui-feed-item-leading-icon
stwui-feed-item-leading-avatar-wrapper
stwui-feed-item-leading-avatar
stwui-feed-item-leading-avatar-placeholder
stwui-feed-item-content
stwui-feed-item-datetime