awcodes / shout
A simple inline contextual notice for Filament forms, basically just a fancy placeholder.
Fund package maintenance!
Requires
- php: ^8.2
- filament/filament: ^4.0|^5.0
- spatie/laravel-package-tools: ^1.15
Requires (Dev)
- laravel/pint: ^1.0
- orchestra/testbench: ^9.0|^10.0|^11.0
- pestphp/pest: ^4.3
- pestphp/pest-plugin-laravel: ^4.0
- pestphp/pest-plugin-livewire: ^4.0
- rector/rector: ^2.0
- spatie/laravel-ray: ^1.29
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- 4.x-dev
- v4.1.0
- v4.0.1
- v4.0.0
- 3.x-dev
- v3.0.1
- v3.0.0
- v3.0.0-beta.2
- v3.0.0-beta.1
- 2.x-dev
- v2.1.0
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v2.0.0-beta.1
- v2.0.0-alpha4
- v2.0.0-alpha3
- v2.0.0-alpha2
- v2.0.0-alpha1
- 1.x-dev
- v1.0.1
- v1.0.0
- dev-ci/trigger-on-workbench
- dev-chore/dependabot-auto-merge
- dev-chore/shared-ci
This package is auto-updated.
Last update: 2026-09-09 17:18:58 UTC
README
A simple inline contextual notice for Filament forms and infolist, basically just a fancy placeholder.
Compatibility
| Package Version | Filament Version |
|---|---|
| 1.x | 2.x |
| 2.x | 3.x |
| 3.x | 4.x |
| 4.x | 4.x & 5.x |
Installation
You can install the package via composer:
composer require awcodes/shout
Important
If you have not set up a custom theme and are using Filament Panels follow the instructions in the Filament Docs first.
After setting up a custom theme add the plugin's views to your theme css file or your app's css file if using the standalone packages.
@source '../../../../vendor/awcodes/shout/resources/**/*.blade.php';
Usage
Simply include the component in any of your form or infolists schema() methods.
use Awcodes\Shout\Components\Shout; Shout::make('so-important') ->content('This is a test')
Custom Colors
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'))
Icons
Changing the icon
use Awcodes\Shout\Components\Shout; Shout::make('so-important') ->content('This is a test') ->icon('heroicon-s-circle-check')
Icon Size
use Awcodes\Shout\Components\Shout; Shout::make('so-important') ->content('This is a test') ->iconSize('sm|md|lg|xl')
Disabling the icon
use Awcodes\Shout\Components\Shout; Shout::make('so-important') ->content('This is a test') ->icon(false)
Headings
You can add a heading to your shout using the heading() method. By default , the heading will be a h2 element, but you can override this by using an HtmlString object.
use Awcodes\Shout\Components\Shout; Shout::make('so-important') ->heading('Important Notice') ->content('This is a test')
Actions
You can add actions to your shout using the actions() method. This accepts an array of Filament Action objects.
use Awcodes\Shout\Components\Shout; use Filament\Actions\Action; Shout::make('so-important') ->content('This is a test') ->actions([ Action::make('action1') ->label('Action 1') ->url('https://example.com'), Action::make('action2') ->label('Action 2') ->url('https://example.com'), ])
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Development
Install dependencies and run the test suite:
composer install
composer test
Start the Workbench application:
composer serve
The Workbench is available at /admin. Sign in with test@example.com and password.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.