{"title":"Menu button styling reference","slug":"pos-menu-button-styling-reference","url":"https://support.storeconnect.com/articles/pos-menu-button-styling-reference","url_markdown":"https://support.storeconnect.com/articles/pos-menu-button-styling-reference.md","subtitle":null,"summary":"Every part, attribute, and component property for restyling the rows of the POS\u0026#39;s lists and menus with CSS, such as the entries of the cart menu, the payment methods at checkout, and the reasons for cancelling an order, with tested examples such as giving the payment methods a brand color or making the labels bolder, and the list of what can\u0026#39;t be styled yet.","type":"Developer_Documentation","video_url":"","keywords":"pos menu row css, menu-button-root, menu-button-label, menu-button-supporting-text, menu-button-value, menu-button-count, data-variant, data-tone, data-size, --sc-menu-button-bg, --sc-menu-button-color, cart menu css, payment method css, pos styling api, pos parts","last_modified":"2026-11-24T06:19:15+0000","body_markdown":"Menu buttons are the rows of options that operators tap on a POS screen, such as the payment methods at checkout and the options in the cart menu. You can change menu button colors and text, the setting or number shown at the end of a menu button, etc. Follow the [POS styling API](pos-styling-api#rules) rules when you style menu buttons.\n\n## Where a menu button appears\n\nMenu buttons appear in these places:\n\n- The entries in the cart menu\n- The payment methods at checkout\n- The reasons for canceling an order\n- The **Back** button and the secondary action buttons above a list of records\n- The **Filters** button on a narrow screen\n- Every dropdown and the options it opens, such as sort and filters above a list of records, and the discount and pricing pickers in the cart\n- The items in the small menus that open from an item on an order or a station ticket\n\n## Parts\n\n| Part | What it is | Available from |\n| --- | --- | --- |\n| `menu-button-root` | The whole row, with the fill and corners. | v22.0.15 |\n| `menu-button-label` | The row's main text. | v22.0.15 |\n| `menu-button-supporting-text` | The smaller second line above or below the label, when the row has one. | v22.0.15 |\n| `menu-button-value` | What the row is set to, shown at the end with an icon when it has one, such as the coupon on a cart. | v22.0.15 |\n| `menu-button-count` | The count at the end of the row, when it is above zero. | v22.0.15 |\n\nThe **Available from** column shows the first release that carries the name.\n\n## Attributes\n\nNarrow `menu-button-root` by these, inside `:where()`, to style one kind of row.\n\n| Attribute | Values | Default | Available from |\n| --- | --- | --- | --- |\n| `data-variant` | `filled`, `tonal`, `text` | `text` | v22.0.15 |\n| `data-tone` | `neutral`, `primary`, `critical`, `success` | `neutral` | v22.0.15 |\n| `data-size` | `tiny`, `small`, `base`, `large`, `xlarge`, `xxlarge` | `base` | v22.0.15 |\n\n- `data-variant` — how much the row stands out. A `text` row has no fill, a `tonal` row wears the tone's soft fill, and a `filled` row the strong one. The cart menu's entries are `text`, and the payment methods are `tonal`\n- `data-tone` — what the row means, which sets the colors. The payment methods are `primary`\n- `data-size` — the least height of the row, the type, and the icon size. A row with a second line of text grows taller\n\n## Component properties\n\nSet these on `menu-button-root` to change every row, or narrow by an attribute to change one\nkind. An action with a configured color, such as the secondary action above a list of\nrecords, keeps it over both properties.\n\n| Property | What it sets | Default | Available from |\n| --- | --- | --- | --- |\n| `--sc-menu-button-bg` | The row's fill, in place of the variant's, under an action's configured color. | none | v22.0.15 |\n| `--sc-menu-button-color` | The text and icon color, in place of the variant's, under an action's configured color. | none | v22.0.15 |\n\n## Examples\n\nEach example is tested against the POS on every change.\n\n**\"Make the rows' text darker.\"**\n\n```css\n\n[part~='menu-button-root'] {\n  --sc-menu-button-color: #1f2933;\n}\n```\n\n**\"Give the payment methods our brand color.\"** They are the tonal, primary rows:\n\n```css\n\n[part~='menu-button-root']:where([data-variant='tonal']):where([data-tone='primary']) {\n  --sc-menu-button-bg: #0b5394;\n  --sc-menu-button-color: #ffffff;\n}\n```\n\n**\"Make the labels bolder.\"**\n\n```css\n\n[part~='menu-button-label'] {\n  font-weight: 600;\n}\n```\n\n**\"Make the second line of text smaller.\"**\n\n```css\n\n[part~='menu-button-supporting-text'] {\n  font-size: 12px;\n}\n```\n\n**\"Show what a row is set to in our brand color.\"** This also recolors a value that needs\nattention, such as a fulfillment that requires attention in the cart menu, which otherwise\nshows in the critical color:\n\n```css\n\n[part~='menu-button-value'] {\n  color: #0b5394;\n  opacity: 1;\n}\n```\n\n**\"Make the counts dark.\"**\n\n```css\n\n[part~='menu-button-count'] {\n  background-color: #1f2933;\n  color: #ffffff;\n}\n```\n\n## What can't be styled yet\n\n- One row on its own, such as one entry of the cart menu, since no row has a name yet\n- An action's configured color, which sits over the fill and color properties\n- The row that is picked out of a set, such as the chosen payment method, and the dot it shows, which have no listed attribute or part yet\n- A value that needs attention, apart from the other values\n- The icons before and after a row's text, which have no parts yet\n- The wash over a row while it's hovered or pressed\n\n## Retired\n\nNone yet."}