Components
Tooltips
Text Tooltip

Text Tooltip

Text Tooltip component displays a tooltip with a message on hover, providing additional context and information about the hovered item.

Tooltip Text Description Reveal Animation

Installation

Run the following command:

npx gopx-webui add text-tooltip

Props

PropTypeRequiredDescription
textstringYesThe main text that will be displayed when the tooltip is not hovered.
hoverMessagestringNoAn optional message that will be displayed in the tooltip when the user hovers over the component.
childrenReact.ReactNodeNoOptional children elements that can be rendered inside the tooltip area, allowing for more complex content.