A simple inline contextual notice for Filament forms, basically just a fancy placeholder.
MIT License
A simple inline contextual notice for Filament forms, basically just a fancy placeholder.
You can install the package via composer:
composer require awcodes/shout
Simply include the component in any of your form's schema()
methods.
use Awcodes\Shout\Components\Shout;
Shout::make('so-important')
->content('This is a test')
Simply include the component in any of your Infolist's schema()
methods.
use Awcodes\Shout\Components\ShoutEntry;
ShoutEntry::make('so-important')
->content('This is a test')
->type('info|success|warning|danger')
You can use the color()
method to set a custom color using Filament's Color Object.
use Awcodes\Shout\Components\Shout;
use Filament\Support\Colors\Color;
Shout::make('so-important')
->content('This is a test')
->color(Color::Lime)
Shout::make('so-important')
->content('This is a test')
->color(Color::hex('#badA55'))
use Awcodes\Shout\Components\Shout;
Shout::make('so-important')
->content('This is a test')
->icon('heroicon-s-circle-check')
use Awcodes\Shout\Components\Shout;
Shout::make('so-important')
->content('This is a test')
->iconSize('sm|md|lg|xl')
use Awcodes\Shout\Components\Shout;
Shout::make('so-important')
->content('This is a test')
->icon(false)
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.