PHPackages                             mrshanebarron/tooltip - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mrshanebarron/tooltip

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mrshanebarron/tooltip
=====================

Tooltip component for Laravel - supports Livewire and Vue

v1.0.7(6mo ago)012MITBladePHP ^8.1

Since Dec 14Pushed 6mo agoCompare

[ Source](https://github.com/mrshanebarron/tooltip)[ Packagist](https://packagist.org/packages/mrshanebarron/tooltip)[ RSS](/packages/mrshanebarron-tooltip/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (1)Versions (9)Used By (0)

Tooltip
=======

[](#tooltip)

A lightweight tooltip component for Laravel applications. Displays helpful hints on hover or click. Works with Livewire and Vue 3.

Installation
------------

[](#installation)

```
composer require mrshanebarron/tooltip
```

Livewire Usage
--------------

[](#livewire-usage)

### Basic Usage

[](#basic-usage)

```

    Hover me

```

### Positions

[](#positions)

```

    Top

    Bottom

    Left

    Right

```

### Click Trigger

[](#click-trigger)

```

    Click me

```

### Livewire Props

[](#livewire-props)

PropTypeDefaultDescription`content`string`''`Tooltip text`position`string`'top'`Position: `top`, `bottom`, `left`, `right``trigger`string`'hover'`Trigger: `hover` or `click`Vue 3 Usage
-----------

[](#vue-3-usage)

### Setup

[](#setup)

```
import { SbTooltip } from './vendor/sb-tooltip';
app.component('SbTooltip', SbTooltip);
```

### Basic Usage

[](#basic-usage-1)

```

    Hover for help

```

### Positions

[](#positions-1)

```

    Top

    Bottom

    Left

    Right

```

### Click to Show

[](#click-to-show)

```

    Copy to clipboard

```

### Icon Buttons Example

[](#icon-buttons-example)

```

```

### Form Field Help

[](#form-field-help)

```

    API Key

```

### Vue Props

[](#vue-props)

PropTypeDefaultDescription`content`String`''`Tooltip text content`position`String`'top'`Position: `top`, `bottom`, `left`, `right``trigger`String`'hover'`How to show: `hover` or `click`Features
--------

[](#features)

- **Four Positions**: Top, bottom, left, right
- **Two Triggers**: Hover or click
- **Arrow Indicator**: Points to target element
- **Smooth Animation**: Fade in/out transitions

Styling
-------

[](#styling)

Uses Tailwind CSS:

- Dark gray background (gray-900)
- White text
- Rounded corners
- Shadow effect
- Arrow/pointer indicator

Accessibility
-------------

[](#accessibility)

Tooltips provide supplementary information. For critical information, ensure it's also available through other means.

Requirements
------------

[](#requirements)

- PHP 8.1+
- Laravel 10, 11, or 12
- Tailwind CSS 3.x

License
-------

[](#license)

MIT License

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance67

Regular maintenance activity

Popularity5

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

8

Last Release

195d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/193358540?v=4)[Mr Shane Barron](/maintainers/mrshanebarron)[@mrshanebarron](https://github.com/mrshanebarron)

---

Tags

laravellivewirevuepopovertooltip

### Embed Badge

![Health badge](/badges/mrshanebarron-tooltip/health.svg)

```
[![Health](https://phpackages.com/badges/mrshanebarron-tooltip/health.svg)](https://phpackages.com/packages/mrshanebarron-tooltip)
```

###  Alternatives

[livewire/flux

The official UI component library for Livewire.

9527.8M128](/packages/livewire-flux)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

211189.7k8](/packages/bezhansalleh-filament-google-analytics)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
