YYonda UI Docs

SortBar

Result-list sort control for search pages, blog listings, booking history, and any long list. Dropdown variant (Booking.com pattern, best for many options) or chips variant (Airbnb pattern, best for 2–4). Optional result-count summary on the left. Presentational — parent owns the active key and re-fetches in onChange.

132 properties in Bali

Dropdown (no summary)

Omit resultSummary when the count lives elsewhere on the page.

Chips variant

Inline pill radio group — better for 2–4 options where all choices should be visible at once (blog listing, article discovery). Uses role="radiogroup" for keyboard accessibility.

132 properties in Bali