ColorPickerExample
ColorPickerExample copied to clipboard
Localization (RTL) issue
Of note, when displayed in a setting with a Right-to-left locale, the picker works backwards, i.e., a tap on the left side of the collection (where the color in the item is a light color) produces a dark color, and vice versa.
I suspect this can be remedied with an appearance().semanticContentAttribute = .forceLeftToRight but I have not yet tried this out.