Components / HoverCard
HoverCard
Rich content shown while the pointer is over a trigger.
Example
The component itself, running in WebAssembly, beside its code in a playground. Try it.
Code
use ravenrs::prelude::*;
fn hover_card() -> impl View {
HoverCard::new(
Text::new("@ana.lima").foreground(Semantic::Accent),
HStack::new((Avatar::new("Ana Lima"), Text::new("Design lead at Northwind"))).spacing(12.0),
)
}