Values
Automatically chooses the most appropriate picker style for the current context and platform.
Displays options as a segmented control with side-by-side buttons. Best for 2-5 options.
Displays options inline within the current view. Expands to show all options without navigation.
Displays options in a dropdown menu. Good for longer lists while conserving space.
Navigates to a separate screen to display options. Suitable for long lists in hierarchical navigation.
Displays options in a grid or palette layout. Useful for visual options like colors or icons.
Displays options as a vertical list of radio buttons. Clear for short to medium lists.
Displays options in a spinning wheel picker. Classic iOS-style picker for dates, times, or lists.
Usage
Platform Support
| Style | iOS | Web | Android | Notes |
|---|---|---|---|---|
| automatic | ✅ | ✅ | ✅ | Chooses platform-appropriate style |
| segmented | ✅ | ✅ | ❌ | Best for 2-5 options |
| inline | ✅ | ✅ | ❌ | |
| menu | ✅ | ✅ | ✅ | Dropdown on most platforms |
| navigationlink | ✅ | ❌ | ❌ | iOS-specific navigation pattern |
| palette | ✅ | ❌ | ❌ | |
| radiogroup | ✅ | ✅ | ✅ | |
| wheel | ✅ | ❌ | ❌ | Classic iOS-style picker |
