screens/DSActivityFeed

DSActivityFeed

screens
since 0.1.0

Vertical event feed with avatar, event type icon, description, and timestamp. Supports grouping by date.

iOS 17+macOS 14+watchOS 10+tvOS 17+visionOS 1+

Purpose

Audit logs, collaboration activity, and in-app notification history.

Interactive Reference

Live showroom

Need the full visual surface?

Screenshots do not scale well across every component, state, and variant. For the real interactive reference, import the package and launch DSShowcaseRoot().

Best for exploring:

variants, states, categories, and real app examples in one place.

Props

PropTypeDefaultDescription
eventsreq[DSActivityEvent]โ€”Feed events (type, actor, title, optional detail, timestamp).
titleString"Recent Activity"Feed heading.
showTimelineBooltrueDraws the vertical timeline connector.

Examples

Project activity

Activity timeline for a project.

swift
DSActivityFeed(
    events: [
        DSActivityEvent(type: .commit, actor: "Ana Lima", actorInitials: "AL", title: "pushed 3 commits to main"),
        DSActivityEvent(type: .review, actor: "Bruno", actorInitials: "BR", title: "approved PR #47",
                        detail: "Looks good to me!", timestamp: .now.addingTimeInterval(-3600)),
        DSActivityEvent(type: .deploy, actor: "CI", actorInitials: "CI", actorColor: DSColor.success,
                        title: "deployed v0.1.0 to production"),
    ],
    title: "Recent activity"
)

Related Components