Docs

Cinder UI

Navigation.menu

Server-rendered

Generic application menu list inspired by daisyUI’s menu primitive.

Supports vertical and horizontal layouts with active/disabled item states.

App menu

  <.menu>
  <:item href="/overview" active={true}>Overview</:item>
  <:item href="/settings">Settings</:item>
  <:item href="/billing" disabled={true}>Billing</:item>
</.menu>

Attributes

Name Type Default Values Global Includes
class :string
orientation :atom :vertical :vertical , :horizontal
rest :global

Slots

Slot Slot Attributes
item Required
href (:string)
active (:boolean)
disabled (:boolean)