Share an image/group to Twitter

Hi all,

I have a group that is styled as an image. My app overlays another image and other metadata on top of that group depending on user inputs.
Screen Shot 2021-07-21 at 9.35.27 PM

I want this group of images and metadata to be able to either:

  1. be shared as an image to Twitter with a click of a button OR
  2. Simply be able to be downloaded as a .jpg

Any ideas how to do this? Thanks!