Metafield

The Metafield component renders the value of a Storefront API's Metafield object.

When a render function is provided, it passes the Metafield object with a value that was parsed according to the Metafield's type field. For more information, refer to the Render props section.

When no render function is provided, it renders a smart default of the Metafield's value. For more information, refer to the Default output section.