IconLogoMark
IconUiExpandCollapseDown

Release NotesIconUiExpandCollapseDown

ComponentsIconUiExpandCollapseDown

AvatarsIconUiExpandCollapseDown
ButtonsIconUiExpandCollapseDown
Data VisualizationIconUiExpandCollapseDown
DialogsIconUiExpandCollapseDown
IconsIconUiExpandCollapseDown
ModulesIconUiExpandCollapseDown
NotificationsIconUiExpandCollapseDown
ThemesIconUiExpandCollapseDown
TypeIconUiExpandCollapseDown

GuidelinesIconUiExpandCollapseDown

PatternsIconUiExpandCollapseDown

WordsIconUiExpandCollapseDown

ResourcesIconUiExpandCollapseDown

Parent Checkbox

/

Design

Select multiple items based on their relationship.

In certain cases, there are so many options within a category that make orgnization tricky. The parent checkbox's responsibility is to maintain the parent-child relationship for selection clearly.

IconWarning
Version 5+
If using Uniform Version 5 or later, please refer to our Storybook docs for the Parent Checkbox documentation and examples.

Size

The parent checkbox comes in all of our four available sizes, x-small, small, medium and large.

X-small: Only use this when you really need to squeeze, like in a sidebar.

State

A parent checkbox’s state depends on the interaction itself or a submission error.

  • Default: The focus state is sorted for you, so anyone navigating via keyboard or screen reader is set.
  • Indeterminate: The indeterminate state will appear when any one child option is chosen, but the related parent is not.
  • Disabled: This prevents the user from interacting with a field until certain conditions are met. Should be used sparingly, but a good way to prevent invalid submissions.

Microcopy

Labels

A label should clearly and concisely describe the parent-child relationship in no more than a few words.

Don't make the label a complete sentence telling the user what to do.

Don'tmake the label a complete sentence telling the user what to do.

Do name exactly what belongs in that relationship.

Doname exactly what belongs in that relationship.

Check UI label guidelines for more detail on case and punctuation.

Nesting Relationships

When nesting selectable items, be clear why or how the nested items are related to their parent.

Don't use nesting to indent selectable items without reason.

Don'tuse nesting to indent selectable items without reason.

Do maintain a clear parent-child relationship between all nested items.

Domaintain a clear parent-child relationship between all nested items.

Accessibility

Audit Results

See our full accessibility audit for more information about these results.

PlatformVisualInteractiveAutomatedDetails
ReactIconConfirmation PassIconConfirmation PassIconConfirmation Pass

Platform

platformnotes
Web
  • Stick to the guidelines above.
Apple
  • Stick to the guidelines above.
Android
  • Stick to the guidelines above.