---
title: "Numpad styling reference"
source: https://support.storeconnect.com/articles/pos-numpad-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.
---
# Numpad styling reference

The numpad is the area of a POS screen where operators type in the quantities, amounts, and tips that apply to a sale. You can resize the numpad keys, make them flatter, change the colors, etc. Follow the [POS styling API](pos-styling-api#rules) rules when you style the numpad.

## Where the numpad appears

The numpad appears in these places:

- The cash screen at checkout
- The custom amount and tip screens
- The sheet for entering a quantity

To style every numpad, target `numpad-display`, `numpad-keys`, and `numpad-key`. `numpad-root` wraps the display and keys only on the custom amount and tip screens.

## Parts

| Part | What it is | Available from |
| --- | --- | --- |
| `numpad-root` | The display and keys together, on the custom amount and tip screens only. | v22.0.15 |
| `numpad-display` | The read-out of what has been keyed, such as an amount. | v22.0.15 |
| `numpad-keys` | The grid of keys. | v22.0.15 |
| `numpad-key` | One key, and each button beside the keys that is drawn as one, such as a suggested amount. | v22.0.15 |

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

## Attributes

Narrow `numpad-key` by this, inside `:where()`, to style one kind of key.

| Attribute | Values | Default | Available from |
| --- | --- | --- | --- |
| `numpad-key[data-kind]` | `digit`, `decimal`, `clear`, `confirm`, `amount` | `digit` | v22.0.15 |

- `digit` — a number key
- `decimal` — the decimal point
- `clear` — the key that removes the last digit, and the cash screen's Reset
- `confirm` — the key with a checkmark that applies what has been keyed
- `amount` — a suggested amount beside the keys on the cash screen, which takes the payment in one tap

## Component properties

Set these on `numpad-keys` to change the keys of every keypad. `--sc-numpad-shadow-size` and
`--sc-numpad-transition` can also be set on `numpad-key` narrowed by the kind, to change one
kind of key; `--sc-numpad-size` can't, since the grid's cells keep their size. The buttons
beside the keys on the cash screen sit outside the grid, so they keep the POS's values unless
you set the properties on `:root`.

| Property | What it sets | Default | Available from |
| --- | --- | --- | --- |
| `--sc-numpad-size` | The width and height of a key, which the grid and the buttons beside it follow. | 80px | v22.0.15 |
| `--sc-numpad-shadow-size` | The depth of the shadow under a key, which is how far the key moves when pressed. | 3px | v22.0.15 |
| `--sc-numpad-transition` | How long a key takes to move when pressed. | 50ms | v22.0.15 |

## Examples

Each example is tested against the POS on every change.

**"Make the keys smaller, everywhere."**

```css

:root {
  --sc-numpad-size: 64px;
}
```

**"Make the keys flatter."**

```css

[part~='numpad-keys'] {
  --sc-numpad-shadow-size: 1px;
}
```

**"Make only the clear key flat."**

```css

[part~='numpad-key']:where([data-kind='clear']) {
  --sc-numpad-shadow-size: 0px;
}
```

**"Give the number keys our brand color."**

```css

[part~='numpad-key']:where([data-kind='digit']) {
  background-color: #0b5394;
  color: #ffffff;
}
```

**"Make the clear key stand out less."**

```css

[part~='numpad-key']:where([data-kind='clear']) {
  color: #9aa5b1;
}
```

**"Make the keys' numbers lighter."**

```css

[part~='numpad-key'] {
  font-weight: 400;
}
```

**"Color the amount in the display."**

```css

[part~='numpad-display'] {
  color: #0b5394;
}
```

## What can't be styled yet

- How the grid is laid out: the number of columns, the order of the keys, and the gaps between them
- A key while it's hovered or pressed, apart from the other states: a fill you set on a key also replaces the fill it takes while pressed
- The prompt the display shows before anything is keyed
- The cards of suggested amounts the cash screen shows in place of the keys, and the Tip button beside the display, which have no parts yet
- A keypad a custom view draws from a copy of the POS's markup, which has no parts unless the view writes them

## 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-numpad-styling-reference