@chakra-ui/tooltip
TypeScript icon, indicating that this package has built-in type declarations

2.3.1 • Public • Published

Tooltip

Use this component to display extra information about an element by displaying a floating description.

Installation

yarn add @chakra-ui/tooltip

# or

npm i @chakra-ui/tooltip

Import components

import { Tooltip } from "@chakra-ui/react"

Usage

If the children of Tooltip is a string, it will be wrapped with a focusable span element to ensure the Tooltip meets accessibility requirements.

<Tooltip label="Hey, I'm here!">Hover me</Tooltip>

Package Sidebar

Install

npm i @chakra-ui/tooltip

Weekly Downloads

544,046

Version

2.3.1

License

MIT

Unpacked Size

142 kB

Total Files

33

Last publish

Collaborators

  • segunadebayo
  • _codebender828