<% if dot_only %> <%# Compact dot — no label, no border, just the colored marker. Used on the collapsed sidebar nav. Keeps tone semantics without taking up label width. %> " title="<%= title || t("ds.pill.aria_label", label: label) %>"> <% else %> <% if icon %> <%= helpers.icon(icon, size: icon_size, color: "current") %> <% elsif show_dot %> <% end %> <% if truncate || label_testid %> <%= tag.span label, class: ("min-w-0 truncate" if truncate), data: (label_testid ? { testid: label_testid } : nil) %> <% else %> <%= label %> <% end %> <% end %>