Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
<input id="attr-myattribute" type="hidden" name="attributes[myattribute]" value="my attribute value" />
You can look at cart attributes and store values in there, which will get passed to cart/checkout/order objects and they're also shown on order page in the admin and you can edit them.
More info here
https://shopify.dev/docs/themes/liquid/reference/objects/cart