Burr Component Framework
Is your feature request related to a problem? Please describe. This is more exploratory -- looking for ideas!
Question, can we:
- Given a Burr app (maybe typed, see #139)
- And if not typed a set of response models
- And a server exposed through #304
Can we generate a UI or provide react-type components with something like ShadCN?
This could either:
- Work on pydantic types (E.G. like fastUI does)
- Have a few set patterns (chatbot, etc..)
Describe the solution you'd like TBD, see the above.
Describe alternatives you've considered Can always do custom.
Additional context As asked on discord
Gradio has a JS library with frontend components for I/O. It would be convenient because it directly matches the server-side Python I/O code to interact with the Burr app.
However, this requires Burr users adopting Gradio features to some extent. If we're able to have sensible default for type -> gradio component, we could autogenerate the UI to some extent without users having to use Gradio explicitly.