© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•11mo ago•
1 reply
milo

Form Label Width

For my form schema I have this setting

->inlineLabel() ->extraAttributes(['class' => 'gap-y-2'])
->inlineLabel() ->extraAttributes(['class' => 'gap-y-2'])



And my form component is something like this
Forms\Components\TextInput::make('BarcodeNo')->label('BarcodeNo')->maxLength(15)->default(null),
Forms\Components\TextInput::make('BarcodeNo')->label('BarcodeNo')->maxLength(15)->default(null),


My question is if I can set label width. Because the gap between label and my TextInput is too much
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Form layout width
FilamentFFilament / ❓┊help
3y ago
reduce label form gap
FilamentFFilament / ❓┊help
3y ago
Form select createOptionForm modal width
FilamentFFilament / ❓┊help
3y ago
Label on form field, custom view
FilamentFFilament / ❓┊help
3y ago