SweetUI

Search items

Jump to an item

component

select

Adds chrome to menu-style Picker.

selectpickermenuformmodifier
select, light

On iPad

The same installed source at a regular width. It adapts its layout without a separate design.

select on iPad, light

Install

With the sweetui tool (brew install mangobyte-dev/tap/sweetui):

sweetui install select --destination Sources/YourFeature/Components

Installs in order: select 0.2.1. Point --destination at a folder inside the consuming target's sources.

Usage

@State private var currency = "KWD"

Picker("Currency", selection: $currency) {
    Text("Kuwaiti dinar").tag("KWD")
    Text("US dollar").tag("USD")
}
.registrySelect()

Accessibility contract

  • Menu, selection, dismissal, labels caller-owned.
  • 44pt height, visible disabled.
  • Dynamic Type, layout direction.

Details

Kindcomponent
Version0.2.1
PlatformsiOS 26.0+
Dependenciesnone
SourceRegistry/sources/components/RegistrySelectModifier.swift
Xcode previewSelect