Stayline

AI UI component · a prompt for Claude, Codex and Cursor

pro

Get the prompt, project and Figma file with monthly ($29 a month) or yearly ($249 a year). Plus tax where it applies.

A dark hotel portfolio dashboard built around a three.js globe. On a near-black 1440 × 1080 artboard that scales to any window, a dark sphere with a soft rim carries land as a field of grey dots and faint country borders (Natural Earth through world-atlas, d3-geo and topojson), and six city pins with frosted labels and each city's occupancy: Lisbon, Barcelona, Rome, Istanbul, Marrakech and Dubai. Over it sit a glass header (the Stayline mark, the Meridian Hotels workspace, Occupancy / Rates / Guests / Forecast tabs, search and an avatar), Period and City dropdowns that drop in with staggered rows and a springy highlight, a 56-px occupancy headline and three glass cards: Occupancy with its change in points, a 14-day trend and ADR / RevPAR / average stay; Next 7 nights with bars against a dashed 80% line; Rate vs market with your rate, the market's and six competitors on one track. Pick a city and the camera flies in while a whole district rises from the centre out in a wave on a street grid that follows the globe's curve: white towers are your hotels and their height is occupancy, dark blocks are the rest of the city. Change the period and the towers re-grow in a wave while every number springs to its new value; from city to city the camera lifts over the curve of the globe and lands in the next one. A 24-second demo plays on its own with a pointer that opens the menus, flies to Lisbon, switches to the next 7 days, hovers a hotel for its tooltip (ADR, rooms, pace and a sparkline), flies to Barcelona and back out; move the mouse and it's yours. Esc closes a menu, R restarts. Its own 24-second music and UI sounds ship as a bonus file, timed to the clicks. Host Grotesk and Geist Mono; ?rec and window.__render(t) draw any moment for frame-exact video export; reduced motion gets a still.

what you get

prompt
Paste it into Claude, Codex, Kimi or Cursor to rebuild this template. Tested: we rebuild every template from its prompt before it goes live.
project
The Vite + React source code as a .zip, ready to run.
figma file
The editable design as a .fig file to import into Figma.

what's inside

  • dashboard
  • 3d globe
  • three.js
  • webgl
  • d3-geo
  • topojson
  • dotted globe
  • map pins
  • camera flight
  • instanced buildings
  • 3d city
  • dropdown menu
  • kpi cards
  • bar chart
  • rate comparison
  • tooltip
  • sparkline
  • springs
  • glassmorphism
  • cursor animation
  • autoplay demo
  • keyboard shortcuts
  • sound
  • frame-exact recorder

stack

  • react
  • vite
  • typescript
  • three
  • webgl
  • d3

fonts

Host Grotesk, Geist Mono

Free fonts, linked in the prompt.

colors

  • #060607
  • #141416
  • #26262A
  • #55575D
  • #9A9CA2
  • #F2F2F0
  • #A0E6B8

license

With monthly or yearly: personal and commercial work, client projects included. Don't resell or share the template, prompt or files.

read the license