Documentation

Clay Dropdown Menus and Action Menus

You can add dropdown menus to your app via the clay:dropdown-menu and clay:actions-menu taglibs. The Clay taglibs provide several menu variations for you to choose. Both taglibs with several examples are shown below.

Actions Menus

Basic actions menu:

<clay:dropdown-actions
	items="<%= dropdownsDisplayContext.getDefaultDropdownItems() %>"
/>

You can also create Actions menus with Clay taglibs.

An actions menu can also display help text to the user:

<clay:dropdown-actions
	buttonLabel="More"
	buttonStyle="secondary"
	caption="Showing 4 of 32 Options"
	helpText="You can customize this menu or see all you have by pressing \"more\"."
	items="<%= dropdownsDisplayContext.getDefaultDropdownItems() %>"
/>

You can provide help text in Actions menus.

Clay taglibs make it easy to add dropdown menus and action menus to your apps.