--- nav-title: "SegmentedBar How-To" title: "How-To" description: "Examples for using SegmentedBar" --- # SegmentedBar Using a SegmentedBar requires the "ui/segmented-bar" module. ## Creating a SegmentedBar ``` XML ``` ### Creating segmentedBar.items It is important that an items array gets created and filled with items first and then assigned to the segmented bar. ### Selecting an item programmatically