<%= render(@layout.new(facet_field: @facet_field)) do |component| %> <% component.with(:label) do %> <%= @facet_field.label %> <% end %> <% component.with(:body) do %> <% end %> <% end %>