Primitive hooks

This guide provides a list of the primitive hooks offered in Hydrogen.


Primitive hooks are the building blocks for different component types, including products, variants, and cart.


Hydrogen includes the following primitive hooks:

Hook name Description
useMoney Takes a MoneyV2 object and returns a default-formatted string of the amount with the correct currency indicator, along with some of the parts provided by Intl.NumberFormat.

On this page