A chronological feed of activity events. Supports a divider between items and RTL.
Loading demo: activity-real-world
npx sdaia-ui@latest add activity
import { Activity } from '@/components/ui/Activity';<Activity />An activity feed showing a list of recent events.
Loading demo: activity-default
Activity feed with dividers separating each event.
Loading demo: activity-divider
Props for the Activity component.
Prop | Type | Default | Required |
|---|---|---|---|
items | ActivityItemProps[] | - | required |
divider | boolean | false | optional |
rtl | boolean | false | optional |
dir | "ltr" | "rtl" | — | optional |
How this component behaves at the three system breakpoints. Spacing and type tokens switch automatically at 768px and 1280px.
| Screen | Behavior |
|---|---|
| Desktop (1280px and up) | A vertical feed that fills its container. Each item is up to 480px wide; descriptions and helper text wrap. |
| Tablet (768–1279px) | Same layout as desktop, with the tablet token values. |
| Phone (under 768px) | Below 768px each item is at most 320px wide. Names stay on one line and descriptions wrap. |