> ## Documentation Index
> Fetch the complete documentation index at: https://flex-fields.bjanczak.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Examples target Filament 5. Verify optional dependencies before configuring integrations.
> Upload transfer completion, permanent storage and record acceptance are separate milestones. Native and Spatie image conversions retain the original.

# Avatar collections

> Browse 96 illustrated avatars across the five FLEX Fields gallery collections.

Preview the five FLEX collections available in the avatar picker. Choose a collection to see its artwork.

> [tab] Animals
>
> ![Collage of the 31 illustrated avatars in the Animals collection](https://mintcdn.com/flex-fields/JgtcjQkJElQLZ-7_/docs/assets/avatar-collections/kolaz-animals.webp?fit=max\&auto=format\&n=JgtcjQkJElQLZ-7_\&q=85\&s=b856b4cc7860d61e8e7099295e4f4182)

> [tab] Art
>
> ![Collage of the 20 illustrated avatars in the Art collection](https://mintcdn.com/flex-fields/JgtcjQkJElQLZ-7_/docs/assets/avatar-collections/kolaz-art.webp?fit=max\&auto=format\&n=JgtcjQkJElQLZ-7_\&q=85\&s=08ffe69ed9e3b05ceefd95eb2dd0f885)

> [tab] Olympus
>
> ![Collage of the 20 illustrated avatars in the Olympus collection](https://mintcdn.com/flex-fields/JgtcjQkJElQLZ-7_/docs/assets/avatar-collections/kolaz-greek.webp?fit=max\&auto=format\&n=JgtcjQkJElQLZ-7_\&q=85\&s=b4ee3740da580a6268654267dc1ac9b2)

> [tab] Slavia
>
> ![Collage of the 12 illustrated avatars in the Slavia collection](https://mintcdn.com/flex-fields/JgtcjQkJElQLZ-7_/docs/assets/avatar-collections/kolaz-slavic.webp?fit=max\&auto=format\&n=JgtcjQkJElQLZ-7_\&q=85\&s=caf8da3717a9b03273cca1a7098c3d72)

> [tab] Nile
>
> ![Collage of the 13 illustrated avatars in the Nile collection](https://mintcdn.com/flex-fields/JgtcjQkJElQLZ-7_/docs/assets/avatar-collections/kolaz-egypt.webp?fit=max\&auto=format\&n=JgtcjQkJElQLZ-7_\&q=85\&s=3b9084d66db3047d527fc0f58ce19f94)

## Use a collection in your form

Call `avatarGallery()` to enable all five FLEX collections. To show only one collection, pass it to the gallery configuration.

```php theme={"theme":{"light":"github-light","dark":"github-dark"}}
use Bjanczak\FilamentFlexFields\Filament\Forms\Components\FlexImageUpload;
use Bjanczak\FilamentFlexFields\Support\FileUpload\Avatar\AvatarCollection;
use Bjanczak\FilamentFlexFields\Support\FileUpload\Avatar\AvatarGallery;

FlexImageUpload::make('avatar')
    ->imagesOnly()
    ->avatar()
    ->avatarGallery(new AvatarGallery([
        AvatarCollection::flexPack(category: 'slavic'),
    ]));
```

For custom collections, optional DiceBear styles and storage examples, see the [avatar gallery guide](https://flex-fields.bjanczak.com/docs/file-upload-avatar-gallery.md). The illustrations are also available for other frameworks in the [FLEX Avatars package](https://github.com/janczakb/flex-avatars).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.