> ## Documentation Index
> Fetch the complete documentation index at: https://filament-34a8cf01.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Repeatable entry

> [!WARNING]
>
> You are currently viewing the documentation for Filament 3.x, which is a previous version of Filament.
>
> Looking for the current stable version? Visit the [5.x documentation](https://filament-34a8cf01.mintlify.site/5.x/infolists).

## Overview

The repeatable entry allows you to repeat a set of entries and layout components for items in an array or relationship.

```php theme={"theme":"gruvbox-dark-hard"}
use Filament\Infolists\Components\RepeatableEntry;
use Filament\Infolists\Components\TextEntry;

RepeatableEntry::make('comments')
    ->schema([
        TextEntry::make('author.name'),
        TextEntry::make('title'),
        TextEntry::make('content')
            ->columnSpan(2),
    ])
    ->columns(2)
```

As you can see, the repeatable entry has an embedded `schema()` which gets repeated for each item.

Loading preview

![Repeatable entry](https://filament-34a8cf01.mintlify.site/docs/images/3.x/light/infolists/entries/repeatable/simple.jpg)

## Grid layout

You may organize repeatable items into columns by using the `grid()` method:

```php theme={"theme":"gruvbox-dark-hard"}
use Filament\Infolists\Components\RepeatableEntry;

RepeatableEntry::make('comments')
    ->schema([
        // ...
    ])
    ->grid(2)
```

This method accepts the same options as the `columns()` method of the [grid](https://filament-34a8cf01.mintlify.site/3.x/infolists/layout/grid.md). This allows you to responsively customize the number of grid columns at various breakpoints.

Loading preview

![Repeatable entry in grid layout](https://filament-34a8cf01.mintlify.site/docs/images/3.x/light/infolists/entries/repeatable/grid.jpg)

## Removing the styled container

By default, each item in a repeatable entry is wrapped in a container styled as a card. You may remove the styled container using `contained()`:

```php theme={"theme":"gruvbox-dark-hard"}
use Filament\Infolists\Components\RepeatableEntry;

RepeatableEntry::make('comments')
    ->schema([
        // ...
    ])
    ->contained(false)
```

[Edit this page on GitHub](https://github.com/filamentphp/filament/edit/3.x/packages/infolists/docs/03-entries/07-repeatable.md)

## Sponsored by

[Your logo here](https://github.com/sponsors/danharrin)


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