Hover Card
For sighted users to preview content available behind a link.
BX
@bext
The framework for shipping fast websites. Built in Rust.
Joined December 2024
// src/components/ui/hover-card.tsx — shown on hover/focus via the island (data-ui="tooltip") with rich content.
Installation
$ bext ui add hover-card
Copy and paste the following into src/components/ui/hover-card.tsx.
// src/components/ui/hover-card.tsx — shown on hover/focus via the island (data-ui="tooltip") with rich content.
This component is interactive — make sure the shared island is loaded (see Islands). It reacts to data-ui="hover-card" hooks.
On This Page