1. Component Guide
  2. Inset text
  3. With block
Inset text example

With block

Note that the contents should be styled separately from the component, which takes no responsibility for what it is passed.

How it looks (preview)

To publish this step by step you need to

Check for broken links

How to call this example

<%= render "govuk_publishing_components/components/inset_text", {
} do %>
  <div>
  <h2 id='heading'>To publish this step by step you need to</h2>
  <a href='/foo'>Check for broken links</a>
</div>
<% end %>