188

Coworking Space Website Template

£29
or the whole Vault, £99

The business, people and figures in this demo are made up for the example. Any resemblance to a real company is a coincidence.

Five-page coworking space and café website template in daylight colours: a full-bleed photograph hero, a seat picker with curtain reveals, an interactive daylight scrubber, a café menu with visitor/member pricing and weekday bake rota, a desk month builder, and a Visit page with a street map and tour form.

ScrollTrigger intermediate
14 more details
tabsclip-pathparallaxscroll-revealstaggerload-sequencecount-upclick-toggleform-validationfocus-managementview-transitionskeyboard-navigationprogressive-enhancementreduced-motion

Updated

About this template

A four-page site for a café with desks around it, where the sell is the room itself: daylight, plants, an oak table and good cake. The look is limewash and charcoal with one muted leaf green used as a mark and a pale sky band, Alegreya for headings and prices and Nunito Sans for reading. Lark, a café with thirty-six desks on a cobbled street in Frome, is the worked example.

Read the full template overview

The home page opens on a full-bleed photograph of the long room mid-morning with the headline set low on the sunlit table, and a line beneath it that says whether Lark is open right now. Below, a seat picker crossfades between four places to sit, a timeline sets the day's rhythm (doors, quiet hours, soup, cake, chairs up) at its real hours and marks where the visitor's clock falls in it, and the counter lists what Jo next door has baked today.

The Space page gives each place a large photograph with numbered points to look closer at, a list of what every desk includes and the house rules. Desks sets the plans as one ruled price list with a simple month builder that adds a locker, post and extra meeting-room hours to a plan. Visit has the week's hours with today marked, a real street map with walking routes, and a request form for a look round.

Making it yours is mostly photographs and copy: the colour tokens sit in one block, opening hours in one object at the top of the script, and the cakes, seats, rooms and plans are plain HTML. The same frame suits a café, a shared studio, a members' club or a library café.

Coworking Space - website template preview

What's included

12 items
  • Full-bleed photograph hero with masked headline reveal, subtle scroll parallax, a live phase pill and a portrait crop for phones
  • Seat picker: four tabs with a sliding active highlight, corner room counter and directional clip-path curtain reveals, with arrow-key navigation
  • Interactive daylight scrubber: drag the sun along the opening hours or pick any moment to shift the room's daylight tint, highlight the matching photograph and update the live sentence
  • Today's bakes in a framed café counter board driven by a per-weekday JSON list
  • The café page: visitor vs. desk member price toggle with sliding pill, interactive Monday–Saturday bake rota with dietary filters, and the 12:30 lunch table
  • Room photographs with numbered look-closer points paired with a readable list beside them
  • Desk price list and a month builder (plan, locker, post, extra meeting-room hours) with a running total and a per-day figure
  • Opening hours table that highlights today, and open-now wording from one hours object on every page
  • Real street map (MapLibre on OpenFreeMap tiles) with routed walks from the market and the station, loaded only when it nears the viewport
  • Tour request form with inline validation and an honest confirmation that nothing was sent
  • Designed phone menu: a sheet with every page, today's status and the address; no-JS falls back to a link row
  • Four plain HTML pages with a cross-document crossfade; complete without JavaScript and under reduced motion

Perfect for

5 use cases
  • Coworking spaces and shared offices with a café or kitchen at their heart
  • Cafés that welcome laptop workers and sell day passes or memberships
  • Shared studios, makerspaces and members' clubs that want to sell the room
  • Community hubs, library cafés and village workspaces
  • Learning pattern: status copy, highlights and lists driven by the visitor's clock from one small settings object

How it works

5 sections

Four plain pages and one hours object

Home, The Space, Desks and Visit are ordinary HTML pages that share one stylesheet and one script, with a short cross-document crossfade where the browser supports it. Opening hours live in one object at the top of the script; the open-now lines, today's row in the hours table, the timeline marker and the tour form's dates all read from it.

The hero photograph

The hero is a picture element with a landscape set for wide screens and a portrait crop for phones, preloaded with matching media queries so the right file starts downloading first. A scrim token darkens only the foot of the frame where the copy sits. On phones only the headline stays on the photograph and the rest moves onto the page ground.

