Work Side Menu
Side menu variant for worker applications.
Props
heading
string
The application name displayed in the header.
url
string
URL for the header link. Clicking the logo/heading navigates to this URL.
open
any
Controls whether the side menu is expanded or collapsed.
Defaults to
false.
testId
string
Sets a data-testid attribute for automated testing.
userName
string
User's name displayed in the profile section.
userSecondaryText
string
Secondary text displayed below the user's name, such as role or email.
Events
onUpdate
(event: Event) => void
_update
CustomEvent
onToggle
(event: Event) => void
_toggle
CustomEvent
Slots
primary
Named slot for content
secondary
Named slot for content
account
Named slot for content