Use: We use Lightining:recordForm component for add,edit and view a record in salesforce.
Functionality:
![](https://www.growbizsolutions.com/wp-content/uploads/2023/04/lightningRecordForm.gif)
Short description: Using this component we can easily create a form . Mode attribute specify the type of form. Mode values are view, edit or readonly.
Example: