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
Next.js Basics for Laravel Developers
11 lessons
58 min
Laravel 13 Starter Kit Teams and Customizations
10 lessons
33 min
Queues in Laravel 13
18 lessons
1 h 12 min read