Admin List Page
A common shell for any "manage X" page: a page header, a search filter, a data table with per-row actions, and an empty state when the filter matches nothing. Combines PxHeader, PxListLayout, PxFilterBar, PxDataTable, PxDropdownMenu, PxBadge, and PxEmptyState.
Admin List Page
Team Members
Name | Role | Status | |
|---|---|---|---|
| Alice Smith | Admin | Active | |
| Bob Jones | Editor | Active | |
| Carla Diaz | Viewer | Suspended |
Showing 1 to 3 of 3 items
1 / 1
Why this shape
PxHeaderlives outsidePxListLayout— the layout only exposestabs,filter, and a default content slot, not a header slot (seePxListLayout's slot table).- The empty state is manual.
PxDataTabledoesn't render one automatically whenitemsis empty, so switch betweenPxEmptyStateandPxDataTablewithv-if/v-elseon your filtered list, as shown above. - Row actions use
slotName, not a dedicatedactionsprop — any column can point at a named slot, which is how both the status badge and the dropdown menu get into the table.