Skip to main content
  1. X-GOVUK projects
  2. GOV.UK Prototype Components

Data attributes

Use data attributes to help guide users during user research.

  • Edge – A data attribute to define the edges of your prototype for research.

  • Warn on unsaved changes – A data attribute to warn users if they try to leave a page without saving changes to a form.