🔥 All-Access Pass — $199 USD (Regular $499) · Unlock all 2,836 Astro themes ➔
komal.nakrani
Get All-Access Pass ($199)
ThemesCategoriesDocsBlogTips & TricksPricingGet All-Access Pass ($199)
Astro Themes••By Komal Nakrani

Best Astro Cafe Template Picks for Coffee Shops (2026)

The best Astro cafe template options for coffee shops and bakeries in 2026: what the site needs, free starting points, paid themes and an open-now hours pattern.

#Astro#Cafe Templates#Astro Themes#Coffee Shop#Food & Drink

The best Astro cafe template shows the opening hours, location and drinks menu within one scroll on a phone, and lets the owner change a price or a seasonal special without touching the layout. Cafe sites are small, often three to five pages, which makes them a natural fit for Astro’s static output and free hosting.

We sell Astro themes, including cafe and coffee shop ones, so weigh our picks accordingly. Below: what a cafe site needs, the free routes, two patterns you can add to any theme, and a short list from our catalog.

Key Takeaways

  • Cafe visitors want hours, location and the menu. Most arrive on a phone, often while walking.
  • Keep the menu in a YAML or JSON file so a price change is one line.
  • An “open now” badge built from your hours data answers the most common question without a phone call.
  • CafeOrCoffeeShop structured data with hours and address helps local search.
  • Our Food & Drink category holds 88 Astro themes, and around 50 across the catalog mention cafes, coffee or bakeries.

What a cafe or coffee shop website actually needs

A cafe website does not need to be big. It needs to be current. The pages and blocks that matter:

  1. Hours and address in the header or first screen, with a map link. Hours are the most searched fact about any cafe.
  2. An HTML menu. Drinks, food and prices as real text, not a photo of the chalkboard.
  3. Seasonal specials, which give regulars a reason to check the site.
  4. Locations, if you have more than one, each with its own hours.
  5. Story and sourcing. Roasters and specialty shops sell on where the beans come from.
  6. Optional extras: online ordering links, bean subscriptions, events, private hire and a blog.

Our guide to building a restaurant website with Astro covers the full build for food businesses, and most of it applies to cafes.

Free routes to an Astro cafe site

Free cafe-specific Astro themes are rare. Your realistic options:

Adapt AstroWind or another general theme

AstroWind is a free Tailwind CSS theme with hero, features, testimonial and contact sections. A features grid can become a drinks list, and the contact block can hold hours. You build the menu data and locations yourself.

Start from the minimal starter

A cafe site is small enough to build from scratch in a day or two if you have a design:

# Terminal
npm create astro@latest -- --template minimal

Browse the official directory

The Astro themes directory has a few food and hospitality themes from community authors. Check whether each uses current Astro APIs and whether its menu is real HTML.

Keep the menu in a YAML file

YAML is easier than JSON for non-developers to edit, and Astro’s file() loader reads it directly. Save this as src/data/menu.yaml:

# src/data/menu.yaml
- id: flat-white
  name: Flat white
  section: Espresso
  price: 3.6
  oatMilk: true
- id: filter-ethiopia
  name: Filter, Ethiopia Guji
  section: Filter
  price: 4.2
  oatMilk: false
- id: cardamom-bun
  name: Cardamom bun
  section: Bakery
  price: 3.4
  oatMilk: false
// src/content.config.ts
import { defineCollection } from 'astro:content';
import { file } from 'astro/loaders';
import { z } from 'astro/zod';

const menu = defineCollection({
  loader: file('src/data/menu.yaml'),
  schema: z.object({
    name: z.string(),
    section: z.enum(['Espresso', 'Filter', 'Tea', 'Bakery', 'Food']),
    price: z.number().positive(),
    oatMilk: z.boolean().default(false),
    seasonal: z.boolean().default(false),
  }),
});

export const collections = { menu };

Render it with getCollection('menu') grouped by section, the same way our restaurant template roundup shows for a dinner menu. A typo in a section name fails the build instead of quietly hiding a drink.

Show an “open now” badge from your hours

Opening hours are the question every cafe gets. Keep them in one place and let a tiny script work out whether you are open at the visitor’s current time. The HTML still shows the full hours, so the page works without JavaScript:

---
// src/components/Hours.astro
const hours = {
  Monday: ['07:00', '17:00'],
  Tuesday: ['07:00', '17:00'],
  Wednesday: ['07:00', '17:00'],
  Thursday: ['07:00', '17:00'],
  Friday: ['07:00', '18:00'],
  Saturday: ['08:00', '18:00'],
  Sunday: ['09:00', '15:00'],
};
---
<section class="hours" data-hours={JSON.stringify(hours)}>
  <p class="status" data-status hidden></p>
  <dl>
    {Object.entries(hours).map(([day, [open, close]]) => (
      <>
        <dt>{day}</dt>
        <dd>{open} to {close}</dd>
      </>
    ))}
  </dl>
</section>

