PPowerApps UI
ComponentsLayoutsTemplatesAppsAbout
P
PowerApps UI
Open Source

Production-ready UI components and patterns for Power Apps developers.

MIT License

Product

  • Components
  • Layouts
  • Templates
  • Apps
  • About
  • Cheat Sheet
  • Documentation

Developers

  • Getting Started
  • Suggest Idea
  • Submit Component
  • Report Issues

Resources

  • Changelog
  • Newsletter
  • Best Practices
  • Design System
© 2026 PowerApps UI. Open source under MIT License.
Built byRodas Yonass
Privacy Policy•Terms of Service•MIT License
ComponentsActivity Timeline

Activity Timeline

Timeline-style activity log with category filtering, inline email sub-details, configurable icon mapping, skeleton loading, and full light/dark theming. Built for case management, CRM, and approval tracking screens.

activity-timeline.yaml
  1. 1. Go to the Components tab (right side panel, next to Screens)
  2. 2. Click New component — this creates a blank component
  3. 3. Click outside the new component to deselect it
  4. 4. Paste the YAML with Ctrl+V / ⌘V

Power Apps Studio rendering note

After importing, the component may appear incomplete in the Studio editor until you press F5 (Preview) or publish. This is standard Power Apps behavior for YAML-imported components — the editor doesn't fully evaluate nested gallery templates until a preview cycle. End users always see the fully rendered component.

Preview

All Activities
6 entries
Comment Added
I've reviewed the technical requirements. Looks good to proceed.
Sarah Johnson
Today 2:30 PM
Email Notification Sent
Request for Technical Review
Jordan Mitchell
Nov 14, 2024 3:45 PM
To:Sarah Johnson, Mike Chen
CC:Lisa Park, Director Office
Priority:High
Please review the attached technical specifications for the VNS Upgrade project. We need approval by end of week.
Document Uploaded
System_Architecture.png
Mike Chen
Nov 14, 2024 11:20 AM
Task Assigned
Taylor Bennett assigned to Technical Review
System
Nov 12, 2024 9:00 AM
Phase Completed
Budget Review completed
System
Nov 10, 2024 2:30 PM
Workflow Started
FRM Competitive workflow initiated
Jordan Mitchell
Nov 8, 2024 9:15 AM

Properties

Input

PropertyTypeDefault
Items

Audit trail entries. Schema: EventTitle, EventDescription, Author, DisplayDateTime, Category (must match FilterOptions/IconMap), HasSubDetail, SubTo, SubCC, SubPriority, SubMessage. Cards size themselves to their content, so cap long SubMessage values at the source if you need a bounded row height.

Table12 sample entries
FilterOptions

Table of {Value: Text} rows for the filter dropdown. Values must match Category values in Items and IconMap.

Table6 categories
IconMap

Maps Category values to icon types and dot colors. Case-insensitive. Include a "default" row. IconType values: comment, email, document, person, checkbadge, check, workflow, folder.

Table6 mappings
Theme

"Light" or "Dark" theme mode.

Text"Light"
ThemeConfig

Complete light and dark theme token sets with background, surface, border, rail, text, and HTML color values. Override to customize.

RecordLight + Dark tokens
IsLoading

When true shows skeleton placeholder cards instead of data.

Booleanfalse
HideHeader

When true hides the toolbar with filter, entry count, and action buttons.

Booleanfalse
CardHeight

Minimum height of a standard entry card with no sub-detail. Cards grow past this to fit their content.

Number104
SubDetailCardHeight

Minimum height of an entry card with the sub-detail panel (email preview). Also sets the sub-detail block’s initial height before it measures its content. Cards grow past this.

Number224
ShowScrollbar

When true shows the scrollbar on the timeline gallery.

Booleanfalse

Output

PropertyTypeDescription
SelectedItemRecordThe last tapped audit trail record with all fields.
ActiveFilterTextThe currently selected filter value from the dropdown.

Events

EventDescription
OnItemSelectFires when an audit trail card is tapped. SelectedItem is populated before firing.
OnExportFires when the export button in the toolbar is tapped.
OnPrintFires when the print button in the toolbar is tapped.

Implementation Details

Timeline layout

