Skip to content

Product Bar Scheme

Product information display, including typography for product details and optional price styling.

component

Product Bar

ProductBarTheme {
  prices: ProductBarPricesTheme | null // (1)!

  typography {
    product: TextStyle // (2)!
    brand: TextStyle // (3)!
  }

  icons {
    arrow16: Icon // (4)!
  }

  settings {
    applyProductFirstImageExtraPadding: Bool // (5)!
  }
}
  1. Configures the price display settings for the product bar, including typography and colors for price elements.
  2. Defines the text style for product names in the product bar.
  3. Specifies the text style for brand names displayed in the product bar.
  4. Sets the icon used to indicate expandable product details in the compact view.
  5. Controls whether additional padding is applied to the first product image in the list.

Product imageUrls and applyProductFirstImageExtraPadding

The flat lay image without paddings should be the first in the list of imageUrls in the Product if applyProductFirstImageExtraPadding is set to true

Prices

ProductBarPricesTheme {
  typography {
    price: TextStyle // (1)!
  }

  colors {
    discountedPrice: Color // (2)!
  }
}
  1. Configures the text style specifically for price displays in the product bar.
  2. Defines the color used to highlight discounted prices in the product bar.

Data required

This feature only needs to be configured if you pass price in the Product