Connect Figma First
Before importing, connect your Figma account.- From Settings
- From AI chat
Import a Frame
Copy the Figma frame URL
In Figma, right-click the frame you want to import and choose Copy link. Make sure the frame has view permissions that include your Hiveku-connected account (shared or part of a team you belong to).
Paste into AI chat
Open the AI tab in the Editor and paste the URL with an instruction:Or for a specific section:
Review the plan
The AI analyzes the frame — structure, colors, typography, spacing — and proposes a component breakdown. Approve or ask it to adjust.
Generate the code
The AI writes the components, styles, and any needed assets. You’ll see a diff in the chat and the preview updates live.
What Imports Well
Auto-layout frames
Translate cleanly to flex/grid
Named layers
Become component and variable names
Typography styles
Map to Tailwind typography scale
Color variables
Become theme tokens in your code
What Doesn’t Import
Prototype interactions
Clicks, hovers, transitions — you’ll add these in code
Complex constraints
Deeply nested auto-resize can come out janky
Custom fonts
Fonts not available on the web are swapped for close matches
Image fills
Placeholders are used; you’ll replace with real assets
Tips for Better Imports
Use auto-layout everywhere
Frames with auto-layout produce clean flex/grid code. Absolute positioning translates to rigid layouts that break on mobile.
Name your layers
A layer called
Primary Button imports as a PrimaryButton component. A layer called Rectangle 42 imports as… Rectangle42. Names matter.Import one section at a time
A full-page import with 20 sections can get muddled. Import hero, features, testimonials, pricing, CTA, footer as separate passes. Easier to review and iterate.
Clean up hidden layers first
Hidden Figma layers still get imported unless you delete them. Trim dead layers before sharing the frame.
Refining After Import
Once the code is in, switch to Designer mode for visual tweaks. See Edit Visually for the full workflow. For structural changes, Code mode or direct AI requests work best:Verifying the Import
After import, check:- Responsiveness — resize the preview to mobile and tablet widths
- Typography — fonts and sizes should match the Figma frame
- Spacing — padding and gaps should feel similar (won’t be exact)
- Links and buttons — these are visual-only until you wire them up
Troubleshooting
Import failed or timed out
Import failed or timed out
Most common cause: the frame isn’t viewable by your connected Figma account. Open the file in Figma, click Share, and make sure your account (or the team your account is in) has at least view access. Then retry with the URL.
The styles look off
The styles look off
Expected. An import gets you to ~80% — the rest is refinement. Use Designer mode to tighten spacing, nudge colors, and fix responsive breakpoints. It’s much faster than building from scratch.
Images are placeholders
Images are placeholders
Figma image fills don’t transfer as real image files. The AI inserts placeholders. Upload your real images to
/public/ (or ask the AI to), then replace the placeholders.Fonts look different
Fonts look different
Custom Figma fonts often aren’t web-available. The AI picks a close match. If you want the exact font, install it via Google Fonts or upload the files — then ask the AI to apply it.
The code is messy
The code is messy
Run the AI in Refactor mode: “Clean up the imported components — extract shared styles and split into files.”
What’s Next?
Figma Integration
Full reference for the Figma integration
Edit Visually
Refine imported designs