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
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
- Event Flyer — High-contrast poster with headline, agenda, speakers and RSVP block.
- Customer Success & Impact Case Study — Quantified B2B ROI case study featuring 4 impact KPI cards, Before/After architecture columns, and executive pull-quote.
- Product Technical Specification One-Pager — Industrial hardware/edge AI datasheet with QR CAD link, thermal/compute KPIs, electrical/mechanical columns, and SKU block.
- Official Press Release (AP Style) — Associated Press (AP) wire-format news release with immediate-release embargo header, dateline lead, quote, and media contacts.
- Enterprise SaaS Pricing & Tier Comparison Sheet — Non-tabular 3-column SaaS pricing guide comparing Starter, Growth, and BYOC Enterprise tiers with compliance add-on checkboxes.