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

0.1.0-alpha.2 • Public • Published

Tooltip

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

Installation

yarn add @bianic-ui/tooltip

# or

npm i @bianic-ui/tooltip

Import components

import { Tooltip } from "@bianic-ui/core"

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 @bianic-ui/tooltip

Weekly Downloads

2

Version

0.1.0-alpha.2

License

MIT

Unpacked Size

76.7 kB

Total Files

19

Last publish

Collaborators

  • ilmimris