Example codeAnchor link to section titled "Example code"
||An HTML tag to be rendered as the base element wrapper. The default is
||Whether to remove the currency symbol from the output.|
||Whether to remove trailing zeros (fractional money) from the output. If there are no trailing zeros, then the fractional money amount remains. For example,
||An object with fields that correspond to the Storefront API's MoneyV2 object.|
Component typeAnchor link to section titled "Component type"
Money component is a client component, which means that it renders on the client. For more information about component types, refer to React Server Components.
Storefront API dataAnchor link to section titled "Storefront API data"
data prop is an object with fields that correspond to the Storefront API's MoneyV2 object: