Using grafana in separate single page app based on React/Angular/Vue

Is it possible to integrate grafana into separate single page application based on i.e. React ? I went through docs and found out that i can only export images or iframes from grafana instance, but i have to be sure this is the only way I can do it?

Iframe or images is the only way to do it