Forma PDF

Create a restaurant menu PDF from structured data

By WVSTECH · Reviewed November 23, 2026 · Examples target SDK 0.4.0

A restaurant menu is a useful example of a document whose design stays mostly stable while its data changes. Keep item names, descriptions and formatted prices in your application and send them to a reusable menu layout.

Explore the built-in menu

const template = getTemplate('menu')
const editor = createEditor(container, {
  layout: template.layout,
  values: template.values,
  locale: 'en'
})
const contract = editor.getDataContract()

The contract identifies the bindings expected by that template. Adapt them to your menu database or customize the layout. Use tables for repeating rows, text fields for section titles, and an embedded image for a logo.

Price formatting and language

Format prices in your application using the currency and language appropriate for the restaurant. Changing the editor interface language does not translate the menu itself. Ingredient descriptions and allergen information must come from verified restaurant data.

Preview long descriptions

Test names and descriptions that wrap onto more than one line. Keep page geometry within A4 or Letter boundaries and enable automatic page breaks when the menu grows. Generate separate values for each location or seasonal menu while retaining a shared approved design.

See the sample menu PDF and the pagination guide before integrating a larger menu.

Continue building

Try the visual editor View the SDK license