#
Quick Start
Speed up UI Development using CodeParrot AI.
#
Install VS code plugin
Install CodeParrot plugin from VS Code marketplace
#
Login
You can login via Figma or Github. Logging In with Figma allows you to browse and select components from Figma files directly in Vscode
#
Build UI using Figma Designs
You need to login via Figma for this feature
Click "Select fom Figma" button in CodeParrot Panel. Copy and submit this Figma Design sample link.
You would be able to see the preview of the component. See selecting components from Figma File to add your own figma component
#
Code Generation Settings
Click on the settings icon to choose the Framework.
For now, just choose your framework like React / React Native / Flutter etc and language. Save the settings. Checkout Code Generation Settings later for details on how to generate better results using additional settings.
#
Reuse Components
To reuse existing components or styling classes, write "Use Component Name" like "Use MUI table". For custom components or style files write "Use @filename"
#
Generate Code
You would be able to preview the component in CodeParrot Panel. Click on Send icon to start generating code.
Iterate over the code, by further prompting till your component is ready. Copy paste code to your project.
#
Vector Assets
Vector assets (svg) are not downloaded automatically. You would instead see a placeholder section with the mentioned image size. You can manually download the required assets and import them in your code.
#
Large Figma Components
Very large figma selections or screens with multiple folds can generate results only if the height is less than 3000px. Anything above that would throw an error. Check selecting Figma components for more.