{"title":"Record table styling reference","slug":"pos-record-table-styling-reference","url":"https://support.storeconnect.com/articles/pos-record-table-styling-reference","url_markdown":"https://support.storeconnect.com/articles/pos-record-table-styling-reference.md","subtitle":null,"summary":"Every part and attribute for restyling the POS\u0026#39;s tables of records with CSS, such as the customers and orders lists, with tested examples such as highlighting the record that\u0026#39;s open, and the list of what has no part yet.","type":"Developer_Documentation","video_url":"","keywords":"pos record table css, record-table-root, record-table-row, record-table-lead-cell, record-table-cell, aria-current, pos list layout css, pos styling api, pos parts","last_modified":"2026-11-12T23:21:16+0000","body_markdown":"A record table is the table of records in a list: a header row of column names, then a row\nfor each record, the first cell naming the record. Follow the\n[POS styling API](pos-styling-api#rules) rules when styling it.\n\n## Where it appears\n\nA list layout's records, such as the customers, orders, and products lists, the\nfulfillments list, and the results of a quick search. When a record is open beside the\nlist, the row says so with `aria-current`.\n\n## Parts\n\n| Part | What it is | Available from |\n| --- | --- | --- |\n| `record-table-root` | The whole table, with the fill, border, and corners. | v22.0.7 |\n| `record-table-head-row` | The row of column names at the top of the table. | v22.0.7 |\n| `record-table-head-cell` | One column's name, which sorts the table by that column when pressed. | v22.0.7 |\n| `record-table-row` | One record's row. | v22.0.7 |\n| `record-table-lead-cell` | The first cell of a row, which names the record. | v22.0.7 |\n| `record-table-cell` | Each of the other cells in a row. | v22.0.7 |\n\nThe **Available from** column shows the first release that carries the name.\n\n## Attributes\n\nNarrow `record-table-row` by this, inside `:where()`, to style the row of the record that's\nopen. It's on a row rather than on the table's root, so the rule narrows the row.\n\n| Attribute | Values | Default | Available from |\n| --- | --- | --- | --- |\n| `record-table-row[aria-current]` | `true`, `false` | `false` | v22.0.7 |\n\n## Examples\n\nEach example is tested against the POS on every change.\n\n**\"Round the table's corners less and give it a white fill.\"**\n\n```css\n\n[part~='record-table-root'] {\n  border-radius: 4px;\n  background-color: #ffffff;\n}\n```\n\n**\"Shade the column names.\"**\n\n```css\n\n[part~='record-table-head-row'] {\n  background-color: #f5f7fa;\n}\n```\n\n**\"Show the record names in our brand color.\"**\n\n```css\n\n[part~='record-table-lead-cell'] {\n  color: #0b5394;\n}\n```\n\n**\"Make the other columns smaller.\"**\n\n```css\n\n[part~='record-table-cell'] {\n  font-size: 14px;\n}\n```\n\n**\"Highlight the record that's open.\"**\n\n```css\n\n[part~='record-table-row']:where([aria-current='true']) {\n  background-color: #e8f0fb;\n}\n```\n\n## What can't be styled yet\n\n- The sort arrow beside a column name, and the name's text on its own\n- The dot beside the row of the record that's open, and that row's cells on their own\n- The spinner while the table loads, and the message when it has no records\n- The width of each column\n\n## Retired\n\nNone yet."}