# Filter.

## What does the pattern do?

- Supports users in narrowing down.

## When should the pattern be used?

- When users want to restrict their input (e.g. to primary sources) or output (e.g. format).

## Recommendation

- Closely related to parameters. Check which one makes more sense.
- Use filters that are relevant.
- Consider which order makes sense, e.g. what is filtered most often, should come first.

## Example

 ![Example for a filter](https://digital.sbb.ch/assets/images/patternlibrary/components/en/pattern_filter_light_en.webp "Pattern filter")

## Specifications

[Design](https://www.figma.com/design/ASKJJ0RgQNp0TAhXBpLmXd/AI-Patterns-Documentation?node-id=2235-16712)

---

Source: https://digital.sbb.ch/en/design-system/patternlibrary/patterns/filter/
