For AI agents: the complete documentation index is available at https://wallarm.github.io/design-system/llms.txt, the full documentation bundle is available at https://wallarm.github.io/design-system/llms-full.txt, and this page is available as Markdown at https://wallarm.github.io/design-system/patterns/resource-list-page.md.

Resource list page

Components: Page, PageHeader, PageHeaderGroup, PageTitle, PageDescription, PageActions, PageToolbar, PageContent

+15 more

RemoteShellBreadcrumb, Button, SearchInput, SegmentedTabs, SegmentedTabsList, SegmentedTabsTrigger, NumericBadge, Table, TableEmptyState, EmptyState, EmptyStateIllustration, EmptyStateMessage, EmptyStateTitle, EmptyStateDescription, EmptyStateActions

A resource list page is Page with a header, a filter toolbar and one Table. All parts import from @wallarm-org/design-system.

When to use

NeedUseNot
A list of one entity with create, search and a status filterThis patternA Card grid, a hand-built <table>
A list with no create action and no filterPage, PageHeader, PageContent; drop the restA bare Table with a custom heading
One record with its fieldsDetail drawerA one-row table
Many filter dimensions, chips, scopeFiltering in PageToolbarSeveral SegmentedTabs side by side
Column, cell, row menu and bulk bar rulesEntity tableRules from this page
Shell, rails, product menu, breadcrumbsApplication layoutRendering them inside the page

Rules

Spacing counts in pixels: px-24 is 24px. See Spacing.

Frame and spacing

  • If the page lists rows, use <Page fullSize fixedHeight>. The body scrolls; header and toolbar stay put.
  • PageHeader, PageToolbar and PageContent own the 24px side gutter. Never wrap Page or them in a padded container, and never add px-*, py-* or gap-* to PageToolbar or PageContent.
  • Toolbar to table is 12px, and search to tabs is 12px. Both are automatic; add nothing.
  • Put Table straight into PageContent. It aligns to the gutter.
  • Never put the search or the status tabs inside PageHeader or PageContent. They go in PageToolbar.

Header

  • The trail ("Settings › Users") is RemoteShellBreadcrumb, above the page; see Application layout. Never put Breadcrumbs in PageHeader.
  • The title repeats the last crumb.
  • Give PageHeaderGroup className='flex-1' so a long description never pushes the buttons down.
  • Write PageDescription as one plain sentence: what the entity is and how it relates to sibling pages.
  • Show one primary button in PageActions, labelled "Create" plus the entity: "Create user".
  • Use Button size='medium' (32px) in PageActions. The default large is 36px.
  • If there is a code-first alternative ("Edit as code"), make it variant='secondary' in the same PageActions.

Toolbar

  • Give SearchInput className='w-[320px]' and a placeholder naming the searched fields: "Search name or email". Keep the default size.
  • SearchInput has a built-in clear button that calls onChange(''). Never add a separate Clear button.
  • Use SegmentedTabs with value and onChange(value: string) as the status filter. It has no onValueChange.
  • Put the count in a NumericBadge inside each SegmentedTabsTrigger, after the label. Recompute counts when data changes.
  • Never add SegmentedTabsContent for a filter. The tabs change data; the one Table stays.
  • If you need filters beyond the one status filter, use FilterInput or Filtering.

Table

  • Pass getRowId so selection and row state survive refetches.
  • Row actions live in the master cell: meta.renderMenuAction on the first column. Never add a trailing actions column; see Entity table.

What does not exist

There is no breadcrumbs prop or slot on Page or PageHeader, no PageBreadcrumbs, no size prop on PageTitle, no className on SegmentedTabs, and no DRAWER_SIZES or DIALOG_SIZES export.

Examples

The page frame: a fixed-height Page with the table directly in PageContent.

The whole page: title, description and one create action in the header; search and status tabs with counts in the toolbar; a user table with a status badge and a row menu in the master cell. Search and tabs filter the rows.

A header with a title block and one create action.

The title repeats the last crumb of the product's trail; one create action sits on the right.

A toolbar with search and status tabs that carry counts.

Search clears with its built-in button; the tabs filter the one table, with no tab panels.

No results: type='collection-empty' with a button that resets filters.

Search or a tab matched nothing: "No results found" with a "Reset filters" button that clears both. The header keeps its one create action; the empty state never adds another, and never uses type='no-results' (that is for cards and menus).

Nothing exists yet: the same type='collection-empty', with no button.

Nothing exists yet: the real header with its create button, the toolbar, and an empty state with no button of its own — one create action per screen.

States

StateShowExample component
First loadSkeleton rows under a real header. Never a Loader in place of the table<Table data={[]} isLoading />
Loading moreKeep data, set isLoading; skeletons append below. Never clear data while fetchingTable isLoading
Nothing exists yetHeader with its create button, toolbar, empty state with no button (one create action per screen)TableEmptyState › EmptyState type='collection-empty'
Search or tab matched nothing"No results found" and a "Reset filters" button. Never a create CTA, never type='no-results' (that is for cards and menus)TableEmptyState › EmptyState type='collection-empty'
Search activeThe typed value stays in the fieldSearchInput
Request failed"Couldn't load {items}" + "Try again" in place of the rows; header and toolbar stayTableEmptyState › EmptyState

What your app owns

ConcernRecipe
Shell and railsThe page renders Page only, inside RemoteShellContent. See Application layout
Fetching, search, status filterPass the filtered array as data; set isLoading while fetching
Status countsCompute from the server or the full array
Create flowShort form: Dialog from @wallarm-org/design-system/Dialog. Long form: Drawer. See Create and edit forms
Detail drawer widthPresets are 640, 960 and 1130. Figma uses 700; pass width={640} unless design confirms 700. See Detail drawer
URL stateSync query and status to the URL yourself; there is no router integration
Error statePass the failure and the retry yourself; see Empty states