-
Notifications
You must be signed in to change notification settings - Fork 0
Facet Type Dropdown
SHEPDESIGN edited this page Jun 4, 2026
·
3 revisions
Single-select in a compact widget. Perfect for long lists and tight UIs.
A native <select> control with an "Any" default option and a match count beside each value. One value at a time — compact where checkboxes would eat real estate.
- Long lists (brands, makes/models, locations)
- Space-constrained sidebars
- Mobile-first layouts where checkboxes eat real estate
- Anywhere you'd reach for a
<select>in plain HTML
- Short, scannable lists where checkbox visibility helps decisions → use Checkbox
- Visual selections → use Color Swatch
{
"name": "brand",
"kind": "taxonomy",
"source": "product_brand",
"display": "dropdown",
"label": "Brand"
}| Field | Values | Default | What |
|---|---|---|---|
kind |
"taxonomy" | "meta" | "field"
|
— | Where the indexed values come from |
source |
string | — | The taxonomy slug or meta/field key |
The dropdown is single-select: it renders an "Any" option followed by one option per indexed value, each with a match count. It has no display-specific settings in 1.0.0.
?hof[brand]=nike
Single value. Selecting "Any" clears the param.
Single-select brand picker:
{ "name": "brand", "kind": "taxonomy", "source": "product_brand", "display": "dropdown" }Single-select country picker (meta source):
{ "name": "country", "kind": "meta", "source": "country_code", "display": "dropdown" }hooked on facets · Filtering, finally fun. · GitHub · hookedonfacets.com
Filtering, finally fun.
📖 docs
🧠 concepts
🎛️ facet types
- All Types
- Checkbox
- Radio
- Dropdown
- Range Slider
- Date Range
- Search
- Hierarchy
- Color Swatch
- Swipe Deck
- Spin the Wheel
- Intersection Matrix
- Ask
- Visual DNA
- Toggle
- Saved Bin
- Pagination
🔧 develop
🗺️ project