Skip to content

MenuBadge

type MenuBadge =
    {
        Label: string
        Kind: string
    }
AssemblyNacara.Theme.Default

A mark beside a menu entry: new, deprecated, whatever a site needs to say.

Kind is the styling hook rather than the text, so a badge reading "Nouveau" can still be coloured as new. The theme knows new, updated, experimental, beta and deprecated; anything else is drawn neutrally.

Fields

Label: string
Kind: string