Skip to main content
196

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Apple docs
FormsApple

Calendar

Select bounded Gregorian civil dates in a controlled month grid.

Public APILumenCalendarApple / 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 Calendar

Hosts control visibleMonth and selectedDay. Civil date models avoid guessed timezone conversion; localize every date formatter.

Calendar rendered in the iPhone simulator Lumen playground
Captured exampleiPhone simulator
swift
LumenCalendar("Project calendar", visibleMonth: $month, selectedDay: $day)

Reference

Public API

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

APIValues or typeDefaultDescription
visibleMonth / selectedDayControlled civil day / optional civil dayRequiredRetains host ownership of stable values and callbacks.

Native behavior

Design and accessibility

When to use it

Hosts control visibleMonth and selectedDay. Civil date models avoid guessed timezone conversion; localize every date formatter.

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