A segmented control is often used to switch between views of some data.
Use a segmented control only when the options are predefined and are at most
five options. If you need to present a lot of options to the user, consider
using another component such as
block property to fill the available width of the element that
contains the segmented control.