class Ariadne::UI::Popover::Component

you would use this component to display a menu, a form, or any other card within a hover or trigger.
A component that displays rich content in a card, triggered by a button. Typically

def popover_placement

def popover_placement
  placement = case @position
  when :above then "top"
  when :below then "bottom"
  else
    "bottom"
  end
  placement += "-start" if @alignment == :left
  placement += "-end" if @alignment == :right
  placement
end