Today we will see how we can create a reusable star rating lightning web component and can use by salesforce lightning flow.
- Create a Lightning Web Component called lwcStarRating




- Create an Object to Save the Rating Values

- Create a Flow to use the LWC






- Output



References: https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.use_config_for_flow_screens
https://developer.salesforce.com/docs/component-library/bundle/lightning-flow-support/documentation