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(4mo ago)012MITBladePHP ^8.1

Since Dec 14Pushed 4mo agoCompare

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

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

35

—

LowBetter than 80% of packages

Maintenance74

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

149d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a38dc9b4ccc180ee3e9df8879f8747ea9dbf36812c6546827fe504fa8993eb8?d=identicon)[mrshanebarron](/maintainers/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.

9475.0M86](/packages/livewire-flux)[ijpatricio/mingle

Use Vue and React in Laravel Livewire Applications.

43445.4k2](/packages/ijpatricio-mingle)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

205144.8k5](/packages/bezhansalleh-filament-google-analytics)[mischasigtermans/laravel-altitude

Claude Code agents for the TALL stack, powered by Laravel Boost

1139.2k](/packages/mischasigtermans-laravel-altitude)[lara-zeus/popover

Zeus Popover is filamentphp component to show a Popover with custom content in tables and infolist

2968.2k3](/packages/lara-zeus-popover)[tomshaw/electricgrid

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

116.6k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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