This guide shows you how to use the cart handler to update cart attributes. ## Requirements - You've completed the [quickstart guide](/docs/storefronts/headless/hydrogen/getting-started). - You've set up the [cart handler](/docs/storefronts/headless/hydrogen/cart/setup). ## Step 1: Create a form that will interact with a cart attribute Cart attributes are a list of key/value string pairs. The values can be anything you want to represent but they must be stored as strings. For example, you can add attributes that enable to add personalized messages to an order, such as requesting gift wrapping. Use the [`CartForm`](/docs/api/hydrogen/latest/components/cartform) to create a cart attribute form. The component submits a form request to the `/cart` route's action when a visitor submits an attribute key/value pair. You can use this component anywhere in the app.