Skip to content

SidebarMenuBadge

Overview

A badge displayed at the right of a sidebar menu button. Tone controls the chromatic treatment: neutral auto-promotes to a sidebar-primary tint when the ancestor menu button is active; primary and destructive force the corresponding tint regardless of active state.

Theme entry: SidebarMenuBadge

Props

NameTypeRequiredDefaultDescription
themeOverrideString|Object|ArraynullA partial theme object merged with the component's default theme; accepts a class string, class array, or theme object.
classimport('vue').HTMLAttributes['class']undefinedAdditional CSS classes to apply to the root element.
tonestring"neutral"Chromatic tone of the badge.

Slots

default

Slot.

Source

client/lib/navigation/sidebar/SidebarMenuBadge.vue

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2