Galley
Early preview Open the editor right in your browser

Design anything you print with data

Galley is a Figma-style editor for certificates, badges, labels, invoices and reports. Start from a template, design freely, then fill it with data from a spreadsheet, a PDF or any API.

The Galley editor: layers on the left, an order layout split into report bands in the middle, properties on the right

Bring your data when you are ready

Data is optional. Design first and connect it later, or bring it in right at the start. Either way, it becomes JSON that fills your layout.

Pick a template

Or a blank page in any size: A4, Letter, badges, labels, business cards or your own.

Design freely

Shapes, images, fonts, vectors and your brand kit, on a canvas that works like Figma.

Connect your data

Import a file or call an API. Galley matches your columns to the template fields, and each row becomes a page, a badge or a label.

JSON CSV Excel .xlsx XML PDF text, fields and tables Any API method, headers, body
GEThttps://api.example.com/v1/participants?course=design
// Authorization: Bearer •••• (kept in the session, never saved in the layout)
{ "data": [
  { "name": "Jane Doe", "course": "Design Fundamentals", "hours": 40 },
  { "name": "Lucas Pereira", "course": "Typography", "hours": 24 }
] }  → one certificate per row

One editor for every printed document

Draw once, repeat for every record. A single card or hundreds of pages from the same layout.

Certificates

One page per student, with name, course and hours from your data.

Badges

Employee and event badges, many per sheet, ready for the printer.

Labels

Shipping, product and thermal labels in the exact paper size.

Invoices and reports

Orders, invoices and long reports with groups, subtotals and page breaks.

Figma on the canvas, report bands underneath

The freedom of a design tool with the structure that data-driven documents need.

A real design canvas

Auto layout, constraints, color and text styles, components, effects, smart guides and a command palette.

Report bands

Page header, title, detail, nested groups, summary and footer. Lists flow across pages on their own.

Fields from JSON

Write {customer.name} in any text, or drag fields from the Data tab. Format money, dates and numbers, and compute sums and counts.

PDF on the server

Selectable text, real paper sizes per page and the same result you see in the editor.

Embeds in your app

Mount it in plain JavaScript or React. Scoped CSS and theme variables, so it fits your product.

English and Portuguese

The interface ships in English and Brazilian Portuguese, with more languages on the way.

Get started in three steps

Install the package, mount the editor and save the layout as JSON. Render it anywhere.

1Install (npm release coming soon)
npm install galleyjs
2Mount the editor
import { mountEditor } from "galleyjs";
import "galleyjs/style.css";

mountEditor(el, {
  data,             // any JSON
  locale: "en",
  onSave: layout => save(layout),
});
3Render the PDF
import { chromium } from "playwright";
import { generatePdf } from "galleyjs/pdf";

const browser = await chromium.launch();
const pdf = await generatePdf(
  layout, data, { browser }
);

Try it now, nothing to install

The demo runs entirely in your browser. Your layout stays on your machine.