Skip to content

Tabs ​

Last updated

Demo ​

tabs/demo.vue

Cloud: a little sky for YunLeFun.

Tabs use Reka UI for arrow/Home/End keyboard navigation and roving focus. Tokens define the indicator and appearance.

Props ​

PropDescriptionTypeDefault
v-modelCurrent tabstring—
itemsTabs { label, value, disabled? }TabItem[]—
orientationSide / orientationhorizontal | verticalhorizontal

Slots ​

Provide each panel with a slot named after its value, such as cloud or fun.

Readonly items are supported. Reka manages tab/panel ARIA associations. Arrows and Home/End move focus and select automatically, skipping disabled items. Use Segmented Control for filters without associated panels.