© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago
abdosaeedelhassan

Custom Tab component

Hi, is there a way to extends Tab class and make custom form component, am tried like next

use Filament\Forms\Components\Tabs\Tab;
use Filament\Forms\Concerns\InteractsWithForms;
use Filament\Forms\Contracts\HasForms;
use Filament\Forms\Form;

class HasTab extends Tab implements HasForms
{
    use InteractsWithForms;


    protected string $view = 'app-settings::filament.tabs.default';


    public static function make(string $label = null): static
    {
        return parent::make((new static(''))->getLabel());
    }

    public function form(Form $form): Form
    {
        return $form
            ->schema([]);
    }
}

use Filament\Forms\Components\Tabs\Tab;
use Filament\Forms\Concerns\InteractsWithForms;
use Filament\Forms\Contracts\HasForms;
use Filament\Forms\Form;

class HasTab extends Tab implements HasForms
{
    use InteractsWithForms;


    protected string $view = 'app-settings::filament.tabs.default';


    public static function make(string $label = null): static
    {
        return parent::make((new static(''))->getLabel());
    }

    public function form(Form $form): Form
    {
        return $form
            ->schema([]);
    }
}

in blade when i tried
{{$this->form}}
{{$this->form}}

it hanging up the browser
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

Custom Tab or custom tab view component
FilamentFFilament / ❓┊help
2y ago
Render lifewire component in tab
FilamentFFilament / ❓┊help
3y ago
Tab on custom page
FilamentFFilament / ❓┊help
2y ago
Custom browser tab title
FilamentFFilament / ❓┊help
2y ago