diff --git a/app/views/spotlight/pages/_view_type_group.html.erb b/app/views/spotlight/pages/_view_type_group.html.erb
index 92df730f2..46c6b484c 100644
--- a/app/views/spotlight/pages/_view_type_group.html.erb
+++ b/app/views/spotlight/pages/_view_type_group.html.erb
@@ -3,11 +3,8 @@
<%= t('blacklight.search.view_title') %>
- <% views.each do |view, config| %>
- <%= link_to url_for(search_state.to_h.merge(view: view)), :title => t("blacklight.search.view_title.#{view}", default: t("blacklight.search.view.#{view}", default: blacklight_config.view[view].title)), :class => "btn btn-outline-secondary view-type-#{ view.to_s.parameterize } #{"active" if block_document_index_view_type(block) == view}" do %>
- <%= blacklight_icon config.icon || view %>
- <%= t("blacklight.search.view.#{view}") %>
- <% end %>
+ <% views.each do |key, config| %>
+ <%= render Blacklight::Response::ViewTypeButtonComponent.new(key: key, view: config, selected: block_document_index_view_type(block) == key, search_state: search_state) %>
<% end %>