Download the PHP package icetalker/filament-tab-repeater without Composer
On this page you can find all versions of the php package icetalker/filament-tab-repeater. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download icetalker/filament-tab-repeater
More information about icetalker/filament-tab-repeater
Files in icetalker/filament-tab-repeater
Package filament-tab-repeater
Short Description Display Repeater as Tab
License MIT
Homepage https://github.com/icetalker/filament-tab-repeater
Informations about the package filament-tab-repeater
Display Repeater as Tab
TabRepeater is a custom form component for Filament v4/v5 that replaces the standard Repeater UI with a clean, horizontal tabbed interface.
It preserves all native Filament Repeater functionality—such as cloning, deleting, adding, and reordering—while dramatically improving the layout for multi-field dynamic items.
Key Features
-
Dynamic Icons: Assign static icons or evaluate dynamic icons based on item state .
-
Drag-and-Drop Tab Sorting: Drag tab headers horizontally to reorder items seamlessly with backend Livewire state sync.
- Form State Compatibility: Built directly on top of Filament's Repeater component class, maintaining native form state handling.
Installation
You can install the package via composer:
You can publish the views using
Usage
Basic Usage
Advanced Options
Dynamic Tab Icons
Use itemIcon() to supply a static Heroicon name or pass a Closure to evaluate icons dynamically based on form input:
Enabling or Disabling Drag-and-Drop Sorting
Reordering is enabled by default. Control it using standard Repeater methods:
Customize CSS Style For Tab Content
To customize css styles for the tab content contianers, you may call tabContentStyle() method, and pass a css style string or a Closure to return css styles dynamically:
Use Case
Here are the most compelling real-world use cases where a TabRepeater outperforms Filament’s standard stacked Repeater:
- Multilingual / Content Localization (i18n)
The Challenge: When managing multi-language content (e.g., blog posts, products, or SEO meta titles/descriptions in English, Spanish, German, and Chinese), a standard repeater creates a massive, scrolling vertical form.
Why TabRepeater Wins: Each language gets its own clean tab with a flag or language icon, keeping the interface compact and focused on one locale at a time.
- E-Commerce Product Variants & Custom Options
-
The Challenge: Configuring complex SKU variants (e.g., Size + Color combos, Custom Apparel Options, or Pet Accessories) requires dozens of fields per variant: Price, Sale Price, SKU, Stock, Dimensions, Images, and Custom Attributes. Standard repeaters quickly turn into a wall of inputs.
- Why TabRepeater Wins: Merchants can click through tabs like "Large / Red", "Medium / Blue", drag tabs to reorder display hierarchy, and identify active inventory items at a glance.
- Hero Sliders & Banner Management
-
The Challenge: Homepage slider blocks typically include a desktop image, mobile image, heading, subheading, CTA button text, CTA URL, overlay opacity, and slide order.
- Why TabRepeater Wins: Sorting horizontal slides via drag-and-drop tab headers feels much more natural for content editors than dragging long vertical cards.
- Pricing Tiers & Subscription Plans
-
The Challenge: Managing SaaS or membership tiers (e.g., Basic, Pro, Enterprise) involves deep schemas: tier name, monthly price, annual price, feature checklist, highlight badges, and limits.
- Why TabRepeater Wins: Editors can quickly compare side-by-side settings across "Basic", "Pro", and "Enterprise" by clicking between tabs rather than scrolling up and down a long page.
- Multi-Branch / Store LocationsThe Challenge:
-
Businesses managing regional offices or store locations need to input operating hours, addresses, store managers, contact details, and custom map coordinates for each branch.
- Why TabRepeater Wins: Admins see branch names cleanly organized across the tab bar ("New York Branch", "London Branch", "Tokyo Branch") with error badges alerting them if mandatory fields are missing in a specific location.
Feature Comparison
| Feature Need | Standard Repeater |
TabRepeater |
|---|---|---|
| Deep Sub-schemas (5+ fields per item) | ❌ Long vertical page scrolling | ✅ Compact horizontal isolation |
| High Item Count (8+ items) | ❌ Overwhelming UI | ✅ Scrollable tab header bar |
| Visual Organization | ❌ Uniform stacked boxes | ✅ Tab labels with dynamic icons |
| Reordering↕️ | Vertical drag | ↔️ Horizontal drag-and-drop |
All versions of filament-tab-repeater with dependencies
filament/forms Version ^4.0||^5.0
spatie/laravel-package-tools Version ^1.15.0