The facet list pattern is used to present different types of filters. Typical use could be a listings page, such as a search, where results can be filtered.
A facet list can be used as standalone filter or grouped together to form a powerful filtering tool, making use of the different filter types available. This can be combined with the filter box pattern to further highlight which options have been selected at any given time.
A single list of options is shown and only one option should be selected at a time. Once an item is selected all other choices are hidden.
Example
Filter
This example shows 'Option 1' selected with all other options hidden.
Filter
Clear all
More than one option can be selected at a time with checkbox controls to denote which options are selected.
Example
Filter
This example shows 'Option 1' and 'Option 4' selected.
Filter
Clear all
This facet type only allows one item from the list to be selected at a time but all remaining non-selected options are still shown.
Example
Filter
This example shows 'Option 2' selected.
Filter
Clear all
This is used for nested options where the next level of choices are shown once their parent option has been selected. This example shows the options available within 'Category level 3' which has been selected from 'Category level 2' which in turn has been selected from 'Category level 1'.
Filter
Clear all
A long list of options can be shortened by hiding a number of items in a collapsing panel that is toggled by a button.
Filter
A 'badge' denoting how many results will appear, if an option is selected, is helpful to set users' expectations.
Filter
Clear all
A group of different lists can be combined using the accordion group pattern to form a complex series of filters. The following example shows two different types of filter combined into a single filter tool.
Filter
-
-
The following example shows a group of different lists with the first two lists containing selected items.