Docket
A website theme for restaurants, in Astro and in Next.js with Sanity: a booking card with free times on the dining room, the menu with allergens and a filter, opening hours with open now, private dining, gift vouchers and the kitchen. 11 pages, 17 sections, light and dark, WCAG 2.2 AA.


Theme for restaurants, for Astro and Next.js + Sanity
What Docket is for
The site for a restaurant, a bistro or a café with a dining room: a table, the menu and the opening hours, on the first screen, in two editions: Astro, or Next.js with a Sanity Studio. 11 pages, 17 sections and one preset, light and dark, WCAG 2.2 AA.
Home, the menu, bookings, private dining, hours, vouchers, the kitchen and contact, ready for your restaurant.
Every page as it ships, with the invented restaurant Wren: forty-two covers on a street in Leeds, lunch and dinner from Yorkshire growers, the menu written twice a day. Switch to dark to see the other mode, and click a page to see all of it.
As considered on a phone.
Every page is checked at phone width in both modes. On a phone the booking card stays over the dining room, the slots stay as chips you can tap, the menu folds into tabs, and the allergen filter sits above the dishes.



Two editions, one license
Static files or a Studio. Same design.
Both editions render the same pages from the same sections and presets, so you choose by who edits the site, not by how it looks. Your license includes both.
- Framework
- AstroAstro 7, static output
- Next.js + SanityNext.js 16, App Router and React Server Components
- Content
- AstroMenus, hours, rooms, vouchers and the team in JSON files with a schema; page copy in one typed file
- Next.js + SanitySanity Studio with documents for settings, menus with allergens, hours, rooms, vouchers and people
- Demo content
- AstroIn the repository
- Next.js + SanityA seed script imports the demo into your dataset
- Booking
- AstroThe card shows the times you offer and posts the booking, or opens your booking tool with the choice filled in
- Next.js + SanityThe same card and the same two modes
- Publishing
- AstroRebuild and deploy
- Next.js + SanityPages generated ahead of time and refreshed when you publish
- Preview
- Astropnpm dev
- Next.js + SanityDrafts beside the form in the Studio
- Forms
- AstroBooking, private dining, voucher, newsletter and contact post to the addresses you set, or to an optional Cloudflare Worker that forwards them and fails closed without a destination
- Next.js + SanityRoute Handlers that forward to your endpoint, fail closed without one and log no field values
- JavaScript
- AstroSmall scripts: the booking card, “open now”, the menu tabs, the allergen filter, the voucher preview and the light/dark switch
- Next.js + SanityThe same small parts as client components; every page renders on the server
- Lighthouse, mobile
- Astro100
- Next.js + Sanity97–99
- Deploys to
- AstroCloudflare Workers, Netlify, Vercel or any static host
- Next.js + SanityVercel, or Cloudflare Workers through OpenNext
- Repository
- Astrothemesdev/docket-astro
- Next.js + Sanitythemesdev/docket-next
| Aspect | Astro | Next.js + Sanity |
|---|---|---|
| Framework | Astro 7, static output | Next.js 16, App Router and React Server Components |
| Content | Menus, hours, rooms, vouchers and the team in JSON files with a schema; page copy in one typed file | Sanity Studio with documents for settings, menus with allergens, hours, rooms, vouchers and people |
| Demo content | In the repository | A seed script imports the demo into your dataset |
| Booking | The card shows the times you offer and posts the booking, or opens your booking tool with the choice filled in | The same card and the same two modes |
| Publishing | Rebuild and deploy | Pages generated ahead of time and refreshed when you publish |
| Preview | pnpm dev | Drafts beside the form in the Studio |
| Forms | Booking, private dining, voucher, newsletter and contact post to the addresses you set, or to an optional Cloudflare Worker that forwards them and fails closed without a destination | Route Handlers that forward to your endpoint, fail closed without one and log no field values |
| JavaScript | Small scripts: the booking card, “open now”, the menu tabs, the allergen filter, the voucher preview and the light/dark switch | The same small parts as client components; every page renders on the server |
| Lighthouse, mobile | 100 | 97–99 |
| Deploys to | Cloudflare Workers, Netlify, Vercel or any static host | Vercel, or Cloudflare Workers through OpenNext |
| Repository | themesdev/docket-astro | themesdev/docket-next |
What's inside
11 pages from 17 sections.
Each page is a short list of sections: the booking card, the hours, the menu, the private room, the kitchen and the rest. The menus, the week’s hours, the rooms, the vouchers and the team are data files, and the booking card, “open now”, the footer, the hours page and the structured data all read the same hours file.
- Home
- The dining room with a booking card on it: guests, date and sitting, the free times as slots and one button that names the time. Below it today’s hours, the menu in tabs, the private room, the kitchen’s faces, gift vouchers and the newsletter.
- Menu
- Lunch, dinner, Sunday lunch and wine, set as typeset lists with prices. The 14 allergens the UK asks for are marked on every dish, with vegetarian, vegan and gluten-free marks, and a filter hides every dish with what you tick. The choice stays in the address.
- Bookings
- The booking card with the guest’s details, the week’s hours beside it, three other ways in and a short “good to know” list. Or hand the choice to Zenchef, OpenTable or ResDiary.
- Private dining
- Two rooms with their seats, minimum spends and what is included, three steps from enquiry to dinner, and an enquiry form.
- Hours and finding us
- The front of the restaurant, the week with each sitting named and today marked, the holiday changes, and four ways to get there.
- Gift vouchers
- Amounts and meals for two, with a live preview of the voucher as you choose.
- The kitchen
- The day by the clock, the growers with their distance, the team, and open jobs.
- Contact and the rest
- A note form beside phone, email, address and the people who read it; a sample privacy page, the thank-you page and a 404. The whole menu is also served as Markdown.
One look, light and dark.
Everything a section draws comes from the preset’s tokens: colours, type, space and corners. Docket is a white page set in Inter alone, with black buttons and one green. Change the tokens in one file and every page follows. Contrast is checked in both modes.

