Make Gradio component source (Svelte/HTML) easy to reuse in other apps
Author: dawoodkhan82Created Sep 28, 2026Updated Sep 28, 2026
Labelsenhancementsvelte
Gradio's components are secure, responsive and accessible. Developers building gr.Server apps (or non-Gradio apps) should be able to reuse them easily.
Proposal Make it simple to get the source of any Gradio component, as Svelte or plain HTML/JS, and drop it into your own frontend. Possible approaches:
- A CLI command that copies a component's source into your project (similar to
shadcn add) - Standalone builds/web components that can be used without the full Gradio frontend
- Docs showing how to wire the component to a
gr.Serverendpoint via@gradio/client
Source: gradio-app/gradio