%= lookbook_render button_component.new( id: id, icon: icon, **button_attrs, "x-on:keydown.esc.stop": "hideDropdown", "x-on:navigation:complete.window": "updateDropdown") do %> <%= content %> <% end %> <% if dropdown? %> <% content_for :dropdowns do %>