Zazz Design Framework
Components

Dropdown

A button-triggered menu on the Popover API with anchor positioning and native light-dismiss.

A dropdown is a .dropdown__popover (popover="auto") opened by a trigger with popovertarget. Menu items are ghost buttons. Place the panel with data-side and data-align; it light-dismisses natively.

Default

Loading components…

API

AttributeWhereValues
popovertargettriggerid of the .dropdown__popover
data-side.dropdown__popovertop, bottom, left, right
data-align.dropdown__popoverstart, center, end

On this page