Skip to main content
Wrap any content element — image, video, text block — and a clickable badge appears that opens a provenance popover.

Props

PropTypeDefaultDescription
cidstringResource CID — auto-fetches bundle
bundleProvenanceBundlePre-fetched bundle (skips auto-fetch)
childrenReactNodeContent to wrap (image, video, text, etc.)
position"top-left" | "top-right" | "bottom-left" | "bottom-right""bottom-right"Badge position in floating mode
size"sm" | "md" | "lg""md"Badge icon size
variant"floating" | "inline""floating"Layout mode
popoverSide"top" | "bottom" | "left" | "right""bottom"Popover direction
onViewDetail() => voidCalled when user clicks “View Full Provenance”
loadingSlotReactNodeCustom loading state
errorSlotReactNodeCustom error state
classNamestringAdditional CSS classes