CountryPickerModal
Full country picker modal for country-scoped surfaces (ExperiencesGrid, NavBar location trigger, activity search). Search-filterable across name + code; Popular section drops out when a query is active. Portalled via Modal so it can be triggered from anywhere without layout constraints.
Click to trigger the modal.
Usage notes
- — Composes existing
Modalso it inherits ESC-to-close, click-outside dismissal, focus trap, and body scroll lock for free. - — Countries flagged
popular: trueappear in the top section as well as the full list. The Popular section hides when a search query is active. - — Search filters by both name and code (typing "au" matches Australia via its ISO code).
- — Empty-state message renders when no countries match the query.
- —
activeCodehighlights the current selection with a brand-primary tint; use for "current filter" state on repeat opens. - — Parent controls open state and closes after selection — the modal doesn't auto-close on
onSelectso multi-select variants stay possible in future.
All themes
Search focus ring, active-country border + tint, and selected-button text consume --brand-primary. Open the picker from each theme to see it swap.
yondaClick to trigger the modal.
arriviaClick to trigger the modal.
goyondaClick to trigger the modal.
holiday-groupClick to trigger the modal.
affordable-holidaysClick to trigger the modal.
classic-holidaysClick to trigger the modal.
go-queenslandClick to trigger the modal.
hot-escapesClick to trigger the modal.