Advanced

Options Cycle

Allows to cycle through an ordered list of options using right-left arrow buttons.

View source

Props

NameTypeDefaultDescription
idrequiredstring
optionsrequiredReactNode[]
buttonClassNamestring
classNamestring
isInlineboolean
nextClassNamestring
onChangeOption(index: number) => void
previousClassNamestring
startAtnumber
wrapAroundboolean

Examples

No guidelines exist for OptionsCycle yet.

Create guidelines