Examples
Default
With Icon
Full
With Pill
Bottom Placement
Props
InfoBox
Root component that manages open/close state for an info box. A direct re-export of the RadixPopoverPrimitive.Root primitive. It accepts all of that primitive’s props, unchanged.
InfoBoxContent
boolean
ReactNode
Heading text rendered at the top of the info box.
ReactNode
Icon element displayed to the left of the heading.
ReactNode
Pill or badge element displayed to the right of the heading.
InfoBoxAction
Primary action button (brand green).
InfoBoxAction
Secondary action button (ghost).
boolean
default:"true"
Whether to show the directional arrow pointer.
InfoBoxTrigger
The element that triggers the info box on click. On touch / pen, a press-and-release that crosses a small movement threshold is treated as a drag and the resulting synthetic click is suppressed — defends against Android Chrome opening the popover on a scroll-drag-end.boolean
Exported types
Also exported from@fanvue/ui: InfoBoxAction, InfoBoxContentProps, InfoBoxProps, InfoBoxTriggerProps.
Setup: Installation · Theming