YYonda UI Docs

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 Modal so it inherits ESC-to-close, click-outside dismissal, focus trap, and body scroll lock for free.
  • — Countries flagged popular: true appear 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.
  • — activeCode highlights 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 onSelect so 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.

yonda

Click to trigger the modal.

arrivia

Click to trigger the modal.

goyonda

Click to trigger the modal.

holiday-group

Click to trigger the modal.

affordable-holidays

Click to trigger the modal.

classic-holidays

Click to trigger the modal.

go-queensland

Click to trigger the modal.

hot-escapes

Click to trigger the modal.