Layout

AppSidebarOption

Renders one menu entry: a section subheader, a link or a group with its children.

components/layout/AppSidebar/AppSidebarOption.vue
Internal part
This is an internal part of AppSidebar. You normally use it through AppSidebar, but it is documented so you can customise or reuse it.

API

Props

Name
Type
Default
Description
subheaderstring—Renders a section title instead of a link.
firstbooleanfalseRemoves the top margin of the first section.
childrenAppSidebarItemDetailProps[][]Child entries; turns it into a group.
idstring—The id used to mark it active.
activator-idstring—The id of the element that activates the item, used when a group opens its children in a menu.
iconstring—The Lucide icon.
titlestring—The label.
routestring—The route without the leading slash.
pathstring—An absolute URL that overrides route.
badgestring—A small chip after the label.
child-idsstring[]—The ids of its children, to highlight the group.
© 2026 melsami UI.
Developer documentation for melsami UI.