Tooltip allows users to add an element at a target position when the user hovers over an element. We extend the react-popper library, view the documentation for a more complete list of available props.
placement="right"
placement="top"
placement="left"
placement="bottom"
placement="left"
Cards can have full-bleed images with optional captions.
Property | Type | Required | Default | Description |
---|---|---|---|---|
title | Node | false | [Empty String] | Nodes to be used as Tooltip content. |
placement | Enum | false | undefined | Placement of the popover in relation to the target. The Tooltip will override the placement if there is no room. If this property is not set, the Tooltip will position itself wherever there is room. |
transitionDuration | Number | false | 200 | Duration of animation in milliseconds. |
enterDelay | Number | false | undefined | Delay (in milliseconds) before the Tooltip will show. Prop overrides the value specified in the theme (0ms). |
children | Node | false | - | Nodes to be used as the target of the Tooltip. |
open | Bool | false | - | Boolean to programatically control the visibility of the Tooltip |
positionFixed | Bool | false | - | Uses `position: fixed` on the Tooltip, allowing it to show up outside of containers that have `overflow: hidden`. |
style | Object | false | - | Apply styles to the Tooltip element. |
arrowStyle | Object | false | - | Apply styles to the Tooltip arrow element. |
targetWrapperStyle | Object | false | - | Apply styles to the Tooltip target wrapper element. |
popperModifiers | Object | false | - | Modifiers to be passed to the Popper element |