Instrument x Seth Akkerman
Projects Figma Pattern Generator Plugin

Figma Pattern Generator Plugin

A Figma plugin that turns any component into a repeating pattern — with support for mixing two components, individual scaling, isometric rotation, and a live in-panel preview so you can dial in the output before committing.

Pattern-making in Figma typically means a lot of manual copy-pasting and nudging. This plugin shortcuts all of that — select a component from anywhere on the page, set your grid parameters, and it tiles it into a repeatable pattern in seconds. The proof-of-concept phase covered a lot of ground fast: single and dual-component selection, per-component scale controls, isometric output at 30 degrees, and a live preview directly inside the plugin panel.

How it works

The plugin reads components from the active Figma page and renders them into a configurable grid. The dual-component mode lets you pull two separate illustration elements — say, a calendar icon and a building — and interleave them in the same pattern. The isometric option rotates the grid to a classic 30-degree angle, giving a stacked brick-like appearance versus the standard aligned grid. Scale sliders let you adjust each component independently before generating, so the proportional relationship between elements feels intentional rather than accidental.

The preview problem

One technically interesting constraint: Figma plugins run as sandboxed mini-websites layered on top of the canvas, which means you can’t render live Figma components directly inside the panel UI. The workaround here is clever — the plugin generates the full pattern output off-screen, converts it to a JPEG, and pipes that image back into the preview panel in real time as parameters change. It’s not pixel-perfect fidelity, but it’s more than enough to read scale, density, and overall composition before hitting generate.

What this unlocks

The real value is speed and flexibility for brand and marketing asset production. Pattern systems are common in visual identities — think social media backgrounds, merchandise, packaging — and they usually require either manual Figma work or jumping into a separate tool. Keeping it inside Figma means designers can work directly with components already in their file. Future directions include multi-component mixing beyond two elements, adjustable gap and offset controls, and potentially exporting at higher resolutions for print use. The UX is still rough in places, but the core mechanics are proven.

Role
Design Engineer
Tools
Figma Plugin API TypeScript HTML/CSS
Video thumbnail for Figma Pattern Generator Plugin