Reka UI logoReka
backdrop
PropDefaultType
as
'div'
AsTag | Component

The element or component this component should render as. Can be overwritten by asChild.

asChild
boolean

Change the default rendered element for the one passed as a child, merging their props and behavior.

Read our Composition guide for more details.

defaultValue
string

The value of the menu item that should be active when initially rendered.

Use when you do not need to control the value state.

modelValue
string

The controlled value of the sub menu item to activate. Can be used as v-model.

orientation
'horizontal'
'vertical' | 'horizontal'

The orientation of the menu.

EmitPayload
update:modelValue
[value: string]

Event handler called when the value changes.

Slots (default)Payload
modelValue
string

Current input values