">
"
class="
flex gap-3 items-center
py-0.5 px-3 mb-0.5 rounded
hover:text-red-500 hover:bg-gray-50
<%= "text-red-500 bg-gray-50" if active? %>
<%= @item.top_level ? "body-small-bold text-black" : "body-small text-gray-600" %>
"
>
<% if @item.icon %>
<%= icon_tag(@item.icon, class: "inline-block w-full h-full fill-current") %>
<% end %>
<%= @item.name %>
<% if @item.children? %>
">
<%= render self.class.with_collection(@item.children, url_helpers: @url_helpers, fullpath: @fullpath) %>
<% end %>