Filters
FiltersLocationFilter
Standalone checkbox card for filtering by location strings.
Filters
The standalone filter cards are v-model components you can compose freely outside the sidebar.
Components
<XRdFiltersLocationFilter />
Standalone checkbox list card for selecting one or more location strings.
<XRdFiltersLocationFilter
v-model="selectedLocations"
:locations="['Downtown', 'Midtown', 'Uptown']"
/>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
modelValue | string[] | required | Array of currently selected location strings |
locations | string[] | required | Array of available location strings |
AI Context
category: Filters
package: "@xenterprises/nuxt-x-restaurants"
components:
- XRdFiltersLocationFilter
use-when: >
Embedding a standalone v-model location checkbox filter card outside
of the main sidebar panel in a restaurant explore or search context.
