Summary
Media card for hero banners, product tiles, and call-to-action blocks. Supports background images, gradients, or solid colors, with optional top/footer copy and a footer action button. Cover Card renders on the server and requires no additional JavaScript controller. Its stylesheet is prepared before the first paint when the card is initially visible. Cards inside inactive tabs or closed modals keep demand-based loading. Footer actions use Filament’s action handling; loading is scoped to the clicked action rather than every card on the page. Footer copy and actions stay at the bottom of the card, including cards without a top title. RTL is inherited from the page, or can be enabled on one card withextraAttributes(['dir' => 'rtl']). Text alignment and footer layout follow the
reading direction; the background image keeps its configured position.
Basic usage
Portrait product card
Full-width cinematic banner
Configuration API
All methods acceptClosure unless noted.
Ratios accept positive finite numbers,
width:height, width / height, auto
or null. Zero, negative or malformed dimensions throw an exception. Appearance
options accept CSS values, including variables and gradient functions; additional
declarations, markup and resource-loading functions are rejected. Supply image
URLs through backgroundImage().
If multiple cards use the same action name, give each card a distinct key():
Full width on mobile, compact on desktop
Public helper methods
Real-world examples
Gradient feature strip
Vertical card in a grid
Playground
/admin/flex-fields/cover-card
See Playground for setup.