Content
View differences
Updated by Henriette Darge about 1 month ago
# **Acceptance criteria**
* The `SubHeader` SubHeader can handle quick filter components being passed in:
in
* There On mobile:
* The buttons do not collapse into icon-only variants but stay as they are
* If space is a boolean flag for running out, the buttons wrap
* The search bar to collapse collapses into an icon button. On click, the input is shown (like it is currently on mobile).
* There is a single slot: `all_filters_button` (name tbd)
* There is a multi value slot `quick_filters` (name tbd)
* When this is used, the `all_filters_button` is required
* The slot allows ActionMenus, Buttons, IconButtons, SelectPanels, and SegmentedControls
* On mobile:
* The `quick_filters` are hidden
* The search remains visible
* The `all_filters_button` collapses into a icon only button
**Visual reference**
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/920431/content">
**Out of scope**
* This does not include adding any kind of quick filter component
<br>
* The buttons do not collapse into icon-only variants but stay as they are
* If space
* The
* There is a single slot: `all_filters_button` (name tbd)
* There is a multi value slot `quick_filters` (name tbd)
* When this is used, the `all_filters_button` is required
* The slot allows ActionMenus, Buttons, IconButtons, SelectPanels, and SegmentedControls
* On mobile:
* The `quick_filters` are hidden
* The search remains visible
* The `all_filters_button` collapses into a icon only button
**Visual reference**
**Out of scope**
* This does not include adding any kind of quick filter component
<br>