#API
Tooltip
props
Name | Description | Type | Default | Values | Required |
|---|---|---|---|---|---|
tag | Root element tag wrapping the trigger. | String | div | ||
tooltip | Tooltip text shown on hover. Prefer the tooltip slot for custom content. | String | |||
disabled | Disables showing the tooltip. | Boolean | false | ||
position | Preferred placement relative to the trigger (top, bottom, left, right). | String | bottom |
slots
Name | Description |
|---|---|
default | Trigger content the tooltip is attached to. |
tooltip | Custom tooltip content; overrides the `tooltip` prop. |
ToggleTip
props
Name | Description | Type | Default | Values | Required |
|---|---|---|---|---|---|
content | HTML or text shown inside the tooltip. | String | |||
icon | Icon name for the trigger. Defaults to the info icon. | String |