Laravel Community Tools by Tighten
Laravel Nova icon Nova Packages
I

Iframe Popup Field

Readme

Laravel Nova Iframe Popup Field

With this field you create a button which displays an iframe in a popup (visually oriented to Inertia.js).

1 2 3

Install

composer require norman-huth/nova-iframe-popup

Usage

IframePopup::make(__('Url'), 'url'),

IframePopup::make('', 'url', function () {
    return 'https://huth.it';
})->icon('eye')->sufText('Help'),

Options

Change Icon (

IframePopup::make(__('Url'), 'url')->icon('eye'),

Change Icon (

Font Awesome is not included and must be added manually!

IframePopup::make(__('Url'), 'url')->faIcon('fa-solid fa-arrow-up-right-from-square'),

Remove Icon

IframePopup::make(__('Url'), 'url')
    ->icon('')
    ->preText(__('Show me')),

Add text before the icon

IframePopup::make(__('Url'), 'url')->preText(__('Click me')),

Add text after the icon

IframePopup::make(__('Url'), 'url')->sufText(__('Help')),

Change button class

IframePopup::make(__('Url'), 'url')->btnClass('btn-primary'),

Add class to DIV container

IframePopup::make(__('Url'), 'url')->containerClass('text-center'),
Add class to DIV container (index view)
IframePopup::make(__('Url'), 'url')->containerClassIndex('text-center'),
Add class to DIV container (detail view)
IframePopup::make(__('Url'), 'url')->containerClassDetail('text-center'),
Add class to DIV container (form view)
IframePopup::make(__('Url'), 'url')->containerClassForm('text-center'),

More Laravel Nova Packages

Stand With Ukraine Woman. Life. Freedom.

Reviews

By Alek Mlynek on March 18, 2023

Great plug-in. It works well and looks great out of the box. Perfect for mixing complex Live components into the Nova back-end admin (Without recoding them in VueJS). Thank you!

By Everton Pessoa on April 22, 2022

Fantastic

Back to Top
Added 3 years ago
Last updated 3 Years Ago
Version 1.0.0
Nova Version ^4.0.0
Composer
norman-huth/nova-iframe-popup
GitHub stars 6
Packagist downloads 35,376

Favorites

3 users favorited

Rating

5.00
(out of 5)
★★★★★
★★★★
★★★
★★
4 ratings

Brought to you by Tighten

Issues/Feature Requests Stats Package Ideas