A lightning:outputField component displays the field value in the correct format based on the field type. It represents a read-only display of a label, help text, and value for a field on a Salesforce object.
A lightning:outputField component displays the field value in the correct format based on the field type. You must provide the record ID in the wrapper lightning:recordViewForm component, and specify the field name on lightning:outputField.