something like this image below which allows the user to select an image or file from online resources of GIFs and images and ... or from his local disk or those resources he/she has access to them. notion has something just like this too.
unsplash has an API which they even run unsplash.com on it. it also has no limit on network. use it. maybe there is a ready component for what this component is supposed to do.
something like this image below which allows the user to select an image or file from online resources of GIFs and images and ... or from his local disk or those resources he/she has access to them. notion has something just like this too.