Filters

Filters allow users to dynamically filter data and/or content. Through filtering, users can reduce the amount of information being displayed.

On this page

Anatomy

Filter Items Anatomy
NameDescriptionRequired
ContainerCard container allows users to display media, content and actions.Yes
Filter HeadingDisplays the title of the filter. Label best practice.Yes
Close Icon ButtonAllows users to dismiss the filter.Yes
List HeadingA descriptive label for the category of the list.Optional
Filter ItemsThe filter item options presented to the user.Yes
CTA FooterFooter is pinned to the bottom of the card often used to display a link or button depending on the use case.Optional
Scroll BarAllows users to navigate through overflow content.Optional

States

Filter Items States
StateDescription
DefaultWhen the filter is enabled and the user is not directly interacting with it.
HoverWhen a user’s cursor is over the filter’s field.
FocusA focus outline appears around the handle to help users identify current selected component. This is used when a user navigates using keyboard controls or uses a cursor.
PressedThe pressed state activates when an item in the filter list is selected.

Questions?

Connect with the DLS Team on Slack or by email.

Resources

Check out additional resources.