Components

Inset text

Use the inset text component to differentiate a block of text from the content that surrounds it, for example:

  • quotes
  • examples
  • additional information about the page

See the GOV.UK Design System documentation on inset text for more information on when to use this component.

It can take up to 8 weeks to register a lasting power of attorney if there are no mistakes in the application.
<gv-inset-text>
  It can take up to 8 weeks to register a lasting power of attorney if there are no mistakes in the application. 
</gv-inset-text>

Props

NameTypeDescription
text string
Text to use within the inset text component. If content is provided in the default slot, this prop will be ignored.
id string
ID attribute to add to the inset text container.

Slots

NameDescription
default
The content of the inset text. If content is provided in this slot, the text prop will be ignored.