This component no longer exists. It was in shadcn-zhcndoc’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-14 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.
hover-card
shadcn-zhcndoc/hover-cardRemovedComponent
shadcn-zhcndoc publishes no description for this item.
Live preview
live · rendered by the registry
Rendered by shadcn-zhcndoc on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://shadcn.zhcndoc.com/r/styles/new-york/hover-card.jsonSource
1"use client"23import * as React from "react"4import * as HoverCardPrimitive from "@radix-ui/react-hover-card"56import { cn } from "@/lib/utils"78const HoverCard = HoverCardPrimitive.Root910const HoverCardTrigger = HoverCardPrimitive.Trigger1112const HoverCardContent = React.forwardRef<13 React.ElementRef<typeof HoverCardPrimitive.Content>,14 React.ComponentPropsWithoutRef<typeof HoverCardPrimitive.Content>15>(({ className, align = "center", sideOffset = 4, ...props }, ref) => (16 <HoverCardPrimitive.Content17 ref={ref}18 align={align}19 sideOffset={sideOffset}20 className={cn(21 "z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-hover-card-content-transform-origin]",22 className23 )}24 {...props}25 />26))27HoverCardContent.displayName = HoverCardPrimitive.Content.displayName2829export { HoverCard, HoverCardTrigger, HoverCardContent }
