The Hover Card component introduces:

The method <%= code("render_hover_card") %> defined in <%= code("app/helpers/components/hover_card_helper.rb") %> accepts a block for the two inner components, <%= code("hover_card_trigger") %> and <%= code("hover_card_content") %>. Each of those accepts a block for their respective content.

<%= code("app/javascript/controllers/ui/hover-card_controller.js") %> is a stimulus controller that provides the functionality of the popover.