BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/aurora/aurora-hover-card

Aurora Hover Card

aurora-dinglebear-ai/aurora-hover-card
UnverifiedComponent

Hover-triggered detail panel for source metadata and compact previews.

Install it

npx shadcn@latest add https://raw.githubusercontent.com/dinglebear-ai/aurora/main/aurora-hover-card.json

Source

registry/aurora/ui/hover-card.tsxraw.githubusercontent.com/dinglebear-ai/aurora/main/aurora-hover-card.json
1"use client"
2
3import * as React from "react"
4import * as HoverCardPrimitive from "@radix-ui/react-hover-card"
5import { cn } from "@/lib/utils"
6import { usePortalContainer } from "@/registry/aurora/lib/portal-container"
7
8const HoverCardRoot = HoverCardPrimitive.Root
9const HoverCardTrigger = HoverCardPrimitive.Trigger
10
11function HoverCardContent({
12 ref,
13 className,
14 align = "start",
15 sideOffset = 8,
16 style,
17 ...props
18}: React.ComponentProps<typeof HoverCardPrimitive.Content> & {
19 ref?: React.Ref<React.ComponentRef<typeof HoverCardPrimitive.Content>>
20}) {
21 const portalContainer = usePortalContainer()
22 return (
23 <HoverCardPrimitive.Portal container={portalContainer ?? undefined}>
24 <HoverCardPrimitive.Content
25 ref={ref}
26 data-slot="hover-card-content"
27 align={align}
28 sideOffset={sideOffset}
29 className={cn(
30 "z-50 w-64 origin-(--radix-hover-card-content-transform-origin) overflow-hidden rounded-[var(--aurora-radius-2)] border p-3 outline-none",
31 "data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2",
32 "data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
33 "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
34 "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
35 className
36 )}
37 style={{
38 background: "var(--aurora-panel-strong)",
39 borderColor: "var(--aurora-border-strong)",
40 boxShadow: "var(--aurora-shadow-strong), var(--aurora-highlight-strong)",
41 color: "var(--aurora-text-primary)",
42 ...style,
43 }}
44 {...props}
45 />
46 </HoverCardPrimitive.Portal>
47 )
48}
49
50export interface HoverCardProps
51 extends Omit<React.ComponentPropsWithoutRef<typeof HoverCardPrimitive.Root>, "children"> {
52 trigger: React.ReactNode
53 children: React.ReactNode
54 className?: string
55 style?: React.CSSProperties
56 contentClassName?: string
57 contentStyle?: React.CSSProperties
58}
59
60function HoverCard({
61 trigger,
62 children,
63 className,
64 style,
65 contentClassName,
66 contentStyle,
67 openDelay = 180,
68 closeDelay = 120,
69 ...props
70}: HoverCardProps) {
71 return (
72 <HoverCardRoot openDelay={openDelay} closeDelay={closeDelay} {...props}>
73 <HoverCardTrigger asChild>
74 <span className={cn("inline-flex", className)} style={style}>
75 {trigger}
76 </span>
77// … truncated

What it pulls in

npm packages

  • @radix-ui/react-hover-card@^1.1.19

Other registry items

  • @aurora/aurora-tokens
  • @aurora/aurora-portal-container

Files it writes

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

Facts

Registry
aurora
Type
registry:ui
Access
Unverified
Files written
1
Licence
AGPL-3.0
In the index
at or before 2026-08-08
Last confirmed
today

Go to the source

aurora.dinglebear.ai dinglebear-ai/aurora on GitHub Raw registry item This item as JSON

More from aurora

All 176 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Aurora Accordionaurora-accordionauroraComponentsUnverified2 deps
Aurora Alert Dialogaurora-alert-dialogauroraComponentsUnverified2 deps
Aurora Aspect Ratioaurora-aspect-ratioauroraComponentsUnverifiedno deps
Aurora Avataraurora-avatarauroraComponentsUnverified1 dep
Aurora Badgeaurora-badgeauroraComponentsUnverified2 deps
Aurora Banneraurora-bannerauroraComponentsUnverified1 dep
Aurora Breadcrumbaurora-breadcrumbauroraComponentsUnverified2 deps
Aurora Buttonaurora-buttonauroraComponentsUnverified2 deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex