1. Go to this page and download the library: Download asignua/filament-clusters 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/ */
asignua / filament-clusters example snippets
use Asignua\FilamentClusters\ClustersPlugin;
$panel->plugin(ClustersPlugin::make());
use Asignua\FilamentClusters\Cluster;
use Filament\Forms\Components\TextInput;
Cluster::make([
TextInput::make('first_name')->label('First name')->);
Cluster::make([...])->columns(4); // 4 equal columns on every screen
Cluster::make([...])->columns(['default' => 1, 'sm' => 2]); // stacked on mobile
Cluster::make([...])->stackBelow('md'); // one per line below md, a row from md up
Cluster::make([...])->columns(1); // a vertical cluster