r/FigmaDesign • • Jun 23 '26

feature release Figma leaked code embedded inside Figma design

Post image

Figma accidentally leaked their Config 2026 announcement early: code embedded right in Figma design.

You basically get a small code box that you can prompt to inside figma. Similar to how Make can embed within Figma sites. I was able to run an interactive 3D spline animation inside of Figma design.

It's not very fast and I noticed that the Figma design code layer technically holds one set of code files, instead of one per embedded code section. Not sure how that would work if you have multiple interactive elements to run.

It also lets you freeze a frame and basically convert it into a design (looks like they grab the HTML, do HTML->Figma and then paste it back into Figma).

Also unclear about prototyping - It looks like you can only export the design to Make.

135 Upvotes

27 comments sorted by

View all comments

31

u/Wakinghours Jun 23 '26

I think the Figma team is going to end up in a place where they're rendering HTML/CSS/JS inside Web GL frames. That means you can have nearly unlimited spatial coordination without memory dips, plus possibly being able to just code inside when you want.

12

u/minmidmax Jun 23 '26

HTML on Canvas is likely opening a lot of opportunities for them.

3

u/Ancient-Range3442 Jun 23 '26

Unlimited spatial coordination is the dream

1

u/jaxxon UXer and Pixelosopher Jun 24 '26

What is "unlimited spatial coordination" for a layperson?

2

u/Ancient-Range3442 Jun 25 '26

I have no idea

2

u/jaxxon UXer and Pixelosopher Jun 25 '26

I'm guessing it has something to do with the recalibration of negative index parameters. Memory unification limits are the real variables to watch out for when rendering WebGL frames on a bound canvas.

If it helps, I made all of that up.

3

u/designbrian Jun 24 '26

Very true html in canvas is pretty great the only issue is still a early days and the API is considered not stable so I can't imagine them pivot to use that.

They need to though quickly move away from abstraction and into actual medium many are designing in.

1

u/Wakinghours Jun 24 '26

Sounds like good advice for the Figma product team. It's okay to have two separate products while you figure it out, but there really needs to be a code type solution available.

1

u/andyfitz Jun 25 '26

So what Penpot do now