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

1.3.12 • 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>

Package Sidebar

Install

npm i @tuk-tuk/tooltip

Weekly Downloads

0

Version

1.3.12

License

MIT

Unpacked Size

24.1 kB

Total Files

3

Last publish

Collaborators

  • robbie-cook