%= content_tag :div, data: data_attributes, class: classes do %>
<% if render_header? %>
<% if display_breadcrumbs? %>
<%= helpers.render_avo_breadcrumbs(separator: helpers.svg("heroicons/outline/chevron-right", class: 'inline-block h-3 stroke-current relative top-[-1px] ml-1' )) if Avo.configuration.display_breadcrumbs %>
<% end %>
<% if name_slot? %>
<%= name_slot %>
<% else %>
<%= render Avo::PanelNameComponent.new name: @name %>
<% end %>
<% if description.present? %>
<%== description %>
<% end %>
<% if tools.present? %>
<%= tools %>
<% end %>
<% end %>
<% if body? %>
<% end %>
<% if bare_content? %>
<% end %>
<% if footer_tools? %>
<%= footer_tools %>
<% end %>
<% if footer? %>
<% end %>
<% end %>