Image component source code

Enonic version: XP 6.11
OS: Centos 6

Hi,
I’m creating a part with React, and would like users to upload and select image just like the XP image component. I’m thinking of modifing the image component to use it in my custom part.
Could anyone point me where I can download the source code of the image component?
Or is it any better way to implement it?

Thanks.

A bit unsure of what you need here? Do you want to build a custom component type? Or just some flexibility for parts in general?