# Product sibling options

<figure><img src="https://3723856256-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGnixyIfIYFWroNtVmZo6%2Fuploads%2Fgit-blob-32e9f95959a63c1886b3fb039a7eb2f52eb4372b%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## Overview

A product navigation block that displays sibling products (related products from a linked collection) as either interactive buttons/swatches or in a dropdown/drawer interface. Allows customers to navigate between related product variants with visual previews using the product's featured image. Supports flexible display modes with customizable swatches, tooltips, and responsive layouts.

## Common use cases

* Configure the custom.linked\_collection metafield for your products to enable sibling product navigation
* Use button/swatch mode when displaying a small number of siblings (2-6 products) for quick visual selection
* Use dropdown mode when displaying many siblings (7+ products) to save space and reduce visual clutter
* Enable tooltips when showing swatches without labels to improve accessibility
* Consider enabling grid layout for consistent spacing and alignment
* Adjust swatch size (8-120px) based on design context: smaller for compact layouts, larger for hero sections
* Set appropriate gap sizes to balance density and readability

## Block settings

### General

| Setting                | Description                                                                     | Options                   |
| ---------------------- | ------------------------------------------------------------------------------- | ------------------------- |
| Show advanced settings | Reveals 5 advanced options including show tooltip, enable grid layout, and more | Checkbox (default: false) |

### Content

| Setting          | Description                                             | Options                                                                                                                                                                                                                    |
| ---------------- | ------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Product          | Select the product to display sibling options for       | Product picker                                                                                                                                                                                                             |
| Label            | Optional label text displayed above the sibling options | Text input                                                                                                                                                                                                                 |
| Swatch selection | Controls how sibling options are displayed              | <p>• Buttons (default)<br>• Dropdowns</p>                                                                                                                                                                                  |
| Show swatch      | Displays product featured image as swatch background    | Checkbox (default: true)                                                                                                                                                                                                   |
| Show tooltip     | Displays tooltip on hover showing product title         | <p>Checkbox (default: true)<br><br>Visible when swatch selection is buttons</p><p><br><br>Visible when <strong>Swatch selection</strong> is <strong>buttons</strong> and <strong>Show advanced settings</strong> is on</p> |
| Show labels      | Displays product title alongside swatches               | <p>Checkbox (default: false)<br><br>Visible when swatch selection is buttons</p>                                                                                                                                           |
| Layout           | Controls how swatches and labels are arranged           | <p>• Stacked<br>• Inline (default)<br><br>Visible when show labels and swatch selection is buttons</p>                                                                                                                     |
| Swatch size      | Size of the swatch preview images                       | <p>8 - 120 px (default: 16)<br><br>Visible when show swatch is true</p>                                                                                                                                                    |
| Swatch radius    | Controls the border radius of swatches                  | <p>• None<br>• Default<br>• SM<br>• MD<br>• LG<br>• XL<br>• 2XL<br>• Full (default)<br><br>Visible when show swatch is true</p>                                                                                            |

### Spacing

| Setting                   | Description                                     | Options                                                                      |
| ------------------------- | ----------------------------------------------- | ---------------------------------------------------------------------------- |
| Enable horizontal padding | Adds horizontal padding around the block        | Checkbox (default: false)                                                    |
| Enable top padding        | Adds top padding around the block               | Checkbox (default: false)                                                    |
| Enable bottom padding     | Adds bottom padding around the block            | Checkbox (default: false)                                                    |
| Gap size                  | Controls spacing between sibling option buttons | <p>• None<br>• Default (default)<br>• XS<br>• SM<br>• MD<br>• LG<br>• XL</p> |

### Color

| Setting      | Description                             | Options                                                                                                                                                                                                                                                                                             |
| ------------ | --------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Text color   | Controls the text color for labels      | <p>• Default (default)<br>• Alternative<br>• Primary background<br>• Primary foreground<br>• Secondary background<br>• Secondary foreground<br>• Tertiary background<br>• Tertiary foreground<br>• Neutral background<br>• Neutral foreground<br>• Shade<br><br>Visible when label is not blank</p> |
| Button color | Controls the button/swatch color scheme | <p>• Primary<br>• Secondary<br>• Tertiary<br>• Neutral<br>• Plain (default)<br>• Outline<br>• Inverted outline<br>• Blur<br>• Link<br>• Inverted link</p>                                                                                                                                           |

### Style

| Setting     | Description                           | Options                                                                                                                                                                                                  |
| ----------- | ------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Font family | Controls the font family for labels   | <p>• Standard (default)<br>• Heading<br>• Subheading<br>• Accent<br><br>Visible when font size contains type-- and label is not blank</p>                                                                |
| Font size   | Controls the font size for labels     | <p>• Smaller<br>• Small<br>• Default (default)<br>• Big<br>• Bigger<br>• Heading 1<br>• Heading 2<br>• Heading 3<br>• Heading 4<br>• Heading 5<br>• Heading 6<br><br>Visible when label is not blank</p> |
| Button size | Controls the size of buttons/swatches | <p>• Extra small<br>• Small (default)<br>• Standard<br>• Large</p>                                                                                                                                       |

### Layout

| Setting              | Description                                     | Options                                                                                                                                                                                                                     |
| -------------------- | ----------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Horizontal alignment | Controls horizontal alignment                   | <p>• Left (default)<br>• Center<br>• Right<br><br>Visible when label is not blank</p>                                                                                                                                       |
| Enable grid layout   | Displays options in a grid instead of flex wrap | <p>Checkbox (default: false)<br><br>Visible when swatch selection is buttons</p><p><br><br>Visible when <strong>Swatch selection</strong> is <strong>buttons</strong> and <strong>Show advanced settings</strong> is on</p> |
| Desktop row size     | Number of columns in the grid on desktop        | <p>1 - 12 (default: 4)<br><br>Visible when <strong>Enable grid layout</strong> and <strong>Swatch selection</strong> are <strong>buttons</strong> and <strong>Show advanced settings</strong> is on</p>                     |
| Mobile row size      | Number of columns in the grid on mobile         | <p>1 - 3 (default: 2)<br><br>Visible when <strong>Enable grid layout</strong> and <strong>Swatch selection</strong> are <strong>buttons</strong> and <strong>Show advanced settings</strong> is on</p>                      |

### Display

| Setting    | Description                        | Options                                                                                                                            |
| ---------- | ---------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| Visibility | Controls when the block is visible | <p>• All (default)<br>• Mobile only<br>• Desktop only</p><p><br><br>Visible when <strong>Show advanced settings</strong> is on</p> |
