---
title: "Record table styling reference"
source: https://support.storeconnect.com/articles/pos-record-table-styling-reference
type: article
format: markdown
site: StoreConnect Support — product and developer documentation for StoreConnect
site_index: https://storeconnect.com/llms.txt
docs_index: https://support.storeconnect.com/llms.txt
note: Append .md to any page or article URL on this site to get its Markdown form.
---
# Record table styling reference

A record table is the table of records in a list: a header row of column names, then a row
for each record, the first cell naming the record. Follow the
[POS styling API](pos-styling-api#rules) rules when styling it.

## Where it appears

A list layout's records, such as the customers, orders, and products lists, the
fulfillments list, and the results of a quick search. When a record is open beside the
list, the row says so with `aria-current`.

## Parts

| Part | What it is | Available from |
| --- | --- | --- |
| `record-table-root` | The whole table, with the fill, border, and corners. | v22.0.7 |
| `record-table-head-row` | The row of column names at the top of the table. | v22.0.7 |
| `record-table-head-cell` | One column's name, which sorts the table by that column when pressed. | v22.0.7 |
| `record-table-row` | One record's row. | v22.0.7 |
| `record-table-lead-cell` | The first cell of a row, which names the record. | v22.0.7 |
| `record-table-cell` | Each of the other cells in a row. | v22.0.7 |

The **Available from** column shows the first release that carries the name.

## Attributes

Narrow `record-table-row` by this, inside `:where()`, to style the row of the record that's
open. It's on a row rather than on the table's root, so the rule narrows the row.

| Attribute | Values | Default | Available from |
| --- | --- | --- | --- |
| `record-table-row[aria-current]` | `true`, `false` | `false` | v22.0.7 |

## Examples

Each example is tested against the POS on every change.

**"Round the table's corners less and give it a white fill."**

```css

[part~='record-table-root'] {
  border-radius: 4px;
  background-color: #ffffff;
}
```

**"Shade the column names."**

```css

[part~='record-table-head-row'] {
  background-color: #f5f7fa;
}
```

**"Show the record names in our brand color."**

```css

[part~='record-table-lead-cell'] {
  color: #0b5394;
}
```

**"Make the other columns smaller."**

```css

[part~='record-table-cell'] {
  font-size: 14px;
}
```

**"Highlight the record that's open."**

```css

[part~='record-table-row']:where([aria-current='true']) {
  background-color: #e8f0fb;
}
```

## What can't be styled yet

- The sort arrow beside a column name, and the name's text on its own
- The dot beside the row of the record that's open, and that row's cells on their own
- The spinner while the table loads, and the message when it has no records
- The width of each column

## Retired

None yet.

---

## Follow StoreConnect

- [Email Newsletter](https://storeconnect.com/c/lp-newsletter)
- [LinkedIn Newsletter](https://www.linkedin.com/build-relation/newsletter-follow?entityUrn=7444956928444862464)
- [YouTube](https://www.youtube.com/channel/UCngKdP2x8l1wcbAKW3tvU8g)
- [LinkedIn](https://www.linkedin.com/company/storeconnect)
- [X / Twitter](https://x.com/storeconnecthq)

## Popular Links

- [Partners](https://storeconnect.com/partners)
- [Become a Partner](https://storeconnect.com/become-a-partner)
- [News](https://storeconnect.com/articles/news)
- [Events](https://storeconnect.com/articles/events)
- [Feature Comparison](https://storeconnect.com/how-we-compare)
- [Download a free trial](https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FMkeKUAT)
- [Book a Demo](https://storeconnect.com/contact)

## Documentation

- [Help documentation](https://support.storeconnect.com/help-documentation)
- [AI agents](https://support.storeconnect.com/ai)
- [Videos & tutorials](https://support.storeconnect.com/videos-tutorials)
- [Developer reference](https://support.storeconnect.com/developer-reference)
- [Release notes](https://support.storeconnect.com/release-notes)
- [Troubleshooting](https://support.storeconnect.com/troubleshooting)
- [Trust Center](https://trust.getstoreconnect.com/)
- [Status Page](https://status.storeconnect.com/)

## Contact

- info@getstoreconnect.com
- US +1 415 745 3230
- AUS +61 2 8365 2308

100 S Ashley Dr, Suite 600-2461
Tampa FL 33602-600 USA

Level 22, Sydney Place
180 George Street
Sydney, NSW, 2000, AUS

## Machine-readable

- [Site index for agents](https://storeconnect.com/llms.txt): curated map of the StoreConnect site in llms.txt format
- [Documentation index for agents](https://support.storeconnect.com/llms.txt): full technical and product documentation map

Every page and article on this site has a Markdown rendering: append `.md` to its URL.

Continue in Markdown: [Help documentation](https://support.storeconnect.com/help-documentation.md) · [Developer reference](https://support.storeconnect.com/developer-reference.md) · [Videos & tutorials](https://support.storeconnect.com/videos-tutorials.md) · [Release notes](https://support.storeconnect.com/release-notes.md)

---

StoreConnect Support — https://support.storeconnect.com/articles/pos-record-table-styling-reference