Seat picker and timeline

The seat picker is a set of buttons upgraded to tabs, each naming the photograph it shows by a data attribute; selecting one crossfades the photographs and swaps the caption. The timeline's moments are positioned by their time as a percentage of the opening day, and the marker and the filled line are set from the visitor's clock as the band scrolls into view. On phones the line turns vertical.

Look closer, the month builder and the form

Each room photograph carries numbered buttons positioned in percentages, paired with a list of notes beside it, so the information reads without the photograph. The month builder is a native form of radios, checkboxes and a stepper whose prices are data attributes. The tour form validates in place and shows a confirmation that states nothing was sent.

Map and fallbacks

The Visit map is MapLibre GL on OpenFreeMap tiles, loaded when the section nears the viewport, with walking routes stored as coordinate arrays and drawn in the accent when a route is chosen. Cooperative gestures keep the page scrolling. Without JavaScript or WebGL a link to OpenStreetMap stays in place, and every page reads in full with motion reduced.

Plugins ScrollTrigger
Difficulty Intermediate
Includes HTML + JS + CSS source, documentation, AI setup prompt, lifetime updates

Lighthouse, as measured

Google Lighthouse on this template's demo (4 pages, lowest score shown), from the latest scan. A measurement of the demo as shipped, not a promise for your page.

Accessibility
100
Best practices
100

No performance score, on purpose. That figure depends on how you deploy: your server's compression and caching, your CDN, the connection and the device doing the test, none of which the code controls. The same page can score very differently on two consecutive runs, so measure it where it will live.

Questions about this template

Which businesses does this coworking space template suit?

Any place people come to spend time and work: a coworking space or shared office, a café that sells day passes, a shared studio or makerspace, a members' club, or a library café. The seats become your rooms or benches, the day timeline your own rhythm, and the counter section whatever you serve or sell that changes daily.

How do I change the seats in the picker and the rooms on The Space page?

Each seat is a button with a data-seat name and each photograph in the stage has a matching data-seat-img and a caption attribute; add or remove them in pairs. Rooms on The Space are self-contained sections. Their look-closer points are buttons with left and top percentages, paired by number with the notes list beside the photograph.

Does the tour request form send anything?

No. It is a static front end that collects a name, an email, a day, a time of day, how the visitor might work there and an optional note, then shows a confirmation saying nothing was sent. Point it at Formspree, Netlify Forms, your booking tool or your CRM to receive real requests.

Can I change the prices and what the month builder adds up?

Yes. The price list is plain HTML. In the month builder each plan is a radio whose value is its monthly price and whose data-days sets the per-day figure; the locker and post are checkboxes with their price as the value, and the meeting-room rate and limit are two constants in the script. Prices are written as including VAT; change the wording if yours do not.

Where do the opening hours and the daily cakes live?

Opening hours are one object at the top of the script, in minutes after midnight per weekday, with a list of café-only days. Today's bakes come from a small JSON block next to the counter section, one list per weekday. The footer and Visit table are plain HTML, so edit them to match when your hours change.

How do I move the map to my own address?

Set the longitude and latitude on the Getting here section's data-pin attribute, replace the two walking routes with coordinate arrays from a public OSRM router, and update the minutes and distances on the route tabs. Tiles come from OpenFreeMap and need no API key; the attribution must stay.

The Vault opens this source and the whole library.

Each product gives you the HTML, CSS and JavaScript source, the full documentation and an AI setup prompt, licensed for unlimited personal and commercial projects. Every paid product is tested for desktop and mobile layouts, reduced-motion handling, animation cleanup and keyboard controls wherever there is something to operate.

One payment, over 350 products, and future additions to the library.

Documentation

Quick Start

  1. Unzip and open index.html in a browser, or upload the folder to any static host. There is no build step.
  2. The five pages are index.html, space.html, desks.html, cafe.html and visit.html. Each loads assets/style.css and assets/script.js and works on its own.
  3. Edit the copy in the HTML, the opening hours at the top of assets/script.js, and the colour tokens at the top of assets/style.css.
  4. Replace the photographs in assets/img/ with your own at the same file names and proportions (see Images and Credits).