<script>
  const el = document.querySelector<HTMLElement>('[data-hours]');
  const status = document.querySelector<HTMLElement>('[data-status]');
  if (el && status) {
    const hours = JSON.parse(el.dataset.hours ?? '{}');
    const timeZone = 'Europe/London'; // the cafe's time zone, not the visitor's
    const now = new Date();
    const day = now.toLocaleDateString('en-US', { weekday: 'long', timeZone });
    const time = now.toLocaleTimeString('en-GB', { hour: '2-digit', minute: '2-digit', hour12: false, timeZone });
    const today = hours[day];
    const open = today && time >= today[0] && time < today[1];
    status.textContent = open ? `Open now until ${today[1]}` : 'Closed now';
    status.hidden = false;
  }
</script>

Astro bundles and defers the <script> tag automatically, so there is no framework or extra request. Setting timeZone means a visitor checking from another city still sees the cafe’s local status. Times compare correctly as strings because they are zero-padded HH:MM. For a shop with several locations, move the hours into a locations collection and render this component once per location.

Add CafeOrCoffeeShop structured data

Schema.org has a specific CafeOrCoffeeShop type. Reuse the same hours object so the structured data never disagrees with the page:

---
// src/components/CafeSchema.astro
const schema = {
  '@context': 'https://schema.org',
  '@type': 'CafeOrCoffeeShop',
  name: 'Kettle & Grind',
  url: Astro.site?.href,
  servesCuisine: 'Coffee',
  priceRange: '$',
  address: {
    '@type': 'PostalAddress',
    streetAddress: '21 Market Row',
    addressLocality: 'Bristol',
    postalCode: 'BS1 1AA',
    addressCountry: 'GB',
  },
  openingHoursSpecification: [
    { '@type': 'OpeningHoursSpecification', dayOfWeek: ['Monday', 'Tuesday', 'Wednesday', 'Thursday'], opens: '07:00', closes: '17:00' },
    { '@type': 'OpeningHoursSpecification', dayOfWeek: 'Sunday', opens: '09:00', closes: '15:00' },
  ],
};
---
<script type="application/ld+json" set:html={JSON.stringify(schema)} />

Our LocalBusiness schema guide covers multiple locations and holiday hours.

Our Food & Drink category holds 88 Astro themes. Each is a complete Astro 7 project with a live preview and full source in a private GitHub repository. A few built for cafes rather than full restaurants:

Beanro: specialty coffee and roasteries

Beanro ($39) is designed for coffee shops, cafes, roasteries and specialty coffee brands, with Menu, Locations, Reservation and Blog pages. Choose it if you have more than one site or sell your own beans.

Brunivo: cafes with drink detail pages

Brunivo ($39) is a warm cafe theme that gives individual drinks their own menu pages, plus Reservation and Blog pages. Detail pages are useful if you want signature drinks to rank in search.

Cavada: coffee and pastry

Cavada ($39) is designed for small food businesses, with custom illustrations, separate Coffee and Pastry pages, Reservation and Blog. The illustrations mean it looks finished before you have professional photos.

Aroma: coffee shops with several locations

Aroma ($39) is a coffee business theme with Menu, Locations, Gallery and Blog pages, suited to a cafe, bistro or small chain.

Bakery 128: bakeries and patisseries

Bakery 128 ($39) covers bakeries, pastry shops and cafes, with Menu, Gallery, product pages and three home layouts.

Brewsia and Brewhaven: one-page cafe sites

Brewsia ($29) suits cafes, coffee shops, tea houses and dessert spots. Brewhaven ($29) is built for coffee shops and small food businesses. Both are single-page themes, which is often all a neighbourhood cafe needs.

How to choose

Business What matters most Good starting point
Neighbourhood cafe Hours, menu, one page Brewsia, Brewhaven
Specialty coffee or roaster Sourcing story, beans, locations Beanro
Cafe with signature drinks Drink pages for search Brunivo
Coffee and pastry shop Separate coffee and bakery menus Cavada, Bakery 128
Small chain Several locations Aroma, Beanro

FAQ

Is Astro a good choice for a coffee shop website?

Yes. A coffee shop site is a few pages that must load fast on a phone and stay current. Astro builds static HTML with no JavaScript by default and can read the menu from a YAML file, so updates are simple and hosting is free or close to it.

Can customers order online from an Astro cafe template?

Not by itself. Astro themes are static sites, so online ordering runs through an ordering provider. Link to it from the menu or embed its widget on an order page. The rest of the site stays static.

How do I update cafe opening hours in an Astro theme?

Keep hours in one component or data file and edit them there. If the structured data and the visible hours read from the same object, a single change updates both. Push to Git and your host rebuilds the site.

What is the difference between a cafe template and a restaurant template?

Cafe templates are usually smaller, with a short drinks and pastry menu, hours, locations and a sourcing story. Restaurant templates add reservations, longer menus and dish pages. Many themes in our catalog cover both.

Are there free Astro cafe templates?

A few exist in the community directory, but the selection is small. Many developers adapt a general theme such as AstroWind and add a menu file and hours. Paid cafe themes cost more but ship menu, location and reservation pages already built.