On this page
In Forms
to use Lara Zeus accordion in your 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:
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,