Show HN: Functional UI Kit – twin Figma and React component libraries (github.com)
I started out in design and later got into coding, so I understand both sides really well. I did UX Design for 12 years at startups, at my own studio and at Wix, and then worked as a front-end dev at Wix for 2 more years.
I've noticed a common problem: most component libraries work great for devs but not so well for designers.
In my experience working with big teams, I've felt this frustration firsthand. Instead of focusing on making products, we end up arguing over small details and terms.
In Functional UI Kit, each comp has dedicated story in Storybook. Copy pasting from Dev Mode in Figma just works, Figma variables and CSS variables match, auto Layout is mirroring the same box model structure & the CSS architecture shields you from style collisions.
It leverages all the latest Figma features to the MAX. Including the latest: Annotations, and of course: Dark Mode.
I hope you try it and let me know what you think.
16 comments
[ 2.9 ms ] story [ 44.2 ms ] threadA ton of corporate-sponsored design systems come close, but those that do (e.g. Shopify Polaris) can't be used on standalone projects.
Untitled UI is a great example of what's possible on the Figma side, but only helps if you're targeting Webflow.
I will have a service soon where you can publish your Figma design as a package to consume in your React Native app.
You can find more functionality and updates here: https://x.com/theultdev
> I’d love to hear your thoughts from your experience working with designers & component libraries.
I tried a different approach. I built a tool to export Figma designs to HTML and inline CSS.
It uses the REST API rather than the plugin API, so you don't need as many permissions to use it.
I put in some work to collapse `div`s together, so the HTML isn't div soup.
It scales from exporting a single button to a whole screen, but isn't smart enough to identify reusable components.
I had hoped it would give developers an initial output to aim for when porting designs to React. Ultimately though, it didn't get much traction with my colleagues and I've stopped working on it.
But if you're interested, you can check it out here: https://github.com/ccouzens/figma-rust/blob/main/src/to_html...
Being really nitpicky here (but I'm guessing that's what you're after): I'd consider scaling down the 3200x1800 1.6meg header image you have in your readme. I think the widest a readme image will scale to is 830px (894 - 32px padding), so you could scale it down to a quarter of the current size without losing anything visually. The slow load is the kinda thing that might put some of your target audience off.
The automation promise seems amazing but I still haven't seen something that really works. For a given design, a designer can create it in countless variations using Figma, while developers can write their code in numerous different ways to implement that design. My solution was to provide an essential layer of comps that everyone can agree on.
Go to the "Getting Started" page and you will have instruction there on how to set up the Figma library. It's pretty simple. Let me know if that worked for you.
I’d love to use this for building dashboards that hook into my APIs.