SidebarMenuButton
Overview
A sidebar menu button that shows a tooltip when the sidebar is collapsed.
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| class | import('vue').HTMLAttributes['class'] | undefined | Additional CSS classes to apply to the root element. | |
| as | string|object | "button" | The element or component to render as. | |
| asChild | boolean | false | When true, merges props onto the child element. | |
| variant | string | "default" | The style variant. | |
| size | string | "default" | The size variant. | |
| isActive | boolean | false | Whether the button represents the current active item. | |
| tooltip | string|object | undefined | Tooltip content shown when sidebar is collapsed. Pass a string or component. |
Slots
default
Slot.
Source
client/lib/navigation/sidebar/SidebarMenuButton.vue