Laravel Community Tools by Tighten
Laravel Nova icon Nova Packages

Readme

A Laravel Nova Tooltip package

This Nova tool lets you:

  • Add a tooltip to your field in (Table Header, Field in form, and Field in detail)
  • Add a tooltip to your menu item

Requirements

  • php: >=8.0

  • laravel/nova: ^4.0

     Note: This package dose't work with nova 3
    

Features

  • Support HTML in the tooltip function custom design in the tooltip
  • Support localization.
  • Support Fields.
  • Support Menu Items.
  • 1 line of code able you to add a tooltip

Screenshot

Installation

You can install the nova tool in to a Laravel app that uses Nova via composer:

	composer require badinansoft/nova-tooltip

Usage

  • Field

Just need add this method to field tooltip()

	Text::make(__('Domain'), 'domain')  
		 ->tooltip(__('Domain For Company <br /> <small class="text-primary-500">ex: https://badinanshipping.com</small>'))
  • Menu Item

Just need add this method to menu item tooltip()

	MenuItem::resource(ArrivedToTurkishOfficeOrder::class)  
			 ->tooltip(__('Arrived Orders <br> <small>That mean the orders that <br> arrived to <b>turkish office</b></small>'))  
			 ->name(__('AO')),

Credits

License

The MIT License (MIT). Please see License File for more information.

Screenshots

Reviews

By Adi Mihaila on February 22, 2024

It breaks the render of the menu on the right side

Back to Top
Added 3 years ago
Last updated 1 Year Ago
Version 1.2.0
Nova Version ^4.26.5
Composer
badinansoft/nova-tooltip
GitHub stars 5
Packagist downloads 22,996

Favorites

1 user favorited

Rating

1.00
(out of 5)
★★★★★
★★★★
★★★
★★
1 ratings

Contributors

Brought to you by Tighten

Issues/Feature Requests Stats Package Ideas