Skip to content

Dropdown menu - CSS Component

The ActionMenu component can be used imported from:

Playground

Construction

The CSS component uses a <nav> tag with the z-action-menu HTML custom attribute.

z-action-menu

The z-action-menu parameter is the main parameter used to render the dropdown menu component.

The dropdown component also allows nested elements.

The dropdown items can be separated by a section heading.

Each item can have an icon.

Browser support

Detected engine:  

  • Chromium

  • Webkit

  • Gecko

HTML Examples

CodeSandbox example