---
title: ProductPrice
description: >-
  The ProductPrice component renders a Money component with the product
  priceRange's maxVariantPrice or minVariantPrice, for either the regular price
  or compare at price range.
api_version: 2026-04
source_url:
  html: 'https://shopify.dev/docs/api/hydrogen-react/latest/components/productprice'
  md: >-
    https://shopify.dev/docs/api/hydrogen-react/latest/components/productprice.md
api_name: hydrogen-react
---

# Product​Price

The `ProductPrice` component renders a `Money` component with the product [`priceRange`](https://shopify.dev/api/storefront/reference/products/productpricerange)'s `maxVariantPrice` or `minVariantPrice`, for either the regular price or compare at price range.

#### Props

* **data**

  **PartialDeep\<Product, {recurseIntoArrays: true}>**

  **required**

  A Storefront API [Product object](https://shopify.dev/api/storefront/reference/products/product).

* **as**

  **ComponentGeneric**

  An HTML tag or React Component to be rendered as the base element wrapper. The default is `div`.

* **measurement​Separator**

  **ReactNode**

  Customizes the separator between the money output and the measurement output. Used with the `measurement` prop. Defaults to `'/'`.

* **price​Type**

  **'regular' | 'compareAt'**

  The type of price. Valid values: `regular` (default) or `compareAt`.

* **value​Type**

  **'max' | 'min' | 'unit'**

  The type of value. Valid values: `min` (default), `max` or `unit`.

* **variant​Id**

  **string**

  The ID of the variant.

* **without​Currency**

  **boolean**

  Whether to remove the currency symbol from the output.

* **without​Trailing​Zeros**

  **boolean**

  Whether to remove trailing zeros (fractional money) from the output.

Examples

### Examples

* #### Example code

  ##### Description

  I am the default example

  ##### JavaScript

  ```jsx
  import {ProductPrice} from '@shopify/hydrogen-react';

  export function ProductPricing({product}) {
    return <ProductPrice data={product} priceType="compareAt" valueType="max" />;
  }
  ```

  ##### TypeScript

  ```tsx
  import {ProductPrice} from '@shopify/hydrogen-react';
  import type {Product} from '@shopify/hydrogen-react/storefront-api-types';

  export function ProductPricing({product}: {product: Product}) {
    return <ProductPrice data={product} priceType="compareAt" valueType="max" />;
  }
  ```

***

## Related

[ProductProvider](https://shopify.dev/docs/api/hydrogen-react/2026-04/components/productprovider)

[Money](https://shopify.dev/docs/api/hydrogen-react/2026-04/components/money)

***
