I want to use “figma-plugin-ds” library in my ui.html file I have tried to include it by link stylesheet like “build your first figma plugin” video, but is not working. Are there any other ways to do so?
Also, I want to use svg images and other images like jpg, png,etc from our assets folder without writing style in the same file.
Can you please give an example code or something like that which can help me too much?
SVG: you can inline them as regular text using bundlers
Raster images: you can turn small ones into Base64 (I think you can use a bundler for that too) but for large ones you’ll need to host them somewhere as your plugin will get huge pretty quick otherwise and the max size of all files in a plugin is 15MB.
No i have create plugin and using jsx and it working in local, and plugin working in figma desktop app.
But my question is when i want to publish plugin in community then I can publish that plugin with react from figma desktop app as we publishing the normal figma plugin?
Or we need to host this plugins anywhere else to publish?