Skip to main content
196

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Apple docs
Data displayApple

Agenda

Present chronological timed and all-day events under civil-day headings.

Public APILumenAgendaApple / SwiftUISwift product: LumenUI

Apple availability

Supported native targets

Import LumenUI in the target that uses this component. iPad support follows the iOS package baseline and uses native iPad layout behavior.

iPhone · iOS 16+iPad · iPadOS 16+Mac · macOS 13+Apple Vision · visionOS 1+

Native example

Use Agenda

Hosts control the first selectedDay, event dataset and timezone conversion. Timed interval ends are exclusive; all-day civil endpoints are inclusive.

Agenda rendered in the iPhone simulator Lumen playground
Captured exampleiPhone simulator
swift
LumenAgenda("Project agenda", selectedDay: $day, events: events)

Reference

Public API

The primary shared and platform-specific options exposed by LumenAgenda.

APIValues or typeDefaultDescription
selectedDay / eventsControlled civil day / LumenAgendaEvent recordsRequiredRetains host ownership of stable values and callbacks.

Native behavior

Design and accessibility

When to use it

Hosts control the first selectedDay, event dataset and timezone conversion. Timed interval ends are exclusive; all-day civil endpoints are inclusive.

Accessibility

Localized labels, native controls, selected or disabled state and safe loading/error/empty presentation.

Shared component

Available on other platforms

React NativeAndroid / Compose
Apple docsSwiftUI package