From Figma to React
for Obra Studio.
Obra Studio makes the Obra shadcn/ui kit, a Figma library of every shadcn/ui component. Their designers draw the kit. I turn it into React, TypeScript and Tailwind CSS code that developers and coding agents can install, preview and check against the design.
What I built

Blocks that match the kit
The Pro kit includes full page layouts in Figma: dashboards, product pages, sign-up flows and marketing sections. I build each one as a React block with Tailwind CSS and shadcn/ui components, matching the Figma design as closely as possible.


A viewer for every block
I built a viewer for every block with three tabs: the live preview, the code, and the matching Figma design. You can switch screen sizes, themes and all eight shadcn styles, and the same viewer can be embedded on other sites too.
A first-class developer experience
I set up the entire shadcn registry that serves the blocks, and made sure it works the way shadcn/ui users expect. One command of the shadcn CLI adds a block to a project, together with the components it needs.

Comparing code and Figma
To catch small discrepancies, I built a local comparison tool that places every block next to its Figma design, at every screen size and in every style. It highlights what’s off and exports a list of fixes a coding agent can pick up directly.
Skills for coding agents
I wrote a set of skills that give AI coding tools clear instructions for working with the Obra kit: importing themes, turning Figma layouts into code, installing Pro blocks and reviewing designs. When I tested the same tasks with and without the skills, agents passed 97% of the checks on average instead of 43%.