Table
Show structured data in rows and columns, with optional sorting, row selection, pagination and bulk actions.
@volvo-cars/css v3.3.1@volvo-cars/react-table v0.4.0
Products need different things from a table, so the design system gives you styled parts instead of one fixed component. Combine them with the TanStack Table features you need.
Row states
Section titled “Row states”- Use
odd:bg-secondaryfor a striped table. - Use
hover:bg-primary-subtleto highlight the row under the pointer. - Use
selected:bg-accent-blue-mediumto highlight selected rows.
Bulk actions
Section titled “Bulk actions”Use the action bar to apply the same action to several rows at once. Show it when one or more rows are selected. Show up to three actions in the bar, and put the rest in its menu.
Loading
Section titled “Loading”Show skeleton placeholders in the cells while the data loads.
Server-side data
Section titled “Server-side data”For server-side sorting and pagination, see the TanStack guides for sorting and pagination.
Design
Section titled “Design”See the table in Figma.