Picker

Basic example

let pickerItems =
    [ ("Aqua", Color.Aqua); ("Black", Color.Black);
      ("Blue", Color.Blue); ("Fucshia", Color.Fuchsia);
      ("Gray", Color.Gray); ("Green", Color.Green);
      ("Lime", Color.Lime); ("Maroon", Color.Maroon);
      ("Navy", Color.Navy); ("Olive", Color.Olive);
      ("Purple", Color.Purple); ("Red", Color.Red);
      ("Silver", Color.Silver); ("Teal", Color.Teal);
      ("White", Color.White); ("Yellow", Color.Yellow ) ]

let pickedColorIndex = 2 // placeholder for demonstration purposes
View.ContentPage(title ="Picker", content =
    View.Picker(
        title = "Choose Color:",
        textColor = snd pickerItems.[pickedColorIndex],
        selectedIndex = pickedColorIndex,
        items = List.map fst pickerItems
    )
)

See also:

More examples