Skip to main content
Clever Ops

Cocktail List Spread

Cocktail menu React component set as a bifold bar list, serif drink names, italic builds, mono spec lines and prices across a two-column Tailwind spread.

Preview & code

Loading Cocktail List Spread preview

Installation

pnpm dlx shadcn@latest add @cleverui/cocktail-list-spread

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

Usage

tsx
import { CocktailListSpread } from '@/components/blocks/cocktail-list-spread'
Exampletsx
import { CocktailListSpread } from '@/components/blocks/cocktail-list-spread'

export default function CocktailListSpreadDemo() {
  return (
    <CocktailListSpread
      eyebrow="The bar"
      heading="Cocktails"
      signatureLabel="our signature"
      note="Classics on request · Sunday evening surcharge $4 · Spirit-forward pours available neat"
      sections={[
        {
          title: 'House',
          drinks: [
            {
              name: 'Harbour Light',
              build: 'navy strength gin, suze, dry vermouth, olive brine',
              spec: 'gin · coupe · dry',
              price: '19',
              signature: true,
            },
            {
              name: 'Smoke & Cedar',
              build: 'peated scotch, amaro, maple, lemon, egg white',
              spec: 'scotch · rocks · smoky',
              price: '21',
            },
            {
              name: 'Bitter Orange Hour',
              build: 'reposado tequila, aperol, falernum, lime',
              spec: 'tequila · coupe · bright',
              price: '18',
            },
          ],
        },
        {
          title: 'Aperitivi',
          drinks: [
            {
              name: 'Fennel Spritz',
              build: 'fennel amaro, prosecco, soda, orange peel',
              spec: 'amaro · wine glass · light',
              price: '16',
            },
            {
              name: 'Cynar Highball',
              build: 'cynar, dry cider, ginger, cracked pepper',
              spec: 'amaro · highball · herbal',
              price: '15',
            },
          ],
        },
        {
          title: 'Zero proof',
          drinks: [
            {
              name: 'Garden Collins',
              build: 'seedlip garden, cucumber, elderflower, soda',
              spec: 'botanical · highball · clean',
              price: '12',
            },
            {
              name: 'Charred Lemonade',
              build: 'charred lemon, honey, thyme, soda water',
              spec: 'citrus · rocks · sharp',
              price: '11',
            },
          ],
        },
      ]}
    />
  )
}

API reference

CocktailListSpread accepts the following props.

PropTypeDefaultDescription
headingstring'Cocktails'
eyebrowstringspaced small-caps serif label
sections*CocktailSection[]2–4 sections (House, Aperitivi, Zero proof)
signatureLabelstring'our signature'legend text for the signature asterisk
notestringmono footnote (classics on request, Sunday surcharge)

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

Referenced types

Typestsx
export interface CocktailSection {
  title: string
  drinks: CocktailDrink[]
}

export interface CocktailDrink {
  name: string
  /** ingredient line, e.g. "gin, suze, dry vermouth, olive brine" */
  build: string
  /** preformatted spirit · glass · profile */
  spec?: string
  price: string
  /** at most ONE signature:true across the entire list */
  signature?: boolean
}

Frequently asked questions

How do I install the Cocktail List Spread component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/cocktail-list-spread`. 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 Cocktail List Spread require?

Cocktail List Spread 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 Cocktail List Spread 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