Vertical VariableHeight gallery with a 2px rail line connecting category-colored dots. Each entry card sits to the right of the rail and auto-sizes to its content — the title, description, and (when present) the email sub-panel wrap and grow, and the tap overlay and rail line follow the card height. CardHeight and SubDetailCardHeight act as minimum heights.

Icon mapping

The IconMap table maps each Category to an IconType string and a DotColor RGBA value. The component resolves the icon SVG internally via a Switch on IconType. The dot on the timeline rail uses the DotColor.

Filtering

The dropdown is driven by the FilterOptions table. Selecting a filter value shows only entries where Category = ActiveFilter. The first option should be an “All” value that bypasses the filter.

Sub-detail cards

Entries with HasSubDetail = true render an HTML text control below the main card showing To, CC, Priority, and Message fields. The card's minimum height comes from SubDetailCardHeight (instead of CardHeight) and grows to fit the message.

The full SubMessage is rendered, so a very long body produces an oversized card and can hurt gallery scroll performance. Cap it where you shape the data, e.g. SubMessage: Left('Message Body', 300) inside an AddColumns over your source.

Examples

Basic usage (light theme)

Comments
1 entries
Comment Added
I've reviewed the technical requirements. Looks good to proceed.
Sarah Johnson
Today 2:30 PM
cmpActivityTimeline.Items: YourDataSource
cmpActivityTimeline.Width: Parent.Width
cmpActivityTimeline.Height: 600
cmpActivityTimeline.Theme: "Light"

Dark theme with email sub-detail

All Activities
6 entries
Comment Added
I've reviewed the technical requirements. Looks good to proceed.
Sarah Johnson
Today 2:30 PM
Email Notification Sent
Request for Technical Review
Jordan Mitchell
Nov 14, 2024 3:45 PM
To:Sarah Johnson, Mike Chen
CC:Lisa Park, Director Office
Priority:High
Please review the attached technical specifications for the VNS Upgrade project. We need approval by end of week.
Document Uploaded
System_Architecture.png
Mike Chen
Nov 14, 2024 11:20 AM
Task Assigned
Taylor Bennett assigned to Technical Review
System
Nov 12, 2024 9:00 AM
Phase Completed
Budget Review completed
System
Nov 10, 2024 2:30 PM
Workflow Started
FRM Competitive workflow initiated
Jordan Mitchell
Nov 8, 2024 9:15 AM
cmpActivityTimeline.Theme: "Dark"
cmpActivityTimeline.Items: Table(
    {
        EventTitle: "Email Sent",
        EventDescription: "Request for Review",
        Author: "Jordan Mitchell",
        DisplayDateTime: "Nov 14 3:45 PM",
        Category: "Emails",
        HasSubDetail: true,
        SubTo: "Sarah Johnson",
        SubCC: "Lisa Park",
        SubPriority: "High",
        SubMessage: "Please review..."
    }
)

Custom icon mapping

Documents
1 entries
Document Uploaded
System_Architecture.png
Mike Chen
Nov 14, 2024 11:20 AM
cmpActivityTimeline.IconMap: Table(
    {Category: "Notes",
     IconType: "comment",
     DotColor: RGBA(124,58,237,1)},
    {Category: "Calls",
     IconType: "person",
     DotColor: RGBA(37,99,235,1)},
    {Category: "Uploads",
     IconType: "document",
     DotColor: RGBA(217,119,6,1)},
    {Category: "default",
     IconType: "comment",
     DotColor: RGBA(107,114,128,1)}
)

Event handling

Tasks
1 entries
Task Assigned
Taylor Bennett assigned to Technical Review
System
Nov 12, 2024 9:00 AM
cmpActivityTimeline.OnItemSelect: |
    Notify(
        "Selected: " &
        cmpActivityTimeline
            .SelectedItem.EventTitle,
        NotificationType.Information
    )

cmpActivityTimeline.OnExport: |
    // Export logic

cmpActivityTimeline.OnPrint: |
    // Print logic

Get new components and templates when they drop

One email when something new ships. Unsubscribe anytime.

Used in these templates & layouts

Approval WorkflowTemplateRecord BrowserTemplate

Community

Use the toolbar to format · or type markdown directly