# "El Popover" - A Popover Component Based on Element Plus

[English](https://www.github.com/HEKEH/el-popover/blob/master/README.md) | [中文](https://www.github.com/HEKEH/el-popover/blob/master/README.zh-cn.md)

## Introduction

"El Popover" is a lightweight Vue3 component library based on Element Plus. It provides Popover and Tooltip components with functionality identical to Element Plus, but without requiring the full Element Plus library. This package can also serve as a learning resource for understanding Element Plus Popover components.

## Features

- 🎯 Lightweight: Contains only core Popover component functionality
- 💪 Complete: Maintains feature parity with Element Plus Popover
- 🔗 Zero learning curve: API identical to Element Plus
- 🚀 Smaller bundle size: No need to import full Element Plus

## Installation

```bash
# Using npm
npm install @hekeh/el-popover

# Using yarn
yarn add @hekeh/el-popover

# Using pnpm
pnpm add @hekeh/el-popover
```

## Usage

### Popover

Import the Popover component:

```typescript
import { Popover } from '@hekeh/el-popover';
```

The API is identical to Element Plus's Popover component. For complete usage details, please refer to the [Element Plus Popover documentation](https://element-plus.org/en-US/component/popover.html).

### Tooltip

Import the Tooltip component:

```typescript
import { Tooltip } from '@hekeh/el-popover';
```

The API is identical to Element Plus's Tooltip component. For complete usage details, please refer to the [Element Plus Tooltip documentation](https://element-plus.org/en-US/component/tooltip.html).

## License

MIT
