Tables

Use native table markup and gp-classes. Shared behavior adds keyboard-accessible sorting and column filters without an Astro component.

Accounting

Design paper principles, integrated into this chapter. Original annotations remain in English; planned concepts are not a list of shipped features.

The module most at risk of looking like the software we are replacing. Three screens: the invoice list, reconciliation, and the extraction review where a human confirms what the agent read off a supplier document.

6.1 · INVOICE LIST · 1728 × 1064

RECHNUNGEN

AUSGABEN

BANK

BERICHTE

56 px rows, 12 px radius, hover fills with ground, no vertical rules, no zebra striping. This is the identical row used by the project list, the file browser and the contact list. Only the columns differ.

The row stays white; the status pill and the due date carry the colour, and the pill says how many days rather than just "overdue". A bookkeeper scanning the column reads severity without opening anything.

Fraunces is spent here and on the page title — two moments, as specified. The overdue tile is the only tinted surface on the screen, which is exactly why the eye lands on it first.

6.2 · RECONCILIATION · THE ONE SCREEN ALLOWED TO BE DENSE

KONTOUMSÄTZE

VORSCHLAG

Enter accepts and jumps to the next unmatched transaction. Reconciling forty transactions is forty keystrokes. Everything else on the screen exists to let you decide whether to press it.

"Danach passiert" lists what changes downstream, including the dunning letter that gets withdrawn. Financial software that hides its side effects is how people end up afraid of it.

Exact matches are green and batchable. Anything inferred from a name or a round number is amber, never pre-selected, and says out loud that it is a guess. The two never share a visual treatment.

6.3 · EXTRACTION REVIEW · HIGH TRAFFIC, HIGH TRUST

Extracted values are highlighted on the document itself with a graphite outline, and hovering a field lights its region on the page. The reviewer's eye moves between two representations of the same fact, which is the only way this task gets faster than typing.

Confident fields look like ordinary filled inputs — no green ticks, no percentages, no confetti of certainty. Only the uncertain field is marked, in amber, on both the form and the document. One doubt, two places, nothing else competing for attention.

"bekannt aus 7 Belegen" and "aus der Position Fenster Süd, Lph 5" explain why a field was filled that way. A correction to a supplier's category sticks for that supplier, and the next document from Huber arrives with zero amber fields.

Invoice editor and the generated invoice document, cash-flow forecast, the P&L, and the client portal view — plus the accent stress test, the settings picker and the remaining modules. Say which matters most and I will take that next.

Invoice rhythm · illustrative data
InvoiceStatusAmount (EUR)
Example 01Paid8.640,00
Example 0212 days overdue2.450,00

Live example

Open a column filter with its filter icon. A marked icon indicates an active filter; Clear filter removes it.

Click a column heading to cycle through ascending, descending and default order. Column filters combine immediately.

Example projects
NameTasksStatus
Beacon3Active
Atlas12Active
Cedar0Draft

Usage

<div class="gp-table-wrap">
  <table class="gp-table">
    <caption>Projects</caption>
    <thead><tr>
      <th scope="col" data-gp-sort data-gp-filter>Name</th>
      <th scope="col" data-gp-sort data-gp-filter data-gp-type="number">Tasks</th>
    </tr></thead>
    <tbody>
      <tr><td>Atlas</td><td>12</td></tr>
      <tr><td>Beacon</td><td>3</td></tr>
    </tbody>
  </table>
</div>

Import @gope/ui/styles.css and @gope/ui/gp-ui in the layout once. Leave action columns without sorting or filtering attributes.

Use data-gp-type="number" for numeric sorting and data-gp-value on a cell for an ISO date or another canonical value. Default restores the original row order; sorting never changes stored data.

Pagination and accessibility

Local tables sort and filter loaded rows. For paginated data, use data-gp-table-server and a stable data-gp-key on each column, and implement authorized server queries. Activity is the reference implementation.

The server contract uses sort, direction (asc or desc), and filter_COLUMN query parameters. Changes reset page; pagination must preserve all filters. Default removes sort and direction. Never interpolate untrusted sort columns into SQL.

Keep a caption, column headers and native cells. Sort buttons expose aria-sort, filters have column-specific labels, and the result count is announced. The wrapper scrolls on narrow screens. Tables also work as plain readable data without JavaScript.

Drag to reorder, or use Alt + Left or Right.

Navigation

HomeDocumentationAccessibilityQuickstart

↑↓ navigate↵ open