For hotels and holiday rentals
Business websites
Boutique hotel website example written as code
A small hotel sells a feeling first and a room second, and its website needs more freedom than fixed page blocks give. This example for an invented Port Fairy guesthouse was written as code as a React site: a full bleed hero, editorial rooms, a breakfast and garden spread and a check availability form.
The home page at three widths
The same page on a desktop, a tablet and a phone, exactly as it renders. Scroll inside each frame to read it all; nothing here can be clicked or submitted.
The rooms page
Page by page
- Home /
- Full bleed photo hero with two actions, House story with three facts, Rooms preview, three photo cards, Breakfast panel beside two photos, Port Fairy on foot over a photo, Stay a while call to action
- Rooms /rooms
- Page heading, Three room details, photos alternating sides, Included with every stay, Stay a while call to action
- Stay /stay
- Contact details, Availability request form (room, dates, message)
How it was built
The AI writes a React Router project on Tailwind and shadcn/ui, one git repository per site, then builds it and checks every page at 375, 768 and 1280 pixels before it can finish. This site has three routes, a content folder for the rooms and photos, and one component per section. The availability form was built with an earlier version of the builder, which stored requests in a shared inbox; today a form stores each request in the site's own database, read in an admin area inside the site.
When a written site suits
A site written as code suits design led businesses: hospitality, venues, studios. The trade off is that changes go through the AI chat, which edits the code and rebuilds, and the files are read only in the builder. Content you change weekly, such as rates or specials, belongs in the site's database with an admin area, so it changes without an AI turn.
What makes this website work
A layout fixed blocks do not have
The Port Fairy band lays a list of walking times over a full width photograph, and the breakfast spread pairs a tall photo with a colour panel and a second image. The AI wrote these as components, which is why the site does not look like a template.
Rates beside every room
Each room card and detail shows the nightly price with breakfast and how many it sleeps. A guesthouse loses bookings when people have to ask, so the price is part of the room, not a separate page.
A request, not a booking engine
Three rooms do not need a channel manager. The stay page asks for dates and a room through the site kit's lead form and promises a reply within hours, which is how small guesthouses actually take bookings.
Questions people ask
What does written as code mean?
Every OneCraft site is written as code. The AI writes a React Router, Tailwind and shadcn/ui project, builds it and shows a live preview, with version history, a zip download and a database of its own when a feature needs one. It is available on paid plans and charges credits for the AI's work and each build.
Can I edit the site's code myself?
You change it by asking the AI chat, which edits the files, rebuilds and shows the result; a failed build is rolled back. The files are read only in the builder, and you cannot upload your own code into the project. You can download the whole project as a zip at any time.
How do availability requests arrive?
The stay page asks for the room, dates and a message. Today the AI stores each request in a responses table in the site's own database, listed in an admin area inside the site.
Can the site take bookings with payment?
Yes, when you ask for it: the AI can build room rentals with nightly rates and a deposit now with the balance later, paid through Stripe Checkout on the owner's connected account, on a paid plan. There is no room calendar or channel manager, so a hotel with many rooms should link to its booking engine.
Is the site fast on phones?
Every page is prerendered to static HTML and served from a CDN, with images sized and loaded lazily below the first screen. The build fails if any page scrolls sideways or throws errors at 375, 768 or 1280 pixels, which is the layout check every build runs.
Can I start from a description instead?
Yes. Describe the property, rooms and rates in the generator, and optionally give a design reference page. The AI writes the project, builds it and opens the code builder when the first build is green.
Build your own in about a minute
The button below opens the generator with this use case already described. Change the wording to match your own, generate, then edit anything you like.
Make one like thisNot ready to start? See the AI website builder page first.
Other website examples
Wedding venue website example with packages and a day timeline
Couples shortlist wedding venues on photos, capacity and price, then ask whether their date is free. This example for an invented Hunter Valley vineyard, written as code, gives them all four: a calm photographic home page, the three spaces with capacities, a wedding day timeline and a packages page with prices.
Brewery website example with a live looking tap list
A taproom website gets one question more than any other: what is on tap this week. This example for an invented Marrickville brewery, written as code, answers it on the home page with styles, strength and schooner and pint prices, then covers the weekly events, opening hours and a functions enquiry.
Law firm website example with a fixed fee page
Most people who need a lawyer have never hired one, and the first thing they want to know is what it will cost. This two page example for an invented Parramatta firm answers that up front: a free 20 minute call, a costs agreement in writing, and a page of fixed fees for wills, conveyancing and consent orders.
For everything this generator can do, see the website maker.
Written and checked by the OneCraft team. Last checked .