# @hawk-ui/tooltip

> hawk-ui: Basic Tooltip Component

Latest version **4.5.3** (published 2025-09-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install @hawk-ui/tooltip
pnpm add @hawk-ui/tooltip
yarn add @hawk-ui/tooltip
bun add @hawk-ui/tooltip
```

## Health

**Score 25/100 (F)** — status: maintenance-mode.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.5.3 |
| Published | 2025-09-25 |
| First published | 2020-01-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 25.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Saurabh Gaur |
| Maintainers | saurabh2112 |
| Keywords | tooltip, react, react component, react tooltip, hawk, hawk-ui, ui |

## Links

- npm: https://www.npmjs.com/package/@hawk-ui/tooltip
- npm.io page: https://npm.io/package/@hawk-ui/tooltip

## Dependencies (3)

- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [classnames](https://npm.io/package/classnames.md) ^2.3.2
- [prop-types](https://npm.io/package/prop-types.md) ^15.7.2

## Recent versions

- 4.5.3 (latest) — 2025-09-25
- 4.5.2 — 2025-09-25
- 4.5.1 — 2025-07-15
- 4.5.0 — 2025-05-19
- 4.4.9 — 2025-05-19
- 4.4.8 — 2025-04-23
- 4.4.7 — 2025-02-19
- 4.4.6 — 2025-02-11
- 4.4.5 — 2025-02-11
- 4.4.4 — 2024-12-06
- 4.4.3 — 2024-12-05
- 4.4.2 — 2024-11-25
- 4.4.1 — 2024-07-18
- 4.4.0 — 2024-06-24
- 4.3.9 — 2024-06-24
- … 274 more at https://npm.io/package/@hawk-ui/tooltip/versions

## README

## Installation


#### To install a component run
`$ npm install @hawk-ui/tooltip --save`


#### Please import CSS styles via
```scss noeditor
@import '/path__to__node_modules/@hawk-ui/tooltip/dist/index.min.css
```


## Usage


#### Tooltip with content:
[Demo](https://hawk.oncrypt.co/#!/Tooltip/1)
```js static
import Tooltip from '@hawk-ui/tooltip';
```
```js
<Tooltip
  position="right"
  content="Tooltip"
>
  Hover me
</Tooltip>
```


#### Tooltip with options:
[Demo](https://hawk.oncrypt.co/#!/Tooltip/3)
```js static
import Tooltip from '@hawk-ui/tooltip';
```
```js
const panes = [
  <i class="fas fa-edit" />,
  <i class="fas fa-trash" />,
];

<Tooltip
  position="bottom"
  content={panes}
>
  Hover me
</Tooltip>
```


#### Tooltip disabled:
[Demo](https://hawk.oncrypt.co/#!/Tooltip/1)
```js static
import Tooltip from '@hawk-ui/tooltip';
```
```js
<Tooltip
  position="right"
  content="Tooltip"
  isDisabled
>
  Hover me
</Tooltip>
```

---
_Source: https://npm.io/package/@hawk-ui/tooltip · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
