Back to the sample: building a country combobox

Live demo: the country combobox

This page runs the component code from the UI Guidelines sample, built with React 18.3.1. The form around it is the sample's own example of use, with a Continue button added so you can see the value it would send.

What this shows, and what it doesn't. It shows the code running in your browser. It has not been tested with a screen reader, and it is not a claim that the component meets WCAG 2.2 AA: that needs testing with assistive technology and real users. The list uses your browser's own English country names.

Things to try