Hacker News new | past | comments | ask | show | jobs | submit login

I hate when figma just always gives me CSS for absolute positioning. Is there any way around that?



Emil from Figma here! We have made a ton of improvements to the generated CSS code, and while we still sometimes provide absolute positioning we now separate it from the styling & flexbox code that you might actually want to pull into your codebase.

We've also introduced an API extension point so third parties can now provide their own implementation of code snippers (code generation) in Figma's Dev Mode which Anima and a few other partners have already released plugins for :)


An option for TailwindCSS classes would be really clean too.


Hello,

We developed an open source plugin that let you go from Figma to tailwindcss + react. Feel free to check it out

https://www.figma.com/community/plugin/1178847414663679049/B...


Yes! Absolutely. I've been looking for best practices around Figma + Tailwind.


Supposedly the codegen is more useful now, erring on the side of using flex




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: