Filter panel example

Default

How it looks (preview)

123,456 results

I can contain arbitrary content, usually a set of filters and sort options.

How to call this example

<%= render "components/filter_panel", {
  result_text: "123,456 results",
  button_text: "Filter and sort"
} do %>
  <p class="govuk-body">
  I can contain arbitrary content, usually a set of filters and sort options.
</p>
<% end %>