الصفحات · Laravilt
Cards
Configure card layouts for the table grid view.
Laravilt\Tables\Card describes how each record renders in grid view.
Presets
php
Custom cards
php
API reference
| Method | Description |
|---|---|
product(), simple(), media() | Presets |
imageField(), titleField() / title(), subtitle(), descriptionField(), priceField() | Record fields to display |
badge($field, $colorCallback) / badgeField() | Badge field and color |
metadata(array) | Extra fields |
showImage(), imagePosition(), aspectRatio() | Image layout |
padding(), gap(), hoverable(), style() | Appearance |
actionsPosition() | Where row actions appear |
schema(), columns(), header(), footer() | Advanced content |