BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/boldkit/hover-card

Hover Card

boldkit/hover-card
FreeComponent

A card that appears on hover with additional information

Live preview

live · rendered by the registry
Rendered by boldkit on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://boldkit.dev/r/hover-card.json

Source

registry/default/ui/hover-card.tsxboldkit.dev/r/hover-card.json
1import * as React from 'react'
2import * as HoverCardPrimitive from '@radix-ui/react-hover-card'
3import { cn } from '@/lib/utils'
4
5const HoverCard = HoverCardPrimitive.Root
6
7const HoverCardTrigger = HoverCardPrimitive.Trigger
8
9const HoverCardContent = React.forwardRef<
10 React.ElementRef<typeof HoverCardPrimitive.Content>,
11 React.ComponentPropsWithoutRef<typeof HoverCardPrimitive.Content>
12>(({ className, align = 'center', sideOffset = 4, ...props }, ref) => (
13 <HoverCardPrimitive.Content
14 ref={ref}
15 align={align}
16 sideOffset={sideOffset}
17 className={cn(
18 'z-50 w-64 border-3 border-foreground bg-popover p-4 text-popover-foreground shadow-[4px_4px_0px_hsl(var(--shadow-color))] outline-none ease-out origin-[var(--radix-popper-content-transform-origin)] 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',
19 className
20 )}
21 {...props}
22 />
23))
24HoverCardContent.displayName = HoverCardPrimitive.Content.displayName
25
26export { HoverCard, HoverCardTrigger, HoverCardContent }

What it pulls in

npm packages

  • @radix-ui/react-hover-card

Other registry items

  • @boldkit/utils

Files it writes

  • registry/default/ui/hover-card.tsx

Facts

Registry
boldkit
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-03
Last confirmed
yesterday

Go to the source

Docs on boldkit boldkit.dev ANIBIT14/boldkit on GitHub Raw registry item This item as JSON

More from boldkit

All 94 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
AccordionaccordionboldkitComponentsFree2 deps
AlertalertboldkitComponentsFree2 deps
Alert Dialogalert-dialogboldkitComponentsFree1 dep
ASCII Shapesascii-shapesboldkitComponentsFreeno deps
Aspect Ratioaspect-ratioboldkitComponentsFree1 dep
AvataravatarboldkitComponentsFree1 dep
BadgebadgeboldkitComponentsFree1 dep
BreadcrumbbreadcrumbboldkitComponentsFree2 deps
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex