accordion

In Forms

to use Lara Zeus accordion in your forms:

using accordion component in forms
1\LaraZeus\Accordion\Forms\Accordions::make('Options')
2 ->activeAccordion(2)
3 ->isolated()
4 
5 ->accordions([
6 \LaraZeus\Accordion\Forms\Accordion::make('main-data')
7 ->columns()
8 ->label('User Details')
9 ->icon('iconpark-commentone')
10 ->badge('New Badge')
11 ->badgeColor('info')
12 ->schema([
13 TextInput::make('name')->required(),
14 TextInput::make('email')->required(),
15 ]),
16 ]),
17,

In Infolist

to use Lara Zeus accordion in your infolist:

using accordion component in infolist
1\LaraZeus\Accordion\Infolists\Accordions::make('Options')
2 ->activeAccordion(2)
3 ->isolated()
4 
5 ->accordions([
6 \LaraZeus\Accordion\Infolists\Accordion::make('main-data')
7 ->columns()
8 ->label('User Details')
9 ->icon('iconpark-commentone')
10 ->schema([
11 TextInput::make('name')->required(),
12 TextInput::make('email')->required(),
13 ]),
14 ]),
15,

Zeus is an open-source project. Thanks to my sponsors for helping me maintain this project.