Feature Request: Export to React components using shadcn/ui

Currently, the “Export to Code” feature provides HTML/CSS. I would like to request an option to export screens as React (.tsx/.jsx) files.

Specific Requirements:

  • Component Library Support: Ability to export pages leveraging popular libraries like shadcn/ui and Tailwind CSS.

  • Modular Code: Instead of a single monolithic file, having the UI broken down into reusable React components.

  • State Management: Basic scaffolding for functional components (useState/props).

This would significantly speed up the workflow from design to a functional development environment.

1 Like

Hey @Dakota_Clawson, thanks so much for this feedback! We are already tracking this request, and I’ll add your detailed requirements to it to give the team more context. I’ll make sure to give you a heads-up whenever we have an update on this.