Select (dropdown)

Sample HTML

    <label class="ds_label" for="component">Select a component</label>
    <div class="ds_select-wrapper  ds_input--fluid-one-third">
        <select class="ds_select" id="component">
        <span class="ds_select-arrow" aria-hidden="true"></span>

We based our select component on the one built by GDS. Find out more about the select component on GOV.UK’s Design System.

Website analytics

Select components can be tracked through custom events and the original page path. Custom events are used as the data isn’t available at the point of click and clicktext could potentially contain PII.

The data attribute is added automatically by the Design System’s “tracking” script.

Feedback, help or support

If you need any help or want to give any feedback you can e-mail us at:

Back to top