This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
DatePicker
A SwiftUI DatePicker component for selecting dates and times.
Expo UI DatePicker matches the official SwiftUI DatePicker API and supports styling via the datePickerStyle modifier.


Installation
If you are installing this in an existing React Native app, make sure to install expo in your project.
Date picker
Time picker
Date and time picker
With date range
Styling with modifiers
You can use the datePickerStyle modifier to change the appearance of the picker. Available styles are: automatic, compact, graphical, and wheel.
Disabled picker
You can make the picker non-interactive using the disabled modifier.
Custom locale
Apply the environment modifier with the locale key to display the picker in a specific locale.
Custom time zone
Apply the environment modifier with the timeZone key to display the picker in a specific IANA time zone.
API
import { DatePicker } from '@expo/ui/swift-ui';
Component
Type: React.Element<DatePickerProps>
Renders a SwiftUI DatePicker component.
DatePickerComponent[] • Default: ['date']The components to display: 'date' and/or 'hourAndMinute'.