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

1.4.3 • Public • Published

Tooltip

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

Installation

yarn add @hakuna-matata-ui/tooltip

# or

npm i @hakuna-matata-ui/tooltip

Import components

import { Tooltip } from "@hakuna-matata-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 @hakuna-matata-ui/tooltip

Weekly Downloads

3

Version

1.4.3

License

MIT

Unpacked Size

52.6 kB

Total Files

19

Last publish

Collaborators

  • cryptocom