1. Component Guide
  2. Govspeak content
  3. Legislative lists
Govspeak content example

Legislative lists

How it looks (preview)

ordered list:

  1. one
  2. two
  3. three

How to call this example

<%= render "govuk_publishing_components/components/govspeak", {
} do %>
  <h2>ordered list:</h2>
<ol class="legislative-list">
  <li>one</li>
  <li>two</li>
  <li>three</li>
</ol>
<% end %>