{"title":"Numpad styling reference","slug":"pos-numpad-styling-reference","url":"https://support.storeconnect.com/articles/pos-numpad-styling-reference","url_markdown":"https://support.storeconnect.com/articles/pos-numpad-styling-reference.md","subtitle":null,"summary":"Every part, attribute, and component property for restyling the POS\u0026#39;s keypad with CSS, such as the keys on the cash screen at checkout and on the sheet for typing a quantity, with tested examples such as making the keys smaller or giving the number keys a brand color, and the list of what can\u0026#39;t be styled yet.","type":"Developer_Documentation","video_url":"","keywords":"pos keypad css, pos numpad css, numpad-root, numpad-display, numpad-keys, numpad-key, data-kind, --sc-numpad-size, --sc-numpad-shadow-size, --sc-numpad-transition, cash screen keypad, pos styling api, pos parts","last_modified":"2026-11-24T06:19:15+0000","body_markdown":"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.\n\n## Where the numpad appears\n\nThe numpad appears in these places:\n\n- The cash screen at checkout\n- The custom amount and tip screens\n- The sheet for entering a quantity\n\nTo 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.\n\n## Parts\n\n| Part | What it is | Available from |\n| --- | --- | --- |\n| `numpad-root` | The display and keys together, on the custom amount and tip screens only. | v22.0.15 |\n| `numpad-display` | The read-out of what has been keyed, such as an amount. | v22.0.15 |\n| `numpad-keys` | The grid of keys. | v22.0.15 |\n| `numpad-key` | One key, and each button beside the keys that is drawn as one, such as a suggested amount. | v22.0.15 |\n\nThe **Available from** column shows the first release that carries the name.\n\n## Attributes\n\nNarrow `numpad-key` by this, inside `:where()`, to style one kind of key.\n\n| Attribute | Values | Default | Available from |\n| --- | --- | --- | --- |\n| `numpad-key[data-kind]` | `digit`, `decimal`, `clear`, `confirm`, `amount` | `digit` | v22.0.15 |\n\n- `digit` — a number key\n- `decimal` — the decimal point\n- `clear` — the key that removes the last digit, and the cash screen's Reset\n- `confirm` — the key with a checkmark that applies what has been keyed\n- `amount` — a suggested amount beside the keys on the cash screen, which takes the payment in one tap\n\n## Component properties\n\nSet these on `numpad-keys` to change the keys of every keypad. `--sc-numpad-shadow-size` and\n`--sc-numpad-transition` can also be set on `numpad-key` narrowed by the kind, to change one\nkind of key; `--sc-numpad-size` can't, since the grid's cells keep their size. The buttons\nbeside the keys on the cash screen sit outside the grid, so they keep the POS's values unless\nyou set the properties on `:root`.\n\n| Property | What it sets | Default | Available from |\n| --- | --- | --- | --- |\n| `--sc-numpad-size` | The width and height of a key, which the grid and the buttons beside it follow. | 80px | v22.0.15 |\n| `--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 |\n| `--sc-numpad-transition` | How long a key takes to move when pressed. | 50ms | v22.0.15 |\n\n## Examples\n\nEach example is tested against the POS on every change.\n\n**\"Make the keys smaller, everywhere.\"**\n\n```css\n\n:root {\n  --sc-numpad-size: 64px;\n}\n```\n\n**\"Make the keys flatter.\"**\n\n```css\n\n[part~='numpad-keys'] {\n  --sc-numpad-shadow-size: 1px;\n}\n```\n\n**\"Make only the clear key flat.\"**\n\n```css\n\n[part~='numpad-key']:where([data-kind='clear']) {\n  --sc-numpad-shadow-size: 0px;\n}\n```\n\n**\"Give the number keys our brand color.\"**\n\n```css\n\n[part~='numpad-key']:where([data-kind='digit']) {\n  background-color: #0b5394;\n  color: #ffffff;\n}\n```\n\n**\"Make the clear key stand out less.\"**\n\n```css\n\n[part~='numpad-key']:where([data-kind='clear']) {\n  color: #9aa5b1;\n}\n```\n\n**\"Make the keys' numbers lighter.\"**\n\n```css\n\n[part~='numpad-key'] {\n  font-weight: 400;\n}\n```\n\n**\"Color the amount in the display.\"**\n\n```css\n\n[part~='numpad-display'] {\n  color: #0b5394;\n}\n```\n\n## What can't be styled yet\n\n- How the grid is laid out: the number of columns, the order of the keys, and the gaps between them\n- 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\n- The prompt the display shows before anything is keyed\n- 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\n- A keypad a custom view draws from a copy of the POS's markup, which has no parts unless the view writes them\n\n## Retired\n\nNone yet."}