Filament plugin that provides a new Accordion component for forms.
You can install the package via composer:
composer require sematico/filament-accordion
Optionally, you can publish the views using
php artisan vendor:publish --tag="filament-accordion-views"
use Sematico\FilamentAccordion\Forms\Components\Fields\Accordions;
Accordions::make('article')
->label( __( 'Article settings' ) )
->accordions([
Accordions\Accordion::make('my_accordion')
->label( __( 'Accordion 1' ) )
->description( __( 'Optional description' ) )
->schema([
// Form inputs here...
]),
Accordions\Accordion::make('my_other_accordion')
->label( __( 'Accordion 2' ) )
->description( __( 'Optional description' ) )
->schema([
// Form inputs here...
]),
])
->compact(),
composer test
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.