Restaurant Menu PDF Template — Multi-Engine Code Generator

A high-end evening restaurant menu with dynamic variable bindings ({{restaurantName}}, {{menuSubtitle}}, {{starter1Name}}, etc.). Includes structured starters, artisanal mains, desserts, and sommelier wine pairings with dietary markers and price alignments.

Customize Visually in Studio | Export Full Source Code (22 Libraries) | Open Sample PDF

Restaurant Menu PDF template preview

Generate Restaurant Menu Programmatically (Code & JSON Schema)

Bind dynamic JSON data and compile this layout into standalone production code for @react-pdf/renderer, pdf-lib, Python ReportLab, PHP Dompdf, C# QuestPDF, and 17 more engines.

React / TypeScript (@react-pdf/renderer) Excerpt

import React from 'react';
import { Document, Page, View, Text, StyleSheet, Font } from '@react-pdf/renderer';

// This code is generated using codepdf.dev

Font.registerHyphenationCallback((word) => [word]);

// Document-wide defaults configured in the editor.
export const DOCUMENT_DEFAULTS = {
  "fontFamily": "Helvetica",
  "fontSize": 12,
  "textColor": "#000000",
  "locale": "en-US",
  "currency": "USD",
  "currencyDisplay": "symbol",
  "timeZone": "GMT",
  "dateFormat": "DD/MM/YYYY",
  "timeFormat": "HH:mm",
  "showPageNumbers": false,
  "pageNumberFormat": "{{page}} / {{total}}",
  "pageNumberPosition": "center",
  "compress": true
};

// … (201 more lines in full generated file)

Python (ReportLab) Excerpt

from reportlab.lib.colors import HexColor
from reportlab.pdfgen import canvas
from reportlab.pdfbase import pdfmetrics

# This code is generated using codepdf.dev

class _NumberedCanvas(canvas.Canvas):
    _DOC_KEYS = frozenset({
        "_page_states", "_page_stamps", "_active_page", "_num_pages",
        "AcroForm", "_doc", "_filename", "_destinations", "_outlines",
        "_annotationCount", "_extgstate", "_namedCB", "_onPage",
    })

    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)
        self._page_states = {}
        self._page_stamps = {}
        self._active_page = 1
        self._num_pages = 1

    def _save_active_state(self):
        self._page_states[self._active_page] = {
# … (293 more lines in full generated file)

Sample Dynamic JSON Payload (sample.json)

{
  "restaurantName": "L'AVENUE BISTRO",
  "menuSubtitle": "SEASONAL EVENING MENU  ·  SPRING 2026",
  "chefLine": "Chef de Cuisine: Marc Dupont  ·  Executive Sommelier: Juliette Moreau",
  "dietaryPolicy": "Dietary Markers: [GF] Gluten Free  ·  [VG] Vegetarian. Gratuity of 20% added for parties of 6 or more.",
  "starters": [
    {
      "name": "Wild Morel Mushroom Velouté",
      "desc": "Truffle foam, toasted hazelnut brioche crumble [VG]",
      "price": "$18.00"
    },
    {
      "name": "Pan-Seared Hokkaido Scallops",
      "desc": "Cauliflower purée, golden raisin caper emulsion, prosciutto crisp [GF]",
      "price": "$24.00"
    }
  ],
  "mains": [
    {
      "name": "Dry-Aged Wagyu Ribeye (8oz)",
// … (27 more lines in full generated file)

Template Specifications

Category
Marketing
Page Size
A4 (portrait)
Default Engine
react-pdf-renderer
License
Free / MIT Commercial Code Ownership

Key Features

  • Elegant classic typography and decorative borders
  • Curated sections (Starters, Main Courses, Desserts, Cellar)
  • Detailed culinary descriptions and dietary indicators
  • Clean right-aligned pricing structure

Restaurant Menu Template FAQs

Where can I use the Restaurant Menu template?

Use it for fine-dining dinner menus, seasonal tasting menus, hotel restaurants, pop-up suppers, or printable catering sheets.

What menu sections are included?

It presents a classic restaurant header with chef line, organized Starters, Main Courses, and Desserts sections with dish descriptions, right-aligned prices, and a dietary policy note.

Can it display dietary indicators and allergen notes?

Yes—each menu item supports dietary markers alongside a dedicated dietary and allergen policy strip at the bottom of the page.

Related Marketing PDF Templates