Appearance
Every action accepts the same appearance modifiers. Chain them after create(), row(), header(), or bulk().
actions .row('escalate', 'Escalate') .color('accent') .icon('arrow-up') .ungrouped()
actions .header('export', 'Export CSV') .icon('download') .color('gray')Colors
Section titled “Colors”| Token | Typical use |
|---|---|
primary |
Default affirmative actions |
accent |
Secondary highlight (escalate, promote) |
danger |
Destructive (delete comes with this by default) |
gray |
Neutral / quiet toolbar actions |
The host maps known icon ids to Heroicons-style SVG paths. Known names:
| Id | Aliases | Glyph |
|---|---|---|
eye |
view |
View |
pencil |
edit, pencil-square |
Edit |
trash |
delete, trash-2 |
Delete |
plus |
create |
Create |
arrow-up |
— | Escalate / promote |
download |
— | Export |
check |
— | Resolve / confirm |
bell |
— | Notification |
Unknown ids fall back to an ellipsis glyph — pick a known id for a distinct icon.
Grouping (row actions)
Section titled “Grouping (row actions)”Row actions default to the ⋮ menu. Call .ungrouped() (or .grouped(false)) to show an inline toolbar button beside the menu — Filament’s “not in group” idea without nested ActionGroup trees.
actions.view() // inside ⋮actions.edit() // inside ⋮actions.row('escalate', 'Escalate') .icon('arrow-up') .ungrouped() // visible buttonHeader and bulk actions ignore grouping; they always render in their respective bars.
Appearance API
| Method | Description |
|---|---|
.label(text) | Override the button label. |
.color(token) | primary | accent | danger | gray |
.icon(name) | Icon id from the table above. |
.grouped(bool?) | Row only: true = ⋮ menu (default). |
.ungrouped() | Row only: show inline outside the menu. |