© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
10 replies
dyo

about form layout

Sorry, i've a bunch of question about form layout..

1. How can I have a grid inside grid? (red mark)
2. How can I have radio component with label above inline options? (blue mark)
3. How can I have 2 toggle component in one line of other TextInput component? (brown mark)
image.png
Solution
you can use a view component + css
https://filamentphp.com/docs/2.x/forms/layout#view

View::make('custom-view')
    ->label('Status campaign')
    ->schema([
        Radio::make('status')->options([
            'Aktif' => 'Aktif',
            'Tidak Aktif' => 'Tidak Aktif',
            'Selesai' => 'Selesai'
        ])
        ->inline()
        ->disableLabel()
    ])
View::make('custom-view')
    ->label('Status campaign')
    ->schema([
        Radio::make('status')->options([
            'Aktif' => 'Aktif',
            'Tidak Aktif' => 'Tidak Aktif',
            'Selesai' => 'Selesai'
        ])
        ->inline()
        ->disableLabel()
    ])


<!-- custom-view.blade.php -->
<div>
    <span class="text-sm font-medium">
        {{ $getLabel() }}
    </span>
    {{ $getChildComponentContainer() }}
</div>
<!-- custom-view.blade.php -->
<div>
    <span class="text-sm font-medium">
        {{ $getLabel() }}
    </span>
    {{ $getChildComponentContainer() }}
</div>
Filament
Layout - Form Builder - Filament
The elegant TALL stack form builder for Laravel artisans.
Layout - Form Builder - Filament
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Form layout width
FilamentFFilament / ❓┊help
3y ago
Split Grid Form Layout
FilamentFFilament / ❓┊help
13mo ago
Custom Form Layout Strategy
FilamentFFilament / ❓┊help
2y ago
form layout like demo
FilamentFFilament / ❓┊help
3y ago