Magento 2 native supports a two-step checkout to place an order. Ship To section will be displayed in Order summary sidebar in Payment and Review Second Step.
Ship To section covers the Shipping address details chosen by the customer in the Shipping step and when you click on the edit icon in a ship to, It will redirect to the shipping step.
ship-to section defined in checkout_index_index.xml file.
You can see the XML file with sidebar area,
<item name="ship-to" xsi:type="array"> <item name="component" xsi:type="string">Magento_Checkout/js/view/shipping-information/list</item> <item name="displayArea" xsi:type="string">ship-to</item> </item>
When you open the list.js file, variable defaultRendererTemplate contains the template path for the ship-to section.
JS component: ‘Magento_Checkout/js/view/shipping-information/address-renderer/default’
default.html is the template to render shipping addresses in the sidebar area.
address() object contains the shipping address information. You can manage the position of the address from the template file. You can add your custom attribute value by modifying a template.