Hey HN! Mirrorful (<a href="https://www.mirrorful.com/">https://www.mirrorful.com/</a>) is an open-source developer framework that helps front-end engineers manage their design systems. We’ve been building Mirrorful with the open-source community (<a href="https://github.com/Mirrorful/mirrorful">https://github.com/Mirrorful/mirrorful</a>) and wanted to share our beta with you. Check out our online demo to get the idea: <a href="https://app.mirrorful.com/">https://app.mirrorful.com/</a>.<p>Design systems can be thought of as the “building blocks of your app” which makes me think of Lego bricks. Mirrorful helps you manage your codebase’s Lego bricks and ensure that they are consistent across all of your apps and platforms.<p>We saw as product engineers how hard it is to get code to match Figma mock ups. High-quality design is a competitive advantage, so getting your UI pixel perfect can matter a lot, but is time-consuming and tedious.<p>When we worked for large public companies, we saw that good component libraries help, but engineers are often still dealing with tweaking small design decisions. There are a lot of inefficiencies. We also worked at a small startup and saw what it was like to not have a design system. No design system led to copy pasta code, and days of back-and-forth on simple things like “what hex should i be using for the hover state?”<p>Design systems are tricky to get right. Picking an out-of-the-box solution is easy to begin with, but one day you’ll be cursing yourself due to lack of flexibility (we did!). On the other hand, creating a design system from scratch is super time-consuming even for the best frontend engineers. Mirrorful is our way out of this dilemma.<p>Mirrorful is completely open-source and written in Typescript. We’re starting with basic design elements—commonly called “design tokens” — such as colors, typography, and shadows, but have plans to expand our scope into more complex components.<p>As frontend engineers ourselves, we wanted a tool that lives in code but is visual. It had to be super easy to set up, but also prepare you for scale so you and/or your team don’t end up copy-pasting everywhere. We decided to make it an NPM package (<a href="https://www.npmjs.com/package/mirrorful" rel="nofollow">https://www.npmjs.com/package/mirrorful</a>) that runs a localhost editor and exports out your design tokens into any configuration you want: .js, .ts, .css, .scss, .json. It’s lightweight with no design system lock-in.<p>Our product is completely self-serve: just install our NPM package. If you run Mirrorful locally, a visual dashboard will pop up at localhost:5050 that lets you manage your theme and export various configuration files directly into code.<p>Pricing is similar to other open-source companies—we charge for cloud-hosted features and for premium components.<p>We’ve built open-source/open-core projects before and love interacting with contributors from all over the world. If anyone has any opinions on what we’re building, we’re all ears. Check us out at mirrorful.com and at github.com/Mirrorful/mirrorful and give it a shot!
Interesting. Two questions<p>1. How does this compare/relate to <a href="https://backlight.dev/" rel="nofollow">https://backlight.dev/</a>?<p>2. How does a designer work with this? Is it meant to be used by developers only? Where does this fit in the Figma --> Code workflow?
Nice work! Whilst I do love the hands-on approach of something like Style Dictionary, I can see the value prop here. Especially with design system standards semi-converging (in the wild at least).<p>Any plans on supporting native platforms in the future (sorry if I missed it in the docs)?
FYI, <a href="https://app.mirrorful.com/">https://app.mirrorful.com/</a> on Chrome/iOS Mobile has several z-index and overflow issues.
Interesting. Given the "design tokens" aspect, would it be possible for a non frontend/non Javascript developer to use this to design components that could be imported and used with PyScript?
The demo video you have is really well put together. The language is great, it has good pacing & touches all the right points. I really liked the tone & attitude of the person recording it. It's MVP'd in a way that it's not over produced, but uses simple tools to achieve a high quality regardless. Well done!
I don't get how this works. Do the files that are imported have css rules defined? Am I supposed to then use those classes in my app? What about apps that not greenfield, do I need to replace all my classes with the ones that mirrorful exports?<p>Also is there an integration with bootstrap, and if so how would that work?
Congrats on the progress! Generative AI is all the hype now and there's a few startups exploring using AI to generate front-end code. Is this on your roadmap as well?