Hover Card
For sighted users to preview content available behind a link. Triggered when the user hovers over an element.
Default
A basic hover card showing project information when hovering over a link.
hover-card-example-default.ts
Rich Profile Preview
A more complex layout with avatars, action buttons, and social stats.
Developed by
hover-card-example-profile.ts
Contextual Info
Use hover cards to provide additional context or policy details without cluttering the UI.
Transaction Fee:$0.00
hover-card-example-info.ts
API Reference
Brain API
The hover card logic is powered by the BrnHoverCard directives.
| Directive | Selector | Inputs / Outputs |
|---|---|---|
| BrnHoverCard | brn-hover-card |
|
| BrnHoverCardTrigger | [brnHoverCardTrigger] | Element that triggers the hover card. |
Helm API
| Component | Selector | Description |
|---|---|---|
| HlmHoverCardContent | hlm-hover-card-content | Styled container for the card's content. |