use ui::hover_card::HoverCard;
div()
.id("clearloop")
.hoverable_tooltip(|window, cx| {
HoverCard::person("CL", "clearloop", "Builds desktop software in Rust.", "Shanghai", window, cx)
})
.child("@clearloop")- Mount with
hoverable_tooltip, nottooltip, or the card closes as the pointer moves onto it. HoverCard::summaryis a heading and prose, without the avatar or meta line.- The delay is gpui's:
.tooltip_show_delay(..)on the element.