Components
Tooltips
Image Tooltip

Image Tooltip

Image Tooltip component displays an image tooltip on hover, offering visual context and details about the hovered item.

Tooltip Image Reveal Animation

Loading...

Installation

Run the following command:

npx gopx-webui add image-tooltip

Props

PropTypeRequiredDescription
textstringYesThe text that will be displayed within the tooltip.
IconReact.FC<SVGProps<SVGSVGElement>>NoAn optional SVG icon component to be displayed alongside the text.
hoverImage{ src: string; alt: string; width: number; height: number; }NoAn optional object containing the source URL, alt text, width, and height of the image to be displayed on hover.
Last updated on