<%= render Ariadne::BaseComponent.new(tag: @tag, classes: @classes, attributes: @attributes) do %> <%= render Ariadne::BaseComponent.new(tag: :input, classes: @input_classes, attributes: @input_attributes) do %> <% if icon? %> <%= icon %> <% else %> <%= Ariadne::HeroiconComponent.new(icon: :cube, variant: HeroiconsHelper::Icon::VARIANT_OUTLINE) %> <% end %> <% end %> <%= render Ariadne::BaseComponent.new(tag: @options_wrapper_tag, classes: @options_wrapper_classes, attributes: @options_wrapper_attributes) do %> <% options.each do |option| %> <%= option %> <% end %> <% end %> <% end %>