Open no-1ne opened 1 month ago
Thanks for the great suggestion.
Currently, I am focusing on the stability and flexibility of the UI builder for the next few releases. But once that's done I will work on adding component packs with form components, framer motion wrapper components, react-email components, and others.
That being said, you should be able to add existing awesome shadcn component libraries by first calling shadcn@latest add ...
and then calling the npx tsx lib/ui-builder/scripts/zod-gen.ts
script. This will generate necessary schemas you can then add to the component-registry.tsx file.
There are so many awesome shadcn UI libraries https://github.com/birobirobiro/awesome-shadcn-ui and most of the are slowly supporting the shadcn registry structure,
if would be nice to provide all those as pre made components automatically..may be autogenerating the necessary schema treating shadcn elements as primitives