SwiftUI: Building Chips with autolayout container
How to implement Material Components Choice Chips with SwiftUI?
1 min readJun 26, 2020
Chips UI is part of material design. They are widely used as onboarding component including medium’s Home page. First we going to understand what required to make a good chips UI.
Requirement
- Chips View, which includes Image and Text
- Select and unselect gesture
- An auto layout container, Which can layout chips