@hautechai/webui.hint
v2.1.26
Published
Tooltip-like component for providing contextual help information with flexible positioning and content options.
Readme
Hint
Purpose
Tooltip-like component for providing contextual help information with flexible positioning and content options.
Installation
# pnpm (recommended)
pnpm add @hautechai/webui.hint
# npm
npm install @hautechai/webui.hint
# yarn
yarn add @hautechai/webui.hintParameters
| Parameter | Type | Description | | --------- | --------------- | --------------------------------------------------------------- | | text | string | Required help text or hint content to display | | children | React.ReactNode | Required trigger element that activates the hint on interaction | | position | string | Optional positioning relative to the trigger element |
May include additional parameters for styling and interaction behavior.
Usage Example
<Hint text="This field is required" position="top">
<InputField />
</Hint>