<%= render(Primer::Alpha::TabNav.new(label: "With icons and counters")) do |component| %> <% component.with_tab(selected: true, href: "#") { "Tab 1" } %> <% component.with_tab(href: "#") { "Tab 2" } %> <% component.with_tab(href: "#") { "Tab 3" } %> <% component.with_extra(align: align) do %> <%= render(Primer::Beta::Button.new) { "Extra Button" } %> <% end %> <% end %>