JSPM

@chakra-ui/tooltip

0.0.0-dev-20211115103018
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 425022
  • Score
    100M100P100Q182070F
  • License MIT

A React Component for rendering dynamically positioned Tooltips

Package Exports

  • @chakra-ui/tooltip
  • @chakra-ui/tooltip/dist/chakra-ui-tooltip.cjs.js
  • @chakra-ui/tooltip/dist/chakra-ui-tooltip.esm.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@chakra-ui/tooltip) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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>