HEADERS / FREE HTML + ASTRO

Restaurant wordmark header

A centered serif restaurant wordmark with a dedicated booking link and a separate menu row.

Try the design

Open demo ↗

Preview links stay in the example. Copy the source to use your own destinations. Form previews never send information.

Copy the source

<header class="fct-restaurant-wordmark-header s-header s-centered" data-snippet="restaurant-wordmark-header"><div class="s-wrap s-header-row"><a href="index.html" class="s-brand">SUNDAY TABLE</a><a class="s-header-action s-button" href="book.html">Book a table</a><button type="button" class="s-nav-toggle" aria-expanded="false" aria-controls="fct-restaurant-wordmark-header-nav">Menu</button><nav aria-label="Primary" id="fct-restaurant-wordmark-header-nav"><a href="menu.html">Menu</a><a href="about.html">Our story</a><a href="private-dining.html">Private dining</a><a href="contact.html">Visit</a></nav></div></header>

Where this design fits

The masthead gives a short restaurant name room to breathe. Menu, story and visit links sit below the identity, while the booking action has its own place.

  • Centered wordmark
  • Separate booking action
  • Two-level visual hierarchy

What is included

The HTML ZIP includes a standalone demo, reusable markup, scoped CSS, its small JavaScript runtime, a license and setup notes. The Astro ZIP includes Snippet.astro. It can be imported into an existing Astro page or layout.

Set the right destinations

Example navigation, policy and contact links must point to your actual pages. Update visible business details and telephone/email links together. Remove sections that your website does not need.

Add it to an HTML website

  1. Copy snippet.html into the relevant page section.
  2. Load snippet.css after your existing site stylesheet. The class prefix identifies this design.
  3. Load snippet.js once with defer. Keep the included keyboard behavior when adapting interactions.
  4. Replace example content and check mobile widths, zoom, links and keyboard focus in your actual website.

Use it in Astro

Copy Snippet.astro into src/components/, import it into your page or shared layout, and insert the component where the section belongs. Keep each generated prefix unique if you duplicate a component on one page.

Keep the section maintainable

Start with the variables at the top of the CSS for background, text and accent colors. Preserve semantic labels and focus styles. Existing site selectors can still affect imported markup, so test the combined result. Read the complete setup notes.

GOOD DESIGN, OCCASIONALLY.

Your next idea
could start here.

New templates, useful guides, and updates from us.
A little inspiration for whatever you’re building.