How to create the shadow by using a custom pic like this?

Hello, you can use contact shadow for this approach