Creating a reusable Lightning Web Component (LWC) that uses Lightning Data Service (LDS) with dynamic fields can be a powerful way to build flexible and efficient components in Salesforce. In this example, We created a generic LWC that can be used to display records from any Salesforce object with dynamic fields on any lightning record page.

Here’s a step-by-step guide to creating such a component

This component will dynamically display the specified fields for the provided record. You can use it for different objects and customize the fields as needed. Make sure to handle error cases and additional customization according to your specific requirements.