Have ideas to improve npm?Join in the discussion! »

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

1.0.6 • 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, we wrap with in a span with tabIndex set to 0, to ensure it meets the accessibility requirements.

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

Install

npm i @chakra-ui/tooltip

DownloadsWeekly Downloads

36,282

Version

1.0.6

License

MIT

Unpacked Size

77.7 kB

Total Files

18

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar