Business · Gutenberg

Restaurant Menu block for WordPress

A beautifully organized restaurant or café menu with category tabs, item names, descriptions, prices, and dietary badges.

Get Blockenberg

Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.

Get Blockenberg

What it actually does

A beautifully organized restaurant or café menu with category tabs, item names, descriptions, prices, and dietary badges.

Inspector panels on this block: Layout, Display, Categories & Items. Those titles come from index.js, not from a shared template.

Behavior controls: “Display style” options: Category tabs, Sections (scroll); “Item style” options: List, Cards; “Currency position” options: Before price ($9), After price (9$); “Item separator” options: Line, Dots, None.

Where to find it

Gutenberg inserter → Business → search “Restaurant Menu” (block name `blockenberg/restaurant-menu` in block.json). Style it in the sidebar after insert.

How to use Restaurant Menu block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Restaurant Menu”, insert it. Category: Business.
  3. Configure inspector controls that exist on this block. Open Layout. Set “Display style”, “Item style”, “Currency position”, “Currency symbol”.
  4. Check the published page. Keyboard handlers move focus between items. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
Display styleSelect control; the chosen value is saved on the block. Options: Category tabs; Sections (scroll). block.json default: tabs. Saved as `layout`.
Item styleSelect control; the chosen value is saved on the block. Options: List; Cards. block.json default: list. Saved as `itemStyle`.
Currency positionSelect control; the chosen value is saved on the block. Options: Before price ($9); After price (9$). block.json default: before. Saved as `currencyPosition`.
Currency symbolText field in the inspector. block.json default: $. Saved as `currency`.
Item separatorSelect control; the chosen value is saved on the block. Options: Line; Dots; None. block.json default: line. Saved as `separator`.
Card columnsNumeric range control in the inspector. Range 1–3. block.json default: 1. Saved as `columns`.
Card radius (px)Numeric range control in the inspector. Range 0–24. block.json default: 12. Saved as `cardRadius`.
Card padding (px)Numeric range control in the inspector. Range 8–40. block.json default: 18. Saved as `cardPadding`.
Badge radius (px)Numeric range control in the inspector. Range 0–12. block.json default: 4. Saved as `badgeRadius`.
Show category iconsOn/off toggle in the inspector. On by default. Saved as `showCategoryIcon`.
Show descriptionsOn/off toggle in the inspector. On by default. Saved as `showDescription`.
Show dietary badgesOn/off toggle in the inspector. On by default. Saved as `showBadges`.
Category NameShared Blockenberg typography popover (family, size, weight, spacing). Saved as `catNameTypo`.
Item NameShared Blockenberg typography popover (family, size, weight, spacing). Saved as `itemNameTypo`.
DescriptionShared Blockenberg typography popover (family, size, weight, spacing). Saved as `descTypo`.
PriceShared Blockenberg typography popover (family, size, weight, spacing). Saved as `priceTypo`.
Badge (px)Numeric range control in the inspector. Range 9–14. block.json default: 11. Saved as `badgeSize`.
Padding top (px)Numeric range control in the inspector. Range 0–200. block.json default: 64. Saved as `paddingTop`.
Padding bottom (px)Numeric range control in the inspector. Range 0–200. block.json default: 64. Saved as `paddingBottom`.
Category nameText field in the inspector.
NameText field in the inspector.
DescriptionMultiline text field in the inspector.
PriceText field in the inspector.

What the front-end script actually does

When this is the right block

Notes from the implementation

viewScript: this folder’s frontend.js is enqueued on the front end for this block.

FAQ

How do I add the Restaurant Menu block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Restaurant Menu”. It sits under Business. After insert, open Layout and set “Display style”, “Item style”, “Currency position”, “Currency symbol”.

Where do Restaurant Menu submissions go?

The published page calls this block’s Blockenberg REST route (see front-end notes). The editor canvas does not send mail unless you preview on the front end.

Is the Restaurant Menu Gutenberg block free?

Yes. Restaurant Menu ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.

Can I style Restaurant Menu to match my theme?

Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Layout, Display, Categories & Items).

Related business blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Restaurant Menu from the Gutenberg inserter.

Get Blockenberg