Caution
This branch is Work In Progress and should not be considered production-ready.
For a full list of available flags see the SVG directory.
- Form : Select, TextInput (prefix)
- Entry : IconEntry / ImageEntry
- Column : IconColumn / SelectColumn
- SelectInput
- MultiSelectInput (tags)
- Documentation
Install the plugin with Composer:
composer require andromede/filament-flags:"^1.0"
To use the flags form:
use Andromede\FilamentFlags\Components\Forms\FlagsInput;
FlagsInput::make('flag')
>size('small') // small, medium, large
To use the flags column:
use Andromede\FilamentFlags\Components\Columns\FlagsIconColumn;
FlagsIconColumn::make('flag')
->size('small') // small, medium, large
To use the flags entry:
use Andromede\FilamentFlags\Infolists\Components\FlagsEntry;
FlagsEntry::make('flag')
->size('small') // small, medium, large
<x-icon name="flag-country-{{ $code }}" />
<x-icon name="flag-language-{{ $code }}" />
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.