Calm motion: animations on this site only fade, with no movement
HoverCard
Rich hover popover
A preview shown while the pointer is on (or focus is in) a link: a profile, a page summary. It is extra. Touch screens cannot hover, so nothing in it can be the only way to reach something.
Basic
Follow @saenai_heroine for updates.
冴えない彼女の育てかた
TVアニメ公式 · joined 2014
Not inside <p>
The floating panel is a <div>. HTML closes a <p> at a <div>. For this reason, a trigger placed inside a paragraph renders differently on the server and the client. Wrap it in a <span> or <div> instead.
- It opens after
openDelayon hover or keyboard focus and closes aftercloseDelay, so the pointer can move into it. - For content that must be reachable on every device, use a Popover opened by a click.
Usage
ts
import { BlessHoverCard } from "blessing-ui";API
Props
| Name | Type | Default | Description |
|---|---|---|---|
placement | Placement | "bottom" | |
openDelay | number | 400 | |
closeDelay | number | 200 | |
open | boolean | false |
Events
| Name | Payload | Description |
|---|---|---|
update:open | [value: boolean] |
Slots
| Name | Scope | Description |
|---|---|---|
trigger | — | |
default | — |