# @pirxpilot/popover

> Popover component

Latest version **3.0.1** (published 2026-02-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @pirxpilot/popover
pnpm add @pirxpilot/popover
yarn add @pirxpilot/popover
bun add @pirxpilot/popover
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: esm support; no vulnerabilities; has provenance.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 3.0.1 |
| Published | 2026-02-23 |
| First published | 2017-02-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 1 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 0 |
| Maintainers | pirxpilot |
| Keywords | popover, component |

## Links

- npm: https://www.npmjs.com/package/@pirxpilot/popover
- Repository: https://github.com/pirxpilot/popover
- Homepage: https://github.com/pirxpilot/popover#readme
- Issues: https://github.com/pirxpilot/popover/issues
- npm.io page: https://npm.io/package/@pirxpilot/popover

## Dependencies (1)

- [@pirxpilot/tip](https://npm.io/package/@pirxpilot/tip.md) ~4

## Recent versions

- 3.0.1 (latest) — 2026-02-23
- 3.0.0 — 2025-04-27
- 2.0.1 — 2019-07-10
- 2.0.0 — 2018-11-29
- 1.1.5 — 2017-12-13
- 1.1.4 — 2017-03-19
- 1.1.3 — 2017-02-17

## README

# Popover

  Popover component built on top of [Tip](http://github.com/pirxpilot/tip).

  ![js popover component](http://f.cl.ly/items/282X271J2Y1s1P342o02/Screen%20Shot%202012-08-02%20at%205.07.07%20PM.png)

## Installation

```
$ npm install @pirxpilot/popover
```

## Features

  - events for composition
  - "auto" positioning
  - fluent API
  - minimal base styling

## API

### new Popover(content, [title])

  Create a new popover with `content` being
  either a string, html, or element, and optional
  `title` which may contain html or be an element as well.

```js
var Popover = require('popover');
var popover = new Popover('You have mail!!!', 'Mail');
popover.show('#avatar');
```

 View [Tip](http://github.com/component/tip) for additional
 API documentation.

## Themes

  - [Aurora](https://github.com/component/aurora-popover)

## License

  MIT

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