# svooltip

> A basic Svelte tooltip directive. Powered by [Floating UI](https://floating-ui.com/).

Latest version **0.9.0** (published 2025-02-06) · 0 weekly downloads

## Install

```sh
npm install svooltip
pnpm add svooltip
yarn add svooltip
bun add svooltip
```

## Health

**Score 35/100 (D)** — status: maintenance-mode.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.9.0 |
| Published | 2025-02-06 |
| First published | 2022-06-12 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 1 |
| Unpacked size | 20.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 64 |
| Maintainers | gibbu |
| Keywords | svelte, tooltip, floating-ui, svelte-component |

## Links

- npm: https://www.npmjs.com/package/svooltip
- Repository: https://github.com/Gibbu/svooltip
- Homepage: https://github.com/Gibbu/svooltip#readme
- Issues: https://github.com/Gibbu/svooltip/issues
- npm.io page: https://npm.io/package/svooltip

## Dependencies (1)

- [@floating-ui/dom](https://npm.io/package/@floating-ui/dom.md) ^1.6.13

## Recent versions

- 0.9.0 (latest) — 2025-02-06
- 0.8.3 — 2024-09-04
- 0.8.2 — 2024-08-31
- 0.8.1 — 2024-08-31
- 0.8.0 — 2024-08-31
- 0.7.8 — 2024-02-02
- 0.7.7 — 2024-01-25
- 0.7.6 — 2024-01-22
- 0.7.5 — 2023-10-03
- 0.7.4 — 2023-04-19
- 0.7.3 — 2023-04-05
- 0.7.2 — 2023-03-17
- 0.7.1 — 2023-03-17
- 0.7.0 — 2023-03-17
- 0.6.0 — 2023-03-17
- … 13 more at https://npm.io/package/svooltip/versions

## README

# SVooltip

A basic Svelte tooltip directive. Powered by [Floating UI](https://floating-ui.com/).

## Usage

```svelte
<script>
	import { tooltip } from 'svooltip';
	import 'svooltip/styles.css'; // Include default styling
</script>

<button
	class="btn"
	use:tooltip={{
		content: "You're looking beautiful today!",
		placement: 'top-start',
		delay: [1000, 0],
		offset: 15,
		target: '#layers'
	}}
>
	Hover me for 1 second
</button>
```

## Docs

View more information at: https://svooltip.vercel.app

## Licence

See the [LICENSE](https://github.com/Gibbu/svooltip/blob/main/LICENSE) file for license rights and limitations (MIT).

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