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

# Favorites Bar

> Configure the Favorites Bar with six different themes and customize its appearance, including Quick Save and View Manager integration.

The Favorites Bar is home to all of a user's favorite views as well as Quick Save and View Manager. The Favorites Bar can be customized in a variety of ways to match the needs of your application.

## Favorites Bar configuration

Unless specified otherwise, these customizations can be configured directly on the `AdvancedTablesPlugin` object inside your `PanelProvider`.

### Themes

Advanced Tables includes six different themes for the Favorites Bar:

1. Links
2. Simple links
3. Branded tabs
4. Tabs
5. Github (New, default)
6. Filament (New)

You can change the theme with the 'favoritesBarTheme()\` method:

```php theme={null}
use Archilex\AdvancedTables\Enums\FavoritesBarTheme;

AdvancedTablesPlugin::make()
    ->favoritesBarTheme(FavoritesBarTheme::Filament)
```

You may also use the corresponding string instead:

```php theme={null}
AdvancedTablesPlugin::make()
    ->favoritesBarTheme('filament')
```

> Note: Since `links-simple` only has color to visually distinguish between active and in-active states, it is recommended you [disable the ability to select a color](/v3/features/user-views#disabling-the-color-picker) for their User Views since it becomes difficult to know which link is active.

### Size

You may change the size of the Favorites Bar links to allow more links to be shown with the `favoritesBarSize()` method:

```php theme={null}
use Filament\Support\Enums\ActionSize;

AdvancedTablesPlugin::make()
    ->favoritesBarSize(ActionSize::Small)
```

Available sizes are: `ActionSize::Small` and `ActionSize::Medium`.

### Icon position

You may change the position of a view's icon in the Favorites Bar using the `favoritesBarIconPosition()` method:

```php theme={null}
use Filament\Support\Enums\IconPosition;

AdvancedTablesPlugin::make()
    ->favoritesBarIconPosition(IconPosition::Before)
```

### Disabling the Default View

By default, the Favorites Bar includes a Default View (previously named All). Clicking this will completely reset the table back to its default settings. You may disable the Default View using the `favoritesBarDefaultView()` method:

```php theme={null}
AdvancedTablesPlugin::make()
    ->favoritesBarDefaultView(false)
```

You may also disable the Default View per resource by overriding the `hasDefaultView()` method in the class where you have added the AdvancedTables trait:

```php theme={null}
public function hasDefaultView(): bool
{
    return false;
}
```

> Note: In prior versions this view was named `All`, however when clicking this view, it actually resets the table to it's ***default*** settings, which may or may not contain all the records. For this reason, it was renamed to `default` in version 3. However, you may change the name of the Default View in the [language file](/v3/configuration/additional-configurations#language-files).

> Tip: If you need an `All` button in addition/instead of a `Default` button, you can easily create a [Preset View](/v3/features/preset-views#creating-a-preset-view) that shows the data you need.

### Default View icon

You may change the icon used for the Default View using the `favoritesBarDefaultIcon()` method:

```php theme={null}
AdvancedTablesPlugin::make()
    ->favoritesBarDefaultIcon('heroicon-o-home')
```

To remove the Default View icon, don't pass anything to the method: `favoritesBarDefaultIcon()`

### Divider

If using both Preset Views and User Views, it may be helpful to have a divider line to help users visually distinguish between the two. You may use the `favoritesBarDivider()` method to enable this:

```php theme={null}
AdvancedTablesPlugin::make()
    ->favoritesBarDivider()
```

For more ways to distinguish between Preset Views and Users Views, please read the section [Distinguishing between Preset Views and Users Views](/v3/features/preset-views#distinguishing-between-preset-views-and-users-views)

### Loading Indicator (New)

You may show a loading indicator when switching between views by using the `favoritesBarLoadingIndicator()` method:

```php theme={null}
AdvancedTablesPlugin::make()
    ->favoritesBarLoadingIndicator()
```

### Disabling the Favorites Bar

You can disable the Favorites Bar entirely (helpful if you only want to use [reorderable columns](/v3/features/reorderable-columns)) by passing `false` to the `favoritesBarEnabled()` method:

```php theme={null}
AdvancedTablesPlugin::make()
    ->favoritesBarEnabled(false)
```

You may also configure this per table by overriding the `favoritesBarIsEnabled()` method on your List page:

```php theme={null}
class ListOrders extends ListRecords
{
    use AdvancedTables; 

    public static function favoritesBarIsEnabled(): bool
    {
        return false;
    }
    ...
```

You may also disable [Quick Save](/v3/features/quick-save#disabling-quick-save) or the [View Manager](/v3/features/view-manager#disabling-the-view-manager) if needed.
