Skip to content
CdsTable

Scenarios

Ready-made recipes for product tables: data from the server, moderation with a complex header, built-in pagination with a skeleton and nested lists.

Storybook GitLab Figma
Test coverage: 0% — low coverage
API in specs
0 / 72 props, events, slots and exposed members with a test
Test cases
13 unit · 0 browser
Code coverage
15.2% lines · 7.4% branches measured in v4.0.0-alpha.13
A11y (axe)
50 recommendations in 39 stories measured in v4.0.0-alpha.11

Data from the server ​

Pagination, sorting and filters are handled on the backend: the change event gives you the current state of the table, the handler requests a page of data, and the loading prop shows the request in progress.

Product moderation ​

A header with tabs, a toolbar with search and filters, an empty state with an action and external pagination in the footer — a typical table for a moderation section.

Items and prices ​

Built-in pagination with a counter and a page size selector, a skeleton while loading and composite cells with an extra line of text.

Item list ​

A nested table inside an expanded row and a toolbar with fields and a dropdown calendar — a recipe for documents with line items.