PHP code example of jeffersongoncalves / filament-skeleton

1. Go to this page and download the library: Download jeffersongoncalves/filament-skeleton library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

jeffersongoncalves / filament-skeleton example snippets


use JeffersonGoncalves\Filament\Skeleton\SkeletonPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugin(SkeletonPlugin::make());
}

SkeletonPlugin::make()
    ->animate('pulse') // 'shimmer' (default), 'pulse' or null for a static skeleton
    ->delay(300);      // ms a request must run before the skeleton shows (default 200), so fast responses don't flash

TextEntry::make('status')
    ->extraAttributes(['data-no-skeleton' => true]);

Section::make('Live data')
    ->extraAttributes(['data-no-skeleton' => true])
    ->schema([...]);