The navigation components are lists of links that allow users to move throughout the application. Both the primary and secondary navigation display in the sidebar.
Fired when the group’s expanded state changes after opening or closing the in-flow submenu. Not emitted when the collapsed-sidebar flyout opens or closes.
true
certaraSidebarGroupRequestOpen
Fired when this group is about to open its in-flow submenu (before expanded becomes true). The source detail is this group’s host element; certara-sidebar listens when accordion is enabled to close sibling groups. Not emitted for collapsed-sidebar flyouts.
Whether this row is the active / current route (reflected for styling).
collapsedTooltip
Attribute
collapsed-tooltip
Type
string
Default
undefined
Required
false
Description
Tooltip when the sidebar is collapsed. Omit when the row does not need a tooltip (e.g. icon-only items).
disabled
Attribute
disabled
Type
boolean
Default
false
Required
false
Description
Disables the inner <a> or <button> (and omits href on anchors when true).
hidden
Attribute
hidden
Type
boolean
Default
false
Required
false
Description
When true, sets the hidden attribute on the inner <li> and hides the row (see _wc-sidebar.scss). React usage: hidden={condition}. HTML may use hidden on the tag; it is not reflected onto the host to avoid display: contents + host hidden which is unreliable (visibility, a11y tree, focus, whether the subtree actually disappears from layout).
href
Attribute
href
Type
string
Default
undefined
Required
false
Description
URL for <a href> when the row resolves to an anchor (interaction="anchor", or auto with href set). Not used for <button> or interaction="custom".
interaction
Attribute
interaction
Type
"anchor" | "auto" | "button" | "custom"
Default
'auto'
Required
false
Description
How the row’s interactive control is chosen. See component overview: auto uses href to pick <a> vs <button>; anchor / button force one or the other; custom leaves the control to the default slot.
label
Attribute
label
Type
string
Default
undefined
Required
false
Description
Plain-text row label. When set, use the default slot for leading content only (e.g. icon). Renders a .menu-text span unless you override with slot="label" for rich markup. When omitted, the default slot may contain the full row as before.
target
Attribute
target
Type
string
Default
undefined
Required
false
Description
Passed to <a target> when the resolved control is anchor. Ignored for <button> and custom.
type
Attribute
type
Type
"button" | "reset" | "submit"
Default
'button'
Required
false
Description
Native <button type="..."> when the resolved control is button. Ignored for <a> and for interaction="custom".