If you want to override the label(s) of fields in the register form, follow the steps below. The same logic applies for customizations of the login form.
Step 1. Create a class extending the Filament\Pages\Auth\Register.
app/Filament/Pages/Register.php
namespace App\Filament\Pages; use Filament\Pages\Auth\Register as BaseRegister; class Register extends BaseRegister{ // Any customizations will go here}
Step 2. Specify that class in the PanelProvider.
app/Providers/Filament/AdminPanelProvider.php
use App\Filament\Pages\Register; // ... public function panel(Panel $panel): Panel ->id('admin') ->path('admin') ->login() ->registration(Register::class)
Step 3. Override methods like getNameFormComponent(), getPasswordFormComponent(), etc.
app/Filament/Pages/Register.php
class Register extends BaseRegister{ protected function getNameFormComponent(): Component { return TextInput::make('name') ->label('Full name') ->required() ->maxLength(255) ->autofocus(); }}
For the list of available methods to override, check the Filament source code.
Enjoyed This Tip?
Get access to all premium tutorials, video and text courses, and exclusive Laravel resources. Join our community of 10,000+ developers.
Recent Courses on Laravel Daily
[NEW] NativePHP Mobile v4 with SuperNative: Mini-Course
5 lessons
18 min
[NEW] Mobile Apps: React Native vs Flutter vs NativePHP?
8 lessons
55 min
Laravel 13 Starter Kit Teams and Customizations
10 lessons
33 min