In your downloadThe working code for this step, in index.html.

Using It With Your Own Design

Every interactive part is found by a data- hook (data-seats, data-dayline, data-bakes, data-room, data-month, data-routes, data-tour-form, data-menu) and its function in assets/script.js returns early when the hook is missing. Delete any section and the rest keeps working. To lift one part into another site, copy its markup, the matching block of assets/style.css (each is headed by a comment) and its init function.

Two things to carry with any section you move:

  • The reveal gate. The small script at the top of each page's <head> adds has-js before the first paint, and the stylesheet hides [data-hero-title], [data-hero-fade], [data-reveal] and the children of [data-reveal-group] under it until they animate in. Keep that script before the stylesheet, or remove those attributes from the markup you move.
  • The open-now hooks. Any element with data-open gets is-open or is-closed, and its [data-open-line] child gets today's wording. Use them anywhere you want a live status.

The header, phone menu and footer are ordinary markup repeated on each page. Navigation between pages is plain links with a CSS cross-document view transition (@view-transition { navigation: auto; }), switched off under reduced motion, so there is no router to configure.

Pages and Configuration

Settings in assets/script.js

  • HOURS: opening and closing time per weekday in minutes after midnight (450 is 7:30, 1080 is 18:00; 0 is Sunday; null is closed). The open-now lines on every page, today's row in the Visit hours table, the timeline marker and the dates offered in the tour form all read it. The footer and the Visit table are HTML, so update them to match.
  • CAFE_ONLY_DAYS: weekdays when the café is open but desks are not staffed (Saturday in the example). The timeline and the tour form skip them.
  • Add ?at=4-14:20 to any page address to preview another day and time (weekday number, then 24-hour time). Useful for checking the timeline and the open-now wording.

Home (index.html)

  • Hero. One <picture>: a landscape set for wider screens and a portrait crop for phones, preloaded in the <head> with the same media queries. The headline is the h1 inside .hero__frame; the lede, buttons and facts line sit beside it. The scrim strength is the gradient on .hero__frame::after.
  • Where would you sit? Each seat is a <button class="seat" data-seat="name"> in the list, and each photograph in the stage has a matching data-seat-img="name" and a data-caption. Add or remove them in pairs; the one marked aria-selected="true" shows first.
  • A day here. Each moment is an <li class="moment" data-at="minutes"> with a <button data-pick-at="minutes"> and its left set to its place in the day as a percentage ((time - opening) / (closing - opening)). The opening and closing minutes are data-open and data-close on [data-dayline]. Visitors can drag the sun along the track, use arrow keys on the slider, or click any moment to shift the band's daylight tint (daylightColor()), focus the matching photograph and update the live sentence (sentenceForMinutes()). The three photographs sit at 7:30, 10:00 and 15:30; move them with .dayline__photo--a, --b and --c.
  • On the counter today. The JSON block under the list holds each weekday's bakes as [name, note] pairs ("1" is Monday). The HTML list is what shows without JavaScript.
  • Desks in brief and Come by are plain HTML.

The Space (space.html)

Each place is a <section> with data-room. Its look-closer points are <button class="spot" data-spot="n"> in .room__frame, positioned with left and top percentages of the photograph, and each pairs with the .closer__btn of the same data-spot in the list beside it. The list is the readable version, so every note is there without the photograph. Selecting either highlights both and opens the note on the photograph. The included list and the house rules are plain HTML.

Desks (desks.html)

  • Plans are one ruled list of .plan items: name, price and terms.
  • Your month is a native form. Each plan is a radio whose value is the monthly price, data-label is its name in the summary and data-days divides the total for the per-day figure. data-own marks the plan that already includes a locker and post. The locker and post are checkboxes with their price as the value. The meeting-room rate and limit are NOOK_RATE and NOOK_MAX in initMonth(). The figure shown without JavaScript is the default plan's price.
  • Questions are native <details> elements.

