Layout
AppSidebarOptionItem
The link row of a menu entry, with its icon and badge.
components/layout/AppSidebar/AppSidebarOptionItem.vue
Internal part
This is an internal part of AppSidebarOption. You normally use it through AppSidebarOption, but it is documented so you can customise or reuse it.
API
Props
Name | Type | Default | Description |
|---|---|---|---|
id | string | — | The id used to mark it active. |
activator-id | string | — | The id of the element that activates the item, used when a group opens its children in a menu. |
icon | string | — | The Lucide icon. |
title | string | — | The label. |
route | string | — | The route. |
path | string | — | An absolute URL. |
badge | string | — | A small chip. |
child-ids | string[] | — | Children ids, for group rows. |