New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

ngankt2/filament-auth-ui

Simple split layout auth UI for Filament panels
9
Install
composer require ngankt2/filament-auth-ui
Latest Version:v1.0.0
PHP:^8.3
Laravel:10 – 13
License:MIT
Last Updated:Dec 15, 2025
Links: GitHub  ·  Packagist
Maintainer: ngankt2

Ngankt2 Auth UI

A beautiful split-layout authentication UI plugin for Filament v4 panels with configurable form position and feature cards.

Screenshots

Form Left Layout

Form Left Demo

Form Right Layout

Form Right Demo

Installation

composer require ngankt2/filament-auth-ui

Usage

Add the plugin to your Panel Provider:

use Ngankt2\AuthUi\AuthUIPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugin(
            AuthUIPlugin::make()
                ->formPosition('left')  // or 'right'
                ->featureCards([
                    [
                        'icon' => 'heroicon-o-academic-cap',
                        'title' => 'Learn Anywhere',
                        'brief' => 'Access courses from any device'
                    ],
                    [
                        'icon' => 'heroicon-o-user-group',
                        'title' => 'Community',
                        'brief' => 'Connect with thousands of learners'
                    ],
                    [
                        'icon' => 'heroicon-o-chart-bar',
                        'title' => 'Track Progress',
                        'brief' => 'Personal dashboard for your journey'
                    ],
                ])
        );
}

Configuration Options

Form Position

->formPosition('left')   // Login form on left (default)
->formPosition('right')  // Login form on right

Feature Cards

Display promotional cards alongside the login form:

->featureCards([
    [
        'icon' => 'heroicon-o-sparkles',  // Any Heroicon
        'title' => 'Card Title',
        'brief' => 'Short description'
    ],
    // ... more cards (recommended: 3-4)
])

If no cards are configured, skeleton placeholders are shown automatically.

Background Image (Legacy)

->backgroundImage('/images/auth-bg.jpg')

Form Styling

->formWidth('400px')           // Form panel width
->formBackgroundColor('#fff')  // Form background color

Social Logins

->socialLogins([
    [
        'url' => '/auth/google',
        'label' => 'Đăng nhập bằng Google',
        'svg' => '<svg viewBox="0 0 24 24" width="20" height="20">...</svg>',
    ],
    [
        'url' => '/auth/facebook',
        'label' => 'Đăng nhập bằng Facebook', 
        'icon' => 'heroicon-o-globe-alt',  // or use svg
        'color' => '#1877F2',  // optional button color
    ],
])

Requirements

  • PHP 8.3+
  • Laravel 11+
  • Filament 4.0+

License

MIT

Related Packages

fauzie811/filament-list-entry

List Entry for Filament Infolist

24,231 15
thiktak/filament-simple-list-entry

Simple List Entry for Infolist

6,782 23
inerba/filament-db-config

A Filament plugin for database-backed application settings and editable content,...

22,807 37
noxoua/filament-coupons

A flexible coupon management system for Filament

469 4

Version History

Version Released PHP License
v1.0.0 ^8.3 MIT