An action group is a grouping of action buttons that are related to each other.
An action group can be either horizontal or vertical in its orientation. By default, an action group is horizontal. The vertical option should be reserved for when horizontal space is limited.
Action groups come in four different sizes: small, medium, large, and extra-large. The medium size is the default and most frequently used option. Use the other sizes sparingly; they should be used to create a hierarchy of importance within the page.
Action groups come in 2 densities: regular and compact. The compact density retains the same font and icon sizes, but has tighter spacing. The action buttons also become connected for non-quiet action groups.
An action group can become justified. By default, it is not justified since the action button size depends on the label and/or icon inside each button. When an action group is justified, it takes up the entire available container width, divided equally for each action button that is inside the group.
By default, an action group uses not-quiet action buttons. This style works best in a dense array of controls where the background helps to separate action buttons from the surrounding container, or to give visibility to isolated buttons.
Alternatively, quiet action groups can have no visible background until they’re interacted with. This style works best when a clear layout (vertical stack, table, grid) makes it easy to parse the buttons. Too many quiet components in a small space can be hard to read.
By default, selection is not enabled in an action group. This is used for action groups that offer direct actions, rather than toggling.
Selection can be enabled for an action group to allow for toggling. This can be used to disclose parts of an interface (e.g., showing or hiding panels) or to switch between views (e.g., grid or list views).
When selection is enabled, an action group can allow for single or multiple selection of action buttons.
Like action buttons, action groups are not emphasized by default. This is optimal for when the action group is not the core part of an interface, such as in application panels, where all components are monochrome in order to direct focus to the content.
The emphasized action group has a blue background for its selected state in order to provide a visual prominence that meets the accessible color contrast ratio. This is optimal for when the selection should call attention, such as within a tool bar.
When selection is enabled, an action group's selection behavior can be set to allow for an empty selection, or not.
When space is limited in an action group, there are 2 options for the group's overflow behavior: wrap or collapse. By default, an action group is set to wrap, meaning that the action buttons inside the group wrap to form another line. Alternatively, an action group can be set to collapse inside a More (...) action button.
A action group in a disabled state shows that the action buttons within the group exist, but are not available in that circumstance. This state can be used to maintain layout continuity and to communicate that an action group may become available later.
From the design point of view, each component has a number of options. These options and their names are platform agnostic, and each implementation should adapt these to fit into their framework.
Property | Values | Default value |
---|---|---|
orientation | horizontal / vertical | horizontal |
size | small / medium / large / extra-large | medium |
density | regular / compact | regular |
is justified | yes / no | no |
is quiet | yes / no | no |
is emphasized | yes / no | no |
enable selection | yes / no | no |
selection mode | single / multiple Only applicable if selection is enabled | single |
allows empty selection | yes / no Only applicable if selection is enabled | no |
overflow mode | wrap / collapse | wrap |
is disabled | yes / no | no |
For RTL (right-to-left) languages, the layout of the action group is mirrored.
Key | Interaction |
---|---|
Right Arrow / Down Arrow | Moves focus to the next button in the group. |
Left Arrow / Up Arrow | Moves focus to the previous button in the group. |
A theme is an intentional, systematic customization of Spectrum. It has unique visual attributes. For more information, view Theming.
Action groups in Spectrum for Adobe Express have added spacing between action buttons in the compact option. Other attributes stay the same across themes.
Date | Number | Notes |
---|---|---|
Sep 12, 2022 | 8.0.0 |
|
Apr 06, 2022 | 7.0.0 |
|
Feb 07, 2022 | 6.1.0 |
|
Sep 15, 2020 | 6.0.0 |
|
Includes all interactive states that are applicable (hover, down, focus, keyboard focus, disabled).
Works properly across all four color themes (lightest, light, dark, darkest).
Includes a desktop scale (UWP, macOS, web desktop) and a mobile scale (iOS, Android, web mobile).
Color is not used as the only visual means of conveying information (WCAG 2.0 1.4.1).
Text has a contrast ratio of at least 4.5:1 for small text and at least 3:1 for large text (WCAG 2.0 1.4.3).
Visual information required to identify components and states (except inactive components) has a contrast ratio of at least 3:1 (WCAG 2.1 1.4.11).
UI language and information design considerations have been incorporated into component design.
Includes relevant options (variant, style, size, orientation, optional iconography, decorations, selection, error state, etc.)
Includes guidelines for keyboard focus, layout (wrapping, truncation, overflow), animation, interactions, etc.
Includes a list of dos and don'ts that highlight best practices and common mistakes.
Includes content standards or usage guidelines for how to write or format in-product content for the component.
Works properly across various locales and includes guidelines for bi-directionality (RTL).
Follows WCAG 2.0 standards for keyboard accessibility guidelines and includes a description of the keyboard interactions.
All design attributes (color, typography, layout, animation, etc.) are available as design tokens.
Includes a downloadable XD file that shows multiple options, states, color themes, and platform scales.
Includes a downloadable XD file, generated by code using design tokens defined in Spectrum DNA, and shows multiple options, states, color themes, and platform scales.
Component is included in the Spectrum for Adobe XD plugin.