The Café (cafe.html)

  • Coffee & tea uses a Visitor / Desk member toggle ([data-cafe-prices]). Each .menu-price element carries data-guest and data-member attributes; flipping to Desk member swaps every Included drink into a leaf-green badge while keeping cakes and cold bottles at their regular price.
  • Jo's bake rota ([data-rota]) reads its Monday–Saturday lists from the [data-rota-data] JSON block, defaults to today (Monday on Sunday), and filters live by dietary tag (v, gf).
  • Lunch at the big table and Suppliers & allergens are plain HTML.

Visit (visit.html)

  • Hours are a table; data-day on each row (0 is Sunday) lets the script mark today.
  • Map. data-pin on the Getting here section is the pin as longitude,latitude. ROUTES in the script holds each walking route as an array of [longitude, latitude] points (from a public OSRM router), and STOPS the start of each with its label. Each route tab's data-route-tab names its route. Update the distances and minutes on the tabs to match your routes.
  • Tour request form. A static front end: it checks the name and email, offers the next ten open weekdays as dates, and shows a confirmation that says nothing was sent. To receive requests, set the form's action and method for Formspree, Netlify Forms or your own endpoint and remove the submit handler in initTourForm(), or post the fields from that handler.

Palette

The colour tokens are at the top of assets/style.css, with the measured contrast of every text pair in the comment above them.

Token Value Role
--ground #F4F1EA Limewash page ground
--surface #FBFAF6 Form fields, the menu sheet, cards on the sky band
--sky #DCE6EC One band per page: the day timeline, the month builder, the hours
--ink #2B2F33 Charcoal type, rules, buttons, the footer
--ink-dim #585D62 Body copy (5.9:1 on the ground)
--leaf #4E6B4F Kickers, the current page, today's row, focus rings
--on-photo #FBF8F1 Type on photographs, over the scrim

Green is a mark, never a field, and the sky band appears once a page. Every translucent colour resolves from an -rgb triple, so repainting the tokens repaints everything.

Accessibility and Fallbacks

  • Without JavaScript every page reads in full: reveals stay visible, the seat list and look-closer notes are text, the hours table and price list are plain, the phone header shows its three links as a row, and the map is a link to OpenStreetMap.
  • If the GSAP CDN is blocked, the script lifts the reveal gate and the interactions still work without motion.
  • Under reduced motion nothing moves: photographs swap instantly, the timeline is drawn at once and the page crossfade is off.
  • The seat picker is a tab list (arrow keys, Home and End). The route choice is a tab list. The phone menu is a button with aria-expanded; it moves focus in, keeps Tab inside, and closes on Escape or a tap outside, returning focus to the button.
  • Look-closer buttons are described by the matching note in the list. Form errors are announced beside their field and focus moves to the first one.
  • Focus rings show for keyboard use only.

Dependencies

  • GSAP 3.12+ with ScrollTrigger (the demo pins 3.15.0, from jsDelivr).
  • MapLibre GL 4.7.1 from unpkg, loaded only on the Visit page when the map nears the viewport, with tiles from OpenFreeMap (OpenStreetMap data, no API key). Keep the attribution.
  • No smooth-scroll library and no build step.

Fonts

Alegreya and Nunito Sans, self-hosted as latin WOFF2 files in assets/fonts/ under the SIL Open Font License (assets/fonts/OFL.txt). Both are variable, so one file covers every weight. To change a face, replace the files and the @font-face rules at the top of the stylesheet and the --font-display and --font-body tokens.

Images and Credits

Photographs are bundled as resized, lightly graded WebP files in assets/img/. To use your own, replace a file with one of the same name and proportions and update its alt text and any caption beside it (the seat captions are data-caption attributes). Smaller copies sit beside the larger ones for phones (-640, -1024, -560, -720), and hero-tall and hero-tall-480 are a portrait crop of the hero that phones load instead; replace those too, or delete the matching srcset entry.

Generated images. All eight photographs are AI-generated images (Codex image engine, November 2026) of a fictional café and fictional people: hero, counter, barista, window-seats, quiet-desks, nook, exterior and afternoon. They depict no real business, person or brand. The shopfront has no lettering on it, and the wall screen in nook is switched off.

Also in your download: the full source, worked examples, the events and programmatic API, and the class reference.

£29