{"title":"Variant menu styling reference","slug":"pos-variant-menu-styling-reference","url":"https://support.storeconnect.com/articles/pos-variant-menu-styling-reference","url_markdown":"https://support.storeconnect.com/articles/pos-variant-menu-styling-reference.md","subtitle":null,"summary":"Every part, attribute, and component property for restyling the POS\u0026#39;s variant menu with CSS, the menu that opens over a product card to pick a variant, such as a size or a color, and then a price, with tested examples such as taller options or round pictures of the variants, and the list of what can\u0026#39;t be styled yet.","type":"Developer_Documentation","video_url":"","keywords":"pos variant menu css, pos variants menu css, variant picker css, custom price css, variant-menu-root, variant-menu-header, variant-menu-selections, variant-menu-heading, variant-menu-options, variant-menu-option, variant-menu-option-label, variant-menu-option-price, variant-menu-custom-price, variant-menu-custom-price-field, variant-menu-custom-price-confirm, aria-checked, --sc-variant-menu-option-height, --sc-variant-menu-image-radius, --sc-variants-menu-button-height, --sc-variants-menu-image-radius, pos styling api, pos parts","last_modified":"2026-12-01T05:41:54+0000","body_markdown":"The variant menu is the menu that opens over a product card when operators tap a product that has variants, such as sizes or colors, or a variable price. Each step of the variant menu has a heading and a list of options to tap. You can change the height and fill of the options, the text, the variant pictures, the row for typing a custom price, etc. Follow the [POS styling API](pos-styling-api#rules) rules when you style the variant menu.\n\n## Where the variant menu appears\n\nThe variant menu opens over a [product card](pos-card-styling-reference) in these places:\n\n- In a products grid\n- In an action grid\n- In the bundle dialog, over the products in a bundle\n\nThe steps in the variant menu depend on the product:\n\n- A product with one kind of variant shows one step.\n- A product with two kinds of variant and few combinations shows every combination in one step, such as Blue · Large.\n- Any other product with variants shows a step for each kind, with the choices made so far above it.\n- A product with a variable price shows a price step last, with the preset prices and **Custom…** to type a price.\n\nEvery step uses the same variant menu parts, so CSS you write for the variant menu styles every step.\n\n## Parts\n\n| Part | What it is | Available from |\n| --- | --- | --- |\n| `variant-menu-root` | The whole menu that opens over a product card to pick a variant, then a price when the product has a variable price, inside the card's overlay. | v22.0.19 |\n| `variant-menu-header` | The top of the menu, above the options, with the picks made so far and what to pick now. | v22.0.19 |\n| `variant-menu-selections` | The picks made on earlier steps, such as Blue · Large, when there is more than one step. | v22.0.19 |\n| `variant-menu-heading` | What to pick now, such as Select size or Select a price. | v22.0.19 |\n| `variant-menu-options` | The list of options under the header. | v22.0.19 |\n| `variant-menu-option` | One option: a variant, a combination of variants, a preset price, or Custom… to type a price. | v22.0.19 |\n| `variant-menu-option-label` | The name of an option, such as Large, Blue · Large, or a preset price. | v22.0.19 |\n| `variant-menu-option-price` | What a variant costs, after the name, when the price is known and no price step follows. | v22.0.19 |\n| `variant-menu-custom-price` | The row that takes the place of Custom… once it is pressed, with a field for the price and a button to confirm it. | v22.0.19 |\n| `variant-menu-custom-price-field` | The field to type a custom price in. | v22.0.19 |\n| `variant-menu-custom-price-confirm` | The button with a checkmark that confirms a custom price, disabled until the price is valid. | v22.0.19 |\n\nThe **Available from** column shows the first release that carries the name.\n\n## Attributes\n\nNarrow `variant-menu-option` by this, inside `:where()`, to style the option that is picked.\n\n| Attribute | Values | Default | Available from |\n| --- | --- | --- | --- |\n| `variant-menu-option[aria-checked]` | `true`, `false` | `false` | v22.0.19 |\n\n- `true`: the option already picked on this step, when the menu opens on a product whose variants are already chosen, such as a bundle's component.\n- `false`: any other option, including every price.\n\n## Component properties\n\nSet these on `variant-menu-root`, or on `:root` to change every variant menu.\n\n| Property | What it sets | Default | Available from |\n| --- | --- | --- | --- |\n| `--sc-variant-menu-option-height` | How tall an option is. | 44px | v22.0.19 |\n| `--sc-variant-menu-image-radius` | How round the corners of an option's image are. | var(--sc-spacing-1) | v22.0.19 |\n\nBefore v22.0.19, the menu read `--sc-variants-menu-button-height` and `--sc-variants-menu-image-radius`. It still reads them when the names above aren't set, until v24.0.0.\n\n## Examples\n\nEach example is tested against the POS on every change.\n\n**\"Make the options taller.\"**\n\n```css\n\n[part~='variant-menu-root'] {\n  --sc-variant-menu-option-height: 52px;\n}\n```\n\n**\"Show which option is picked with a light fill.\"**\n\n```css\n\n[part~='variant-menu-option']:where([aria-checked='true']) {\n  background-color: #e8f0fe;\n}\n```\n\n**\"Make the pictures of the variants round.\"**\n\n```css\n\n[part~='variant-menu-root'] {\n  --sc-variant-menu-image-radius: 50%;\n}\n```\n\n**\"Make what to pick larger.\"**\n\n```css\n\n[part~='variant-menu-heading'] {\n  font-size: 16px;\n}\n```\n\n**\"Show the variants' prices in our brand color.\"**\n\n```css\n\n[part~='variant-menu-option-price'] {\n  color: #0b5394;\n}\n```\n\n**\"Fill the button that confirms a custom price with our brand color.\"** The fill also shows while the button is disabled, before the price is valid. To style the disabled button differently, follow this rule with one for `[part~='variant-menu-custom-price-confirm']:disabled`.\n\n```css\n\n[part~='variant-menu-custom-price-confirm'] {\n  background-color: #0b5394;\n  color: #ffffff;\n}\n```\n\n## What can't be styled yet\n\n- An option's image alone, which is a [media image](pos-media-image-styling-reference) with no name here: use the properties above, or a property on `media-image-root`, which reaches every image in the POS\n- The variant steps apart from the price step\n- The message under a custom price that's out of range, such as Minimum is $5\n- The overlay on the product card that holds the menu, with the fill, corners, and shadow\n\n## Retired\n\nNone yet."}