filter-sheet

Filter Sheet

A product list whose filters open in a sheet that slides in, with sorting, search, option lists, price ranges, switches and ratings.

States: Default, Hover, Focus

Parts

PartFileDoes
FilterSheetFilterSheet.vueShows a product list with filters in a slide-in sheet, plus sorting and search.

Styling

PartRecipe
FilterSheetfilter-sheet
FilterSheettitle
FilterSheethint
FilterSheetclear-link

Install

Writes 3 files into components/templates/filter-sheet/. For agents, npx @frontic/ui docs filter-sheet prints this reference as markdown; the MCP server serves the same.

npm packages
@lucide/vue

Built from

API reference

FilterSheet FilterSheet.vue

Shows a product list with filters in a slide-in sheet, plus sorting and search. Renders a <div>.

PropTypeDefault
filtersUiFilter[][]
activeFiltersRecord<string, unknown>{}
sortOptionsUiSort[][]
activeSortingstring'default'
searchTermstring''
totalResultsnumber0
categorystring''
productsProduct[][]
currencystring'EUR'
localestring—
resultsLabel((count: number) => string)`${count} ${count === 1 ? 'product' : 'products'}`
filtersLabelstring'Filters'
sheetTitlestring'Filters'
sortPlaceholderstring'Sort by'
searchPlaceholderstring'Search products...'
resetLabelstring'Reset'
sortLabelstring'Sort by'
showResultsLabel((count: number) => string)`Show Results (${count})`
removeLabel((label: string) => string)`Remove ${label}`
activeFiltersLabelstring'Active filters'
clearAllLabelstring'Clear all'
emptyTitlestring'No products match these filters'
emptyTextstring'Remove a filter or clear them all to see more.'
loadMoreLabelstring'Load more'
swatchColorsRecord<string, string>{ ...DEFAULT_SWATCH_COLORS }
classClassValue—
openbooleanfalse
EventPayload
update:openvalue: boolean
reset—
addFilterfield: string, value: UiFilterValue
removeFilterfield: string, value?: string | undefined
sortResultsortBy?: string | undefined
loadMore—
update:searchTermterm: string
closeControl—
Recipe filter-sheetSets
base: filter-sheet 1 property
Recipe titleSets
base: title 1 property
Recipe hintSets
base: hint 2 properties
Example
State