title string 'Filters' Name title Description Type string Default 'Filters' description string — Name description Description Where the filters apply, such as the department and category; the result count follows it.
Type string Default — results* number — Name results Description How many products the current filters leave.
Type number Default — priceMin* number — Name priceMin Description The low end of the price slider, in minor units.
Type number Default — priceMax* number — Name priceMax Description The high end of the price slider, in minor units.
Type number Default — priceStep number 100 Name priceStep Description How far one step moves the price slider, in minor units.
Type number Default 100 currency string 'EUR' Name currency Description ISO 4217 code the price range is shown in.
Type string Default 'EUR' precision number 2 Name precision Description Decimal places of the currency; amounts are in its minor unit, so 2 means cents.
Type number Default 2 defaultOpen string [] [ 'price' ] Name defaultOpen Description The accordion items open at first: price and any group's value.
Type string [] Default [ 'price' ] priceLabel string 'Price' Name priceLabel Description Shown on the accordion item that holds the price slider.
Type string Default 'Price' priceToLabel string 'to' Name priceToLabel Description Shown between the low and high price of the range.
Type string Default 'to' inStockLabel string 'In stock only' Name inStockLabel Description Shown beside the switch that hides sold-out products.
Type string Default 'In stock only' clearLabel string 'Clear all' Name clearLabel Description Shown on the button that clears every filter.
Type string Default 'Clear all' resultsLabel (( count : number ) => string ) count === 1 ? '1 result' : ` ${ count } results` Name resultsLabel Description Builds the result count under the heading from the number of products.
Type ( count : number ) : string Default count === 1 ? '1 result' : ` ${ count } results` showResultsLabel (( count : number ) => string ) count === 1 ? 'Show 1 result' : `Show ${ count } results` Name showResultsLabel Description Builds the text of the button that applies the filters from the number of products.
Type ( count : number ) : string Default count === 1 ? 'Show 1 result' : `Show ${ count } results` surface 'raised' | 'bare' 'raised' Name surface Description Bare drops the edge, shadow and inset, for a section placed inside another Card.
Type 'raised' | 'bare' Default 'raised' class ClassValue — Name class Description Classes added to the part's own element, after its recipe classes.
Type null | string | false | Record < string , any > | ClassValue [] Default — groups FiltersGroup [] [] Name groups Description The filter groups, one accordion item each, with their options' selection.
Type FiltersGroup [] Default [] price number [] — Name price Description The chosen price range as [ low , high ] in minor units; the full range when left out.
Type number [] Default — inStock boolean false Name inStock Description Whether only products in stock are shown.
Type boolean Default false