← UX Page Patterns

Table Level Action Pattern

Table-Level Action Pattern Definition

Table-level actions are controls that operate on a table as a whole or its immediate context — not on individually selected rows. This page defines where these actions belong relative to the table, how their placement communicates scope, and how the pattern varies across four table contexts: filter-dependent actions, section-level actions, bulk row actions, and inline row builders embedded inside a larger form. As of the Create Rule reference screen, all four contexts now follow one unified placement rule: top-right, above the table.

Direction update (this revision): earlier versions of this page placed Pattern 4’s "+ Add [Row]" below the table, as a documented exception. The Create Rule screen showing "Add Condition" moved to the top, alongside an icon-only Refresh button and an "Actions" overflow button, establishes the direction going forward: every table-level action lives top-right, every button carries an icon, and more than two buttons collapse into a single Actions overflow. This supersedes the bottom-placement exception previously documented for Pattern 4.

Users & Jobs to Be Done

User

Job to Be Done

Admin / Super Admin

"Find the right processing period and trigger a data refresh without losing context on what changed."

Comp Admin

"Edit or collapse a section of my configuration without accidentally triggering the wrong action."

Any role

"Select and act on multiple records at once without navigating away from the table."

Rule / Plan Builder (Comp Admin)

"Add tags, conditions, or tiers to my rule as I build it, and quickly refresh or manage them, all from one predictable toolbar."

Problem Statement

Across our product, tables appear in many contexts — full-page list views, embedded panels, configuration sections, and small builder tables inside forms — and each context has historically placed actionable controls in slightly different locations, with inconsistent use of icons and no shared rule for handling more than a couple of buttons. This forces users to hunt for buttons, creates ambiguity about which action affects which table, and breaks down when multiple tables are stacked on the same page. The guiding principle of this pattern is that an action’s placement should make its scope immediately obvious, and that scope should never be ambiguous with a neighboring element — and now, additionally, that every action should be visually predictable in position, iconography, and grouping, no matter which table it belongs to.

Buttons

Always top-right, above the table — no exceptions, including row-insertion actions (Pattern 4). Every button carries an icon. When more than two buttons would appear, the extras collapse into one bordered "Actions" button (kebab icon).

Filters

When the action re-fetches table data, filters and the action share one horizontal row. Row builder tables (Pattern 4) have no filters at all — they are not searchable or paginated, but their action buttons still sit top-right.

Table

Single-row click (Patterns 1 & 2), multi-select (Pattern 3), or directly editable inline rows with no pagination (Pattern 4).

Anatomy

#

Element

Description

1

Action row

Horizontal toolbar above the table, for every sub-pattern including row builders. Never shares space with unrelated components.

2

Action button(s)

Right-aligned. Every button carries an icon — leading icon + label for most actions, icon-only for universally recognized ones (e.g. Refresh). At most two visible before collapsing into Actions.

3

Filter controls (Pattern 1)

Dropdown/select inputs sharing the row with the action button, communicating that these inputs together determine the table’s contents.

4

Section title (Pattern 2)

Heading row that houses section-level action buttons aligned to its right. Communicates that the action affects the section, not a specific table row.

5

Row checkboxes (Pattern 3)

Leftmost column. Checking one or more rows triggers the selection state and reveals bulk action buttons in the toolbar.

6

Data table

Column headers and data rows. Single-select (Patterns 1 & 2) or multi-select (Pattern 3).

7

Pagination footer

Shows current range and total count (e.g. “1 – 1 of 1”). Anchored to the bottom of the table. No action buttons here, on any pattern.

8

Row-insertion controls (Pattern 4)

Top-right, above the builder table (no longer bottom-anchored). Icon-only Refresh (if applicable) + icon-and-label "Add [Row]", collapsing extras (e.g. Remove All) into Actions when needed.

9

Actions overflow button

Bordered button labeled "Actions" with a kebab (⋮) icon. Appears whenever a toolbar would otherwise need more than two visible buttons; opens a dropdown with the remaining actions.

Behaviour

Common Variants

General Rule of Thumb

Action affects…

Placement

What’s in the table (filter, refresh, export, add)

Top-right, above the table, grouped with filter controls, each with an icon

Selected rows in the table

Top, in a toolbar that replaces/extends the default table header when rows are selected — or a sticky bottom bar fixed to the viewport, only if that’s been built as a reusable pattern

The whole section/panel housing the table (collapse, expand)

Next to the section title, not the table — as an icon-bearing chevron toggle, separate from any Actions overflow

Inserting a new row into an embedded, non-paginated builder table

Top-right, above the table — the same convention as every other table-level action. Icon required; collapse into Actions if a third button is needed.

Three or more actions would otherwise sit in one toolbar

Show the two most relevant, collapse the rest into a bordered "Actions" button with a kebab icon

Known Issues:

Issue

Description

No loading state on Refresh

No loading/disabled state shown on the Refresh button while data is being fetched — user has no feedback that the action registered. (Pattern 1)

No “last refreshed” timestamp

Users can’t tell how current the data is without manually refreshing again. (Pattern 1)

Undifferentiated action styles (legacy screens)

In Create Pay Curve and Quota Relationships, “Edit Version” and “Hide Version Details” are still styled identically as plain text links with no icons, giving no visual cue that they operate at different scopes. Create Rule already shows the fix (Actions overflow + icon chevron) — the others need to catch up. (Pattern 2)

Legacy bottom-anchored "+ Add" buttons need migration

Rule Tags, Credit Rules, and Commission Rules (Create Plan), Result Dimensions (Create Lookup Table), and Rate Table rows (Create Rate Table) still show "+ Add" below the table with no icon. Create Rule’s Conditions section shows the target state: icon-only Refresh + icon-and-label Add, both top-right. These older screens have not yet migrated. (Pattern 4)

