The stack
What each part does here.
I built the interactive parts of Coralbay Island Resort with SolidJS. These are the technologies on the page, and the job each one does.
Framework
SolidJS
Four islands run the page: hero turn buttons, the day story's moment rail, the villa picker with its pinned tag, the booking quote.
3D & WebGL
Three.js
One shared WebGL renderer draws the procedural island diorama three ways: the hero, the scrolling day and the villa fly-to camera.
3D & WebGL
GLSL shaders
Custom shaders shade the sea by depth with caustics, foam and night bioluminescence, and paint the sky dome with its sun and stars.
Scroll & timeline
GSAP
Tweens the camera from villa to villa and between moments on phones, and eases in the hero copy and each section as it arrives.
Scroll & timeline
ScrollTrigger
Scrubs the pinned day story on large screens: the camera flies from moment to moment while sun, sky and sea run from dawn to night.
Built on the same base as every template
- AstroBuilds every page to static HTML and loads each island's framework only where it is used.
- TypeScriptTypes the content, the components and every script, so mistakes surface at build time.
- Tailwind CSS 4Utility classes and design tokens, scoped to each template's own folder.
What each technology adds in general is under how my 2D templates and 3D templates differ.
Typography
The fonts it's set in.
I chose two open-licence families for Coralbay Island Resort and host them with the site, so the text never waits on a font service.
Headings
Instrument Serif
In the font library: Instrument SerifCoralbay Island Resort
Text
Nunito Sans
In the font library: Nunito SansYour paragraphs, set in Nunito Sans as on Coralbay Island Resort: how your visitors read every page.
See Coralbay Island Resort in other fonts before you choose yours.
Try other fonts on Coralbay Island ResortColours
The colours it's painted in.
I painted Coralbay Island Resort in eight colours on a light background, each with a single job: the same eight jobs every palette in my colour library fills.
- Background
#FBF6EE - Surface
#FFFDF9 - Text
#18323A - Muted text
#5E7378 - Accent
#0A7C7D - On accent
#FFFFFF - Second accent
#FF7A59 - Lines
#E0DED8
- Scheme
- Light
- Previews in
- Light palettes
- 3D scene
- Keeps its own colours, so a new palette repaints the page around it.
See Coralbay Island Resort in other colours before you choose yours.
Try other colours on Coralbay Island ResortSignature effects
What you'll see.
Motion style: Immersive scene, Micro-interactions.
- 01Explore the island in 3D
- 02Camera flies to each villa
- 03A day from sunrise to starlight
- 04Living sea over the reef
The app behind this template
Coralbay Stays
Direct bookings for an island resort: villas, seasonal prices, a deposit that holds the dates and boat transfers, with the front desk's chart.
- React
- NestJS
- Postgres
- Prisma
Live demo coming soon
Start a project
Start with Coralbay Island Resort.
Tell me about your business, and I'll shape Coralbay Island Resort around it: your words, your pictures and the way you want visitors to reach you.
