<%= @component.capitalize %>

<% styleguide_stubs(@component).each_with_index do |component_properties, index| %>
<%= ui_component @component, component_properties %>

<%= @component.capitalize %> <%= index + 1 %>

<%= ui_component("<%= @component %>", {properties as below}) %>
<%- formatted = JSON.pretty_generate component_properties %>
<%= formatted.gsub(/\"(\S+)?\":/, '\1:') %>
<% end %>