Interests PickerNew
A first-run step for picking topics: wrapping chips by section, a search that filters, a count that rolls, and Continue at the minimum.
Pro pattern · recorded from Pro
The SwiftUI source comes with SwiftPieces Pro.
Every Pro pattern installs with one command once your license is signed in, and re-skins with Pro's design system.
Open it in the Pro library ↗Needs a SwiftPieces Pro license: npx swiftpieces login first.
- Type
- InterestsPicker
- Inside
- Wrapping topic chips, Pick count, Topic search, Minimum and maximum
- Install, with a Pro license
- npx swiftpieces add InterestsPicker
- Depends on
- Pro's Design System, which installs with it
Topics as chips with a symbol and a label, grouped under section titles in a flow layout that fits any width and text size. Picked chips take a light accent tint with a check, the count rolls, a search filters as it's typed, and the button counts down Pick 2 more until the minimum turns it into Continue, which runs your closure through working, done and failed. An optional maximum steps the other chips back.
Its SwiftUI source comes with SwiftPieces Pro: Interests Picker in the Pro library.