A form field that allows users to enter a single line of text.
We based our text input component on the one built by GDS. Find out more about the text input component on GOV.UK’s Design System.
Text input with an associated button
Currency text fields
If you are asking the user for a currency amount, use this version of a checkbox. It has a currency symbol that cannot be deleted by the user.
Inline text fields
In some cases it might be sensible to align text inputs inline, such as when asking for multiple short related fields.
Content of this form element would not be routinely tracked through website analytics due to the risk of gathering personally identifiable information. Interaction with the element can be tracked through a data attribute showing the the field type and field description.
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: firstname.lastname@example.org