Learn about visual thememore

Dropdown

Dropdown buttons display menus that group sets of actions or functions.

Demo

Link for section titled Usage
Usage

Use when

Use dropdowns when users require access to multiple, related actions or when users require access to multiple, unrelated actions and you do not have room for multiple buttons.

undefined
Do use dropdowns to let users access multiple actions.

Use context-menu dropdowns when actions affect individual items in a list.

For details on when to include a delete action in a context-menu dropdown, see the manage data guidelines.

undefined
Do use context-menu dropdowns with items in a list.

Use icon-only dropdowns when you do not have room for text labels. For example, use icon-only dropdowns in list toolbars when screen widths are narrow.

undefined
Do use icon-only dropdowns when you do not have space for labels.

Don't use when

Don't use dropdowns as form inputs. Use HTML <select> fields instead.

undefined
Don't use dropdowns as form inputs.

Link for section titled Anatomy
Anatomy

1
Dropdown button
2
Dropdown menu
3
Action
image

Link for section titled Options
Options

Button types

Default
undefined
Icon and text
undefined
Context menu
undefined
Icon only
undefined

Button styles

Dropdown buttons can use the default or primary styles inherited from SKY UX buttons. For details about when to use the primary style, see the primary action guidelines.

Link for section titled Behavior and states
Behavior and states

Behavior

The popover component defines the behavior of dropdown menus.

States

Dropdown buttons inherit the styling for states such as hover and disabled from SKY UX buttons.

Link for section titled Content
Content

Dropdown menu action text

For actions that clearly apply to the object associated with the context menu, use the following format for the action wording:

<Verb>

undefined

For dropdown buttons with one type of action, use the following format:

Button text: <Verb>

Menu item: <Direct object>

undefined

For dropdown buttons with more than one type of action, use the following format:

Button icon: sky-i-ellipsis

Button text: More

Menu item: <Verb> <direct object>

undefined

In addition, follow these guidelines for button text:

  • Use sentence-style capitalization.
  • Use singular direct objects for actions that apply to one item and plural direct objects for actions that apply to multiple items.
  • Don't append extra words such as “details.” For example, use “Edit constituent” rather than “Edit constituent details.”

Link for section titled Layout
Layout

Placement

Place context-menu dropdowns to the left of all row-specific content but to the right of all list controls, such as expand-collapse actions in tree views and checkboxes in grids or repeaters.

Default dropdowns are positioned with the same alignment and margins as SKY UX buttons.

undefined
Do put context-menu dropdowns to the left of all row-specific content in lists.

Menu items

Organize menu items to place the most important or frequently used options at the top of the list and the least important or least frequently used items at the bottom.

Link for section titled Related information
Related information

Components

Guidelines