Components

BaseNavList

The navigation list of the app sidebars, with icons or coloured dots and counts shown as chips.

components/ui/BaseNavList.vue
View in the demo

Example


Folders

Email folders and labels, the todo lists and the file manager sections and folders all render it, so the app sidebars share one design. The active row takes the primary colour and its count turns into a primary chip; the other counts stay neutral.

Use BaseSectionNav instead for the sections of a page such as settings: it has a neutral active row and turns into a select on small screens.

Items

Field
Description
valueThe id sent with select.
titleThe row text.
iconA Lucide icon.
dotA colour for a BaseDot instead of the icon, for folders. It keeps the text aligned with the icon rows.
colorTints the icon and the active row, for coloured labels.
countA counter shown as a chip at the end of the row.
activeMarks the row as the current one (aria-current="page").
dividerDraws a divider before the row.

API

Props

Name
Type
Default
Description
items
required
BaseNavListItem[]—The rows.
titlestring—A small uppercase heading above the list. It also names the list when label is missing.
labelstring—The accessible name of the list.
hide-zerobooleanfalseHides counts that are 0, as the email folders do.

Events

Name
Payload
Description
@select[value: string]The value of the row the user picked.
© 2026 melsami UI.
Developer documentation for melsami UI.