Checked, not promised
Accessible and fast, page by page.
These checks ran on every page of both editions, in light and dark, at desktop and phone widths.
- WCAG 2.2 AA
- Zero axe violations on all 11 pages, in light and dark, at desktop and phone widths, in the Astro edition.
- Fast on a phone
- Lighthouse performance on mobile: 100 for the Astro edition and 97–99 for Next.js, on the home page, the menu and bookings. Every photo is served at twice its drawn size for sharp screens and at its own size for the rest.
- Checked at 17 widths
- The main pages measured from 320 to 5120 pixels in both modes, and looked over by reviewers in four rounds: no sideways scrolling, no clipped text.
- Allergens set into the menu
- Every dish carries its allergens as two-letter marks and its vegetarian, vegan or gluten-free mark. The filter steps back every dish with what you tick and keeps the choice in the address, so a link to “menu without milk and gluten” opens that view.
- Open now, on the restaurant’s clock
- The week, the dated exceptions (Christmas, a private hire) and the time zone come from one file. “Open now” and today’s row are worked out in the browser; the server render never claims a state.
- Structured data for restaurants
- The restaurant as a Restaurant with cuisine, price range, opening hours and the dated exceptions; the menus as Menu, MenuSection and MenuItem with prices and diets; the vouchers as Offers; the team, FAQ and breadcrumbs. A sitemap, llms.txt and the whole menu as Markdown.
- Design rules, checked
- Colours only from the preset, images with alt text and a size: pnpm lint holds every page to it, yours included.
Delivery
A zip, or straight from GitHub.
Download both editions from your account, or connect GitHub and get read access to the private repositories. Each release is one tagged commit, so updating is a pull.
$ git clone git@github.com:themesdev/docket-next.git
$ cd docket-next && pnpm install
$ pnpm dev # the demo content, until you connect Sanity
$ pnpm seed # then import it into your own dataset- 01Buy a licensePay once. The license belongs to your organisation; owners and admins hand out the seats.
- 02Connect GitHubIn your account, sign in with GitHub once. We learn only your username, and invite it read-only to both repositories.
- 03Pull updatesUpdates are free for life. Access follows your license, and the zip stays in your account next to it.
Pay once. Both editions.
Unlimited projects, private, commercial and for clients, with every future update of both editions. Prices exclude VAT; we sell to businesses. License details
For a freelance developer, or a restaurateur who builds their own site.
Choose SoloA small studio building sites for restaurants: everyone gets their own seat.
Choose Team
A registered Dutch company, KvK 01129853. Questions before you buy? Ask me.
Paying
Through Mollie: card, Apple Pay, iDEAL, Bancontact or PayPal. A proper invoice for every order, with EU reverse charge.
Updates
Galley 2.0.0 came out on . 27 releases across our themes in the last 30 days, all free for buyers.
Track record
400+ teams and developers have bought from themes.dev since 2020. Their licenses now live in their accounts here.
What's new
Updates for both editions, free.
v1.0.0
Not released yet
The first release of Docket, for restaurants, bistros and cafés with a dining room.
Astro
- Home: the dining room with the booking card over it (guests, date, sitting, the free times as slots), the today strip with "open now", the week's hours beside the menu with allergen marks, the private room, the kitchen's faces, gift vouchers and the newsletter.
- The menu: lunch, dinner, Sunday and wine on one page with prices, set prices and supplements, the 14 UK allergens and dietary marks on every dish, an allergen filter that keeps its choice in the address, and the legend.
- Bookings with the guest's details and "good to know"; the booking card posts to your handler or opens your booking tool (Zenchef, OpenTable, ResDiary …) with the choice filled in.
- Private dining (two rooms with minimum spends and an enquiry form), opening hours with holiday changes and how to get here, gift vouchers with a live preview, the kitchen (the day by the clock, the growers, the team, jobs), contact.
Next.js + Sanity
- Every route of the Astro edition: home, the menu (and
/menu.md), bookings, private dining, hours and finding us, gift vouchers, the kitchen, contact, privacy, the thank-you page and the 404; Open Graph images,llms.txt, robots.txt and the sitemap. - The booking card (dates from the restaurant's own today, the sittings and slots of the chosen day, exceptions included), "open now" and today's row, the menu tabs on the home page, the allergen filter (the choice stays in the address) and the voucher preview run the Astro edition's scripts on the markup the server draws. The opening-hours logic, the allergen ids and those scripts are the Astro edition's own files (
internal/sync-shared.mjs). - Sanity Studio: the Site (bookings in mode card or link, forms, header, footer), the opening hours (the week with its sittings, the kitchen's note and dated exceptions) and the page copy (one document each); menus with sections and dishes (price, bottle price, the UK's 14 allergens, vegetarian, vegan and gluten-free marks, supplements), the 14 allergens, private rooms, gift vouchers and the team. The Presentation tool and draft mode (redirects through the library's
safeRedirect). - Structured data:
Restaurantwith its opening hours and the dated exceptions,Menu/MenuSection/MenuItem, the booking questions asFAQPage, private rooms asEventVenue, vouchers as aProductwith anOffereach, the team on anAboutPage,ContactPageand breadcrumbs.
Questions
Do I get both editions?
Yes. Docket is one product: every license includes the Astro theme and the Next.js + Sanity edition, as a zip and as two private GitHub repositories. Use either or both in any project your license covers.
Which edition should I use?
The Astro edition if a developer keeps the site: the menus and hours are JSON files and the output is plain static HTML on any host. The Next.js + Sanity edition if the restaurant changes its menu itself: a dish, its price and its allergens in the Studio, with a preview, and nobody touches code.
Does the booking card take real bookings?
It shows the times you offer, not live availability, and never says how many tables are left. In card mode the guest’s details post to your handler or the optional Worker. In link mode the button opens Zenchef, OpenTable, ResDiary, SevenRooms or your own page with the party, date and time filled in. Use link mode if your booking tool holds the real availability.
We are a café or a group of restaurants, not a single dining room. Does it fit?
The demo is one restaurant with a bookable dining room and a private room. A café can drop the booking card for a link to your menu and hours; the menu, the hours and the allergens work the same way. A group with several sites would need the location pages built, which this theme does not include.
What happens to the forms?
Booking, private dining, vouchers, newsletter and contact are plain forms that work without JavaScript, with a hidden field that catches bots. In the Astro edition they post to the addresses you set: a form service, or the optional Cloudflare Worker that forwards them. In the Next.js edition they post to the site, which forwards the fields to the address you set; without one it accepts nothing. Neither edition stores what people send. A voucher that is paid for needs a payment step: point the form at your shop or payment link.
Do I need a paid Sanity plan?
No. Sanity’s free plan is enough for this theme. The README walks you through the project, tokens and the seed script.
How does the GitHub access work?
In your themes.dev account, connect your GitHub account once by signing in with GitHub. You then get a read-only invitation to themesdev/docket-astro and themesdev/docket-next. Every release is a tagged commit there. Access follows your license: a seat you lose or a refund ends it. The zip stays in your account either way.
Can I build sites for clients with it?
Yes, in unlimited projects. A site you build with Docket for a restaurant is theirs: they may own, host, edit and keep running it without a license of their own. They may not take Docket out of that site to build other sites.
Can I see it before buying?
Yes. The live demo is the Astro edition with every page, and the screenshots on this page show them in light and dark. Wren and everything in it is invented: people, dishes, prices, addresses and phone numbers. The photos are generated and show fictional people.
Do you charge VAT?
We sell to businesses. Dutch businesses pay 21% VAT; businesses elsewhere in the EU with a valid VAT number pay none (reverse charge); outside the EU there is no Dutch VAT. You get a proper invoice by email.
Is Docket an official Astro, Next.js or Sanity product?
No. Docket is made by themes.dev and builds on the open-source Astro, Next.js, Tailwind CSS and Sanity projects; it is not affiliated with them.
Put your restaurant on Docket.
From €49 for one person to €349 for your whole company. Both editions, pay once, lifetime updates.





















