<Segment />

Segment component.

Tutorial

Props

Name Type Default Value Description
index number The index of the button to highlight. Optional.
tabbarId string ID of the <Tabbar> to “connect” to the segment. Optional.
modifier string The appearance of the segment. Optional.
onChange function Called when the active button changes. Optional.

Preset Modifiers

Name Description
material Material Design segment

Discussion

Need Help?

If you have any questions, use our Community Forum or talk to us via Gitter chat. The Onsen UI team and your peers in the community will work together to help solve your issues.

For bug reports and feature requests use our GitHub Issues page.