Skip to main content
196

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Apple docs
Data displayApple

Schedule

Present timed native day columns with all-day bands and overlap lanes.

Public APILumenScheduleApple / 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 Schedule

Hosts own civil-day conversion and rescheduling. Timed overlaps occupy lanes with minimum touch rectangles; dense days scroll horizontally. Accessible move requests are available; pointer drag rescheduling is absent.

Schedule rendered in the iPhone simulator Lumen playground
Captured exampleiPhone simulator
swift
LumenSchedule("Project schedule", selectedDay: $day, events: events)

Reference

Public API

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

APIValues or typeDefaultDescription
selectedDay / eventsControlled civil day / LumenAgendaEvent recordsRequiredControls the first day and host event dataset.
dayCount / startHour / endHourBounded integers7 / 8 / 18Sets a one-to-seven-day civil wall-clock window.
onEventPress / onEventMoveOptional callbacksStatic presentationRequests host detail or rescheduling actions without dataset mutation.

Native behavior

Design and accessibility

When to use it

Hosts own civil-day conversion and rescheduling. Timed overlaps occupy lanes with minimum touch rectangles; dense days scroll horizontally. Accessible move requests are available; pointer drag rescheduling is absent.

Accessibility

Localized event day/time names, collision-safe native targets and accessible move controls.

Shared component

Available on other platforms

React NativeAndroid / Compose
Apple docsSwiftUI package