HTML id attribute
Additional CSS classes
Menu size variant
Active data item id; pass explicitly to slotted groups
Menu group maps with id, label, open and items
Brand map with label, icon, to and version
Fixed footer text hidden in the icon rail
Own a persistent, collapsible child LiveView
Parent LiveView socket, required in sticky mode
Accessible label for the menu nav
Enable the client-owned icon rail and toggle
Initial collapsed state, or authoritative state when collapse_controlled is enabled
Apply host-owned collapsed updates instead of localStorage preferences
Optional bubbling CustomEvent name for user toggles; detail contains id and collapsed
Optional localStorage key for collapse state
Accessible expand button label
Accessible collapse button label
Fixed brand/header area outside the scrolling menu
Fixed footer content above the built-in collapse toggle
Menu title displayed as a section heading
title CSS classes
<:title>Menu with Active State</:title> <:menu> <.dm_left_menu_group active="components"> <:title>Pages</:title> <:menu id="dashboard" to="#dashboard">Dashboard</:menu> <:menu id="components" to="#components">Components</:menu> <:menu id="settings" to="#settings">Settings</:menu> </.dm_left_menu_group> </:menu>
Menu content, typically dm_left_menu_group components
<:menu> <.dm_left_menu_group active="components"> <:title>Pages</:title> <:menu id="dashboard" to="#dashboard">Dashboard</:menu> <:menu id="components" to="#components">Components</:menu> <:menu id="settings" to="#settings">Settings</:menu> </.dm_left_menu_group> </:menu>