wandb / openui

OpenUI let's you describe UI using your imagination, then see it rendered live.
https://openui.fly.dev
Apache License 2.0
19.3k stars 1.78k forks source link

Support for Custom React Components (Shadcn UI) #72

Open rossaai opened 6 months ago

rossaai commented 6 months ago

Hello,

I am interested in using custom React components, such as Button, Input, and Textarea, based on the shadcn UI library (https://ui.shadcn.com/) within your platform. I understand that the system prompt can be modified, but I am seeking guidance on how to load and render these custom components.

Could you please provide any information or documentation on whether it is possible to integrate custom React components into your platform? If so, are there any specific steps, requirements, or limitations I should be aware of?

Any assistance or insights you can offer would be greatly appreciated.

Thank you for your help!

vanpelt commented 6 months ago

ShadCN is great, I'm a big fan. https://v0.dev is a great closed source tool that supports it. We may have transpile support from HTML to shadcn React in the future.

SrIzan10 commented 6 months ago

I'm looking forward to this, especially because v0 is a bit expensive starting at 20$ a month...