Skip to content

SidebarMenuButtonChild ​

Overview ​

Internal primitive element for SidebarMenuButton.

Theme entry: SidebarMenuButtonChild

Props ​

NameTypeRequiredDefaultDescription
themeOverrideObjectnullA partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants.
classimport('vue').HTMLAttributes['class']undefinedAdditional CSS classes to apply to the root element.
asstring|object"button"The element or component to render as.
asChildbooleanfalseWhen true, merges props onto the child element.
variantstring"default"The style variant.
sizestring"default"The size variant.
isActivebooleanfalseWhether the button represents the current active item.

Slots ​

default ​

Slot.

Source ​

client/lib/navigation/sidebar/SidebarMenuButtonChild.vue