You would have to create your own SPFx Webpart. Are you familiar to Yeoman? Have you created SPFx webparts before? I can try to guide you through it. Please comment on your experience on SPFx development and I will do my best to guide you forward.