UNPKG

govuk-frontend

Version:

GOV.UK Frontend contains the code you need to start building a user interface for government platforms and services.

23 lines (22 loc) 831 B
<div class="govuk-form-group"> <div class="govuk-radios" data-module="govuk-radios"> <div class="govuk-radios__item"> <input class="govuk-radios__input" id="colours" name="colours" type="radio" value="red"> <label class="govuk-label govuk-radios__label" for="colours"> Red </label> </div> <div class="govuk-radios__item"> <input class="govuk-radios__input" id="colours-2" name="colours" type="radio" value="green"> <label class="govuk-label govuk-radios__label" for="colours-2"> Green </label> </div> <div class="govuk-radios__item"> <input class="govuk-radios__input" id="colours-3" name="colours" type="radio" value="blue"> <label class="govuk-label govuk-radios__label" for="colours-3"> Blue </label> </div> </div> </div>