pattern-library checked
MOJ Design System Filter
Documents filtering lists and search results, including selected filters, clear filters, apply behavior, and research notes from live services.
Pattern Decisions This Source Supports
| Pattern | Supported decision | Required contract | Claim note |
|---|---|---|---|
| Faceted search | Choose faceted search when users need to progressively narrow a large set by multiple attributes. | Applying or removing a facet updates the result count and preserves visible applied filters. | MOJ filter guidance supports visible selected filters, clear filters, apply behavior, and filtering lists or search results. |
| Filter panel | Choose a filter panel when users need grouped controls for narrowing the current result set by several criteria. | Each filter category has a clear label and contains controls appropriate to the value type, such as checkboxes, radios, ranges, date fields, or text fields. | MOJ guidance documents selected filters, clear filters, apply behavior, and grouped filtering for lists or search results. |
| Filter reset that clears unrelated search | Flag this anti-pattern when a filter reset clears or changes query text, submitted search, search scope, saved search identity, search history, sort order, page size, view mode, selected rows, or route context that is not visibly part of the filters. | Every reset control names the state it changes. | Documents selected filters, grouped controls, clear filters, and apply behavior for search result lists. |
Evidence Role
This source is treated as pattern-library evidence. Use it to validate the decision rules above, not as a visual style reference.
Publisher: Ministry of Justice. Last checked: .