Left Menu

Attribute Type Documentation Default Value
id :any

html attribute id

Read more Read less
false
class :any

html attribute class

Read more Read less
""
active :string ""
title :slot

Render menu title.

Show slot attributes Hide slot attributes
class :any
<:title>Menu Demo Components</:title>
menu :slot

Render menu

Show slot attributes Hide slot attributes
class :any
<:menu><a>Dashboard</a></:menu>
<:menu>
  <h2 class="menu-title">Title</h2>
  <ul>
    <li><a>Submenu 1</a></li>
    <li><a>Submenu 2</a></li>
  </ul>
</:menu>
<:menu>
<a>Parent</a>
<ul>
  <li><a>Submenu 1</a></li>
  <li><a>Submenu 2</a></li>
</ul>
</:menu>
<:menu>
<details open>
  <summary>Parent</summary>
  <ul>
    <li><a>Submenu 1</a></li>
    <li><a>Submenu 2</a></li>
  </ul>
</details>
</:menu>