Loading...

Usage

import Tooltip from '@nerdwallet/react-tooltip';
<Tooltip content="VantageScore 3.0 credit score from TransUnion" />

Loading examples...

<Tooltip>

className

string

Default

null

content

node

Required

label

string

Optional label next to tooltip trigger

Default

null

placement

'bottom' | 'top' | 'left' | 'right'

One of four placement choices, default: bottom

Default

'bottom'

popperOptions

Object

Options provided to the [`popper.js`](https://github.com/FezVrasta/popper.js) instance.

Default

{}

initiallyOpen

boolean

If set to true the tooltip will render initially open

Default

false

dangerouslyForceFocusStyling

boolean

Force the component to render with its focus styles.

Default

false

Maintainers

This component was created by FEI.

See Also