Tooltip
Tooltips display informative text when users hover over, focus on, or tap an element.
Figma Link
https://www.figma.com/design/JesXQFLaPJLc1BdBM4sisI/%F0%9F%A6%93-ZDS---Components?node-id=21816-222
- Web Components
- Flutter
Demo
zeta-web v1.4.0
Web Components
Storybook
https://design.zebra.com/web/storybook/?path=/docs/components-tooltip--docs
Slots
| Name | Description | Type |
|---|---|---|
| default | Pass in text or an icon. If using an icon, <zeta-icon> is recommended. | text |
Attributes
| Name | Description | Type | Default |
|---|---|---|---|
| point | Position of the tooltip. | "left" | "right" | "top" | "bottom" | "bottom" |
Inherited Attributes
| Name | Description | Type | Default | Inherited From |
|---|---|---|---|---|
| rounded | Whether the component is rounded or sharp.When true, rounded will set the border radius of the first child, and any children with class 'contourable-target' to --radius-minimal.Otherwise, this value will be --radius-none. | boolean | undefined | true | Contourable |
Flutter component not available yet