HoverCard
functionSource L9Open-code aq-ui accessible component family for Hover Card.
function HoverCard({ ...props }: PreviewCardPrimitive.Root.Props)- Props type
PreviewCardPrimitive.Root.Props
<HoverCard />
Open-code aq-ui accessible component family for Hover Card.
This is a live example. Interact with the available controls and use the keyboard to inspect the component's states and behavior.
pnpm dlx aq-ui@alpha add hover-cardImport the parts you need, then jump to an export for its contract.
"use client"
import { HoverCard } from "@/components/ui/hover-card"
<HoverCard />Open-code aq-ui accessible component family for Hover Card.
function HoverCard({ ...props }: PreviewCardPrimitive.Root.Props)PreviewCardPrimitive.Root.PropsContent export for composing Hover Card.
const HoverCardContent = React.forwardRef<React.ComponentRef<typeof PreviewCardPrimitive.Popup>, PreviewCardPrimitive.Popup.Props & Pick< PreviewCardPrimitive.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset" >>(…)PreviewCardPrimitive.Popup.Props & Pick< PreviewCardPrimitive.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset" >Trigger export for composing Hover Card.
const HoverCardTrigger = React.forwardRef<HTMLAnchorElement, PreviewCardPrimitive.Trigger.Props>(…)PreviewCardPrimitive.Trigger.Propsutils
@base-ui/react@^1.7.0