Remove All not yet reconciled with the overflow rule

Rule Tags, Credit Rules, and Commission Rules pair "+ Add" with a separate "Remove All" control; under the new two-button-then-collapse rule, Remove All should fold into an Actions overflow alongside Add, or be dropped if rarely used — not documented yet. (Pattern 4)

Icon rule not yet audited product-wide

"Every button carries an icon" is the new global rule, but Cancel / Save & Close and other non-table-level buttons across these forms have not been audited against it. Needs a follow-up pass beyond table-level actions.

Implementation & Developer Notes:
Always position action buttons top-right, above the table — this now applies to every sub-pattern, including row-insertion. Give every table-level action button an icon: icon-only for universally recognized actions (Refresh, Delete), icon-plus-label for everything else. The moment a toolbar would need a third button, keep the two most relevant visible and move the rest into a single bordered "Actions" button with a kebab icon. Never introduce a bottom-anchored action bar for any pattern unless scroll-aware sticky positioning has been implemented as a reusable system component. When multiple tables are stacked on a page, each table’s action row must be spatially distinct and visually attached only to that table’s header.

Sub Pattern 1: Filter-Dependent Table Action

Buttons

Single primary action (e.g. Refresh), right-aligned, icon + label or icon-only, filled/solid style to indicate it’s the primary way to act on the table below.

Filters

One or more dropdown/select inputs (e.g. From, To), inline in the same row as the action button.

Table

Read-only data display. Pagination footer shows current range and total count.

Implementation & Developer Notes:
Place the action button in the same horizontal row as the filter inputs, right-aligned against them. Give it an icon per the global Icon & Overflow rules above — icon-only is acceptable here since Refresh is universally recognized by symbol alone.

image

image

Sub Pattern 2: Section-Level Table Action

Buttons

Up to two visible: a bordered "Actions" button (kebab icon) holding row-scoped actions like Edit, and a text-link chevron toggle (Show/Hide Version Details) for the section itself. If there is only ever one row-scoped action, it may show directly as a bordered secondary button instead of behind Actions — collapse into Actions once a second one is added.

Filters

None — the section title row is not a filter row. Filters, if present, are in a separate dedicated row.

Table

Data table with optional supporting visual (e.g. chart rendered alongside). Single-row selection.

Implementation & Developer Notes:
Distinguish actions by what they affect. The section-level toggle (e.g. "Show/Hide Version Details") is a chevron icon + text link, never grouped with row-scoped actions. Row-scoped actions (e.g. Edit) go behind a bordered "Actions" button with a kebab icon the moment there is more than one of them, per the global overflow rule — this is the direction confirmed by the Create Rule reference screen, superseding the earlier "bordered Edit Version button" recommendation.

Screenshot: Version Details toolbar (Create Rule reference)

image

Sub Pattern 3: Icon-Only Action + Secondary CTA

Seen in the Create Rule reference screen’s Conditions toolbar: a single icon-only button (Refresh) sits immediately to the left of a bordered, icon-and-label secondary CTA ("+ Add Condition"), both right-aligned in the same toolbar. Note: the earlier version of this section generalized this as an "Inline Row Builder" pattern applied across Create Plan, Create Lookup Table, and Create Rate Table. That generalization has been removed — the Extend builder we have today does not support that capability, so this section is scoped narrowly to the icon-only + secondary-CTA toolbar layout itself, independent of which table or builder it sits above.

Icon-only button

No border, no label — reserved strictly for actions users universally recognize by symbol alone (e.g. Refresh). Sits to the left of the secondary CTA with a small gap (~8–12px).

Secondary CTA

Bordered button, icon + label (e.g. "+ Add Condition"). This is the primary action within that specific toolbar — not to be confused with a page-level primary/filled button.

Grouping

Both right-aligned as a single unit, top-right above the table. At most two visible together — a third action collapses into a bordered "Actions" button per the global overflow rule, rather than adding another icon-only control.

Implementation & Developer Notes:
Reserve the icon-only treatment for actions that are unambiguous by symbol alone (Refresh is the confirmed example); anything else needs a label. Pair it with a bordered, icon-and-label secondary CTA rather than a second icon-only button, so the toolbar always reads as one recognizable action plus one labeled action. This pattern is defined at the toolbar level and applies wherever that exact layout appears — it is no longer tied to, or assumed to apply across, every embedded row-builder table in the product.

Screenshot: Icon-only + secondary CTA toolbar (Create Rule reference)

Example: Default

image

Proposed Component: Section Divider

Across the “Create X” forms audited for this page (Create Rule, Create Plan, Create Pay Curve, Quota Relationships), sections such as General Details, Version Details, and Rules are stacked with nothing but whitespace between them. Some screens add a thin rule before certain sections (e.g. Create Rule, before Version Details); others don’t. There is currently no named, reusable component for this — it’s ad hoc per screen.

Proposal: introduce a standard Divider component — a thin horizontal rule with consistent spacing above and below — used specifically to demarcate between adjacent sections within the same page or panel that don’t already have their own card/border boundary. This is a new proposal, not yet part of the design system.

Line

1px solid, full content width, neutral border color (matches existing table/card border tokens — not a heavier or colored rule).

Spacing

Equal vertical margin above and below (e.g. 24px), so the rule doesn’t read as attached to either the section above or the section below.

Label

None by default. The divider separates; the following section’s own heading provides the label.

Behaviour

Implementation & Developer Notes:
Ship as a single reusable component (not a manually-drawn <hr> per screen) so spacing and color stay consistent if the token changes later. Reference the border color token already used for table and card borders, so it stays in sync with the rest of the system rather than drifting to its own value.

Screenshot: Section Divider proposal mockup

Attach screenshot here (section-divider-proposal.png)

divider.jpg