If you want to pass any values dynamically while dragging the component to flexi page or community page then you can use design attributes in lightning web components.
In lwc you need to define the properties under targetConfigs xml tag in lwc js xml file as follows(defined attribute should also present in main lwc js file).
Leave a Reply