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

An Obra Pro block in React: a product grid of bicycles with filters for type, price and colour

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.

The Obra block viewer: a CRM dashboard block, with tabs for the preview, the code and the Figma frameThe same viewer on its Code tab: the block’s files in a tree beside its source

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 terminal: npx shadcn@latest add @obra/pricing-01 checks the registry, installs dependencies and creates four files

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.

The Pro Blocks QA report for hero-04 in the Vega style: every block in a sidebar sorted by difference, and the Figma artboard next to the rendered code on desktop and mobile

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.

A pricing block from the kit with three plan cards, and Codex, Cursor, Gemini and Claude as cursors working on it. Claude has the middle plan selected

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%.

Think we could make something good together?
Or just fancy a coffee?

simon@nonki.io