Skip to content

Overview

If you use bezhanSalleh/filament-shield for roles and permissions, Aura Filament styles its pages automatically with zero extra setup.

Shield is optional. If you don't have it installed, no CSS is loaded and there's no overhead.

What you get:

  • Hero header for Role and Permission resource pages
  • Restyled tabs with active state
  • Permission checkbox grid with a visual selection state (border + glow)
  • Role badge pills in tables

Setup

1. Install Shield

composer require bezhanSalleh/filament-shield
php artisan shield:install admin

2. Aura styles apply automatically

No configuration needed. Aura Filament detects Shield via class_exists() and loads shield.css conditionally.

Customization

The Aura styles target Shield's resource CSS class names (.fi-resource-shield-role-resource). If you customize Shield's class names, extend shield.css to match or add your own overrides.

Compatibility

  • Shield v3+
  • Filament v4 and v5

What is NOT overridden

Aura Filament does not fork Shield logic. It only adds visual polish. All Shield features (role assignment, permission matrix, resource generation) work identically.