CoreHover card
HoverCard API
Every prop of the 3 parts HoverCard exports, generated from the package manifest.
import { HoverCard, HoverCardContent, HoverCardTrigger } from '@oceanic-hub/brand-system'- Layer
- core — shadcn-derived primitives.
- Exports
- HoverCard · HoverCardContent · HoverCardTrigger
- Contract
- packages/brand-system/src/components/hover-card.contract.test-d.ts
- Demos
- 2 on the HoverCard page — rendered live, hydrated
- Source
- packages/brand-system/src/components/hover-card.tsx
Generated from manifest/component-manifest.json, so it cannot drift from the source. For what HoverCard is for, how it composes and what it looks like, see HoverCard.
HoverCard
Re-exported from @radix-ui/react-hover-card. These are its props — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
HoverCardContent
Inherited from @radix-ui/react-hover-card — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
HoverCardTrigger
Re-exported from @radix-ui/react-hover-card. These are its props — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type