Skip to main content
Clever Ops

Editorial Menu

A restaurant menu set like a fine editorial page, courses with dotted price leaders, dish notes in quiet ink, and dietary marks in mono. Print-menu craft for the web.

Preview & code

Loading Editorial Menu preview

Installation

pnpm dlx shadcn@latest add @cleverui/restaurant-menu

Requires the @cleverui registry in your components.json, a one-off, two-line setup.

Usage

tsx
import { RestaurantMenu } from '@/components/blocks/restaurant-menu'
Exampletsx
import { RestaurantMenu } from '@/components/blocks/restaurant-menu'

export default function RestaurantMenuDemo() {
  return (
    <RestaurantMenu
      eyebrow="Dinner"
      heading="Menu"
      note="Please tell your server about allergies · 18% service for parties of 6+"
      sections={[
        {
          title: 'Starters',
          items: [
            {
              name: 'Hearth bread',
              description: 'Warm levain, cultured butter, and smoked sea salt from the Outer Banks.',
              price: '9',
              marks: ['V'],
            },
            {
              name: 'Beet & burrata',
              description: 'Roasted candy-stripe beets, torn burrata, pistachio oil, and bitter greens.',
              price: '16',
              marks: ['V', 'N'],
            },
            {
              name: 'Oysters on ice',
              description: 'Half-dozen East Coast oysters, mignonette, lemon, and brown-butter crumble.',
              price: '22',
              marks: ['GF', 'DF'],
            },
          ],
        },
        {
          title: 'Mains',
          items: [
            {
              name: 'Dry-aged ribeye',
              description: '28-day strip, charred scallion, bone marrow butter, and crushed fingerlings.',
              price: '58',
              marks: ['GF'],
            },
            {
              name: 'Pan-seared hake',
              description: 'Coastal hake, saffron broth, fennel confit, and toasted couscous.',
              price: '36',
            },
            {
              name: 'Mushroom tagliatelle',
              description: 'Hand-cut pasta, wild mushrooms, aged pecorino, and black pepper.',
              price: '28',
              marks: ['V'],
            },
          ],
        },
        {
          title: 'Sweets',
          items: [
            {
              name: 'Olive oil cake',
              description: 'Citrus syrup, whipped crème fraîche, and candied kumquat.',
              price: '12',
              marks: ['V'],
            },
            {
              name: 'Dark chocolate pot',
              description: '72% pot de crème, sea salt, and toasted hazelnut praline.',
              price: '14',
              marks: ['V', 'N'],
            },
          ],
        },
      ]}
    />
  )
}

API reference

RestaurantMenu accepts the following props.

PropTypeDefaultDescription
headingstring'Menu'
eyebrowstring
sections*MenuSection[]
notestringmono footnote (allergens, service charge)

…plus everything from React.HTMLAttributes<HTMLElement>: className, event handlers, aria attributes and the rest pass straight through.

Referenced types

Typestsx
export interface MenuSection {
  title: string
  items: MenuItem[]
}

export interface MenuItem {
  name: string
  description?: string
  price: string
  /** dietary codes: V, VG, GF, N, DF */
  marks?: string[]
}

Frequently asked questions

How do I install the Editorial Menu component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/restaurant-menu`. The shadcn CLI copies the source into your project, you own the code from that point. You can also copy the source directly from this page.

What dependencies does Editorial Menu require?

Editorial Menu uses motion on top of React and Tailwind CSS. You don't need to install it manually, the shadcn CLI resolves and installs npm dependencies automatically when you add the component.

Can I theme Editorial Menu to match my brand?

Yes. The component is styled entirely with Tailwind utilities over standard design tokens (primary, background, muted, border), so it inherits your existing shadcn/ui theme automatically. Change your CSS variables and the component follows, no source edits needed for palette, radius, or fonts.

Want this built for you?

CleverUI is built by the Clever Ops web team. If you'd rather ship a hand-coded, fast, custom website than assemble one, we build them for Australian businesses every week.

Explore web development services