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
[NEW] Laravel AI SDK: 6 Practical Examples
9 lessons
1 h 02 min
Laravel Coding with AI Agents: Cursor, Claude Code, Codex
5 lessons
1 h 01 min
Laravel Modules and DDD
16 lessons
1 h 59 min