-
Notifications
You must be signed in to change notification settings - Fork 0
Facet Type Radio
SHEPDESIGN edited this page Jun 4, 2026
·
3 revisions
Single-select from a small list. The "pick exactly one" facet.
A list of mutually exclusive options. Users pick one, or clear back to "no filter". Useful when the data shape demands exclusivity.
- Sort order ("Newest", "Price low-high", "Popular")
- Shipping class ("Standard", "Express", "Pickup only")
- Stock state when you need a single mode (use Toggle for boolean on/off)
- Membership tier picker on directory sites
- More than ~6 options → use Dropdown
- Multiple values are valid → use Checkbox
- Binary on/off → use Toggle
{
"name": "shipping_class",
"kind": "meta",
"source": "_shipping_class",
"display": "radio",
"label": "Shipping"
}| Field | Values | Default | What |
|---|---|---|---|
kind |
"taxonomy" | "meta" | "field"
|
— | Where the indexed values come from |
source |
string | — | The taxonomy slug or meta/field key |
The radio facet renders one option per indexed value plus a "clear" affordance, with match counts shown next to each option. It has no display-specific settings in 1.0.0.
?hof[shipping_class]=express
Single value. Empty/absent param = no filter.
Single-select pricing tier:
{ "name": "tier", "kind": "taxonomy", "source": "pricing_tier", "display": "radio" }Meta-sourced shipping class:
{ "name": "shipping_class", "kind": "meta", "source": "_shipping_class", "display": "radio" }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