Trip concierge chat with tool calls and bookable plans
A night chapter with four starter prompts beside a phone that runs a scripted concierge: it shows what it checked with timings, streams its reply, then answers with a plan card of legs, prices and one Book button.
Links in the preview stay on the block.
Open on its ownThe prompt
One prompt, written to stand on its own: goal, structure, type, colour, spacing, behaviour and the words in square brackets to replace. Paste it into any tool that writes HTML. The Code tab has this block as one file.
679 words
# Trip concierge chat with tool calls and bookable plans One product tour section, not a whole page: build it to drop into a page that already exists. Works in Claude, v0, Lovable, Bolt, Cursor or any tool that writes HTML. ## Goal An assistant that plans door-to-door trips and returns bookable cards inside a mini program, not a floating bubble. ## Structure 1. left: heading with one jade word, lede, four large starter buttons with arrows, a note that nothing books without a tap 2. right: a 340 x 700px phone with a chat log, a composer with an input and a round send button 3. reply parts: a collapsible tools row (spinner, ticks, timings, Checked n things in x s), a streamed text bubble, a plan card of legs (icon, title, detail, price) with a Book all button, follow-up chips ## Type Geologica 500 and 600 for display and UI, Geologica 400 for text; Chinese in Noto Sans SC 400, 500 and 700 subsets. ## Colour Pearl #F4F5F1, white #FFFFFF, ink #0D1411, graphite #56605B, line #DDE2DC, mint wash #E3F1EB, deep jade #007A5A for buttons and text (white on it 5.3:1), bright jade #19C58F for the scan line and the night chapter, night #0A1712. Chat ground #EDEFEC, user bubbles deep jade, bot bubbles white. ## Spacing and lines Section padding clamp(96px, 12vw, 176px); bubbles 16px radius with a 6px corner on the speaker side; plan legs 26px icon tiles on 1px rules. ## Behaviour Scripted intents with weighted keywords: places from a small gazetteer with coordinates, distance-based metro and car fares, a rail timetable per corridor with arrive-by and depart-at parsing, bags and late-night rules, follow-ups for first class, a later train and the other option, a pending question for where home is, emergency and human routes, and a fallback with starters. Book turns the button to a confirmation and adds a reply. ## Responsive Under 900px the phone follows the copy; under 720px the phone is full width up to 340px; starters scroll the phone into view when it is off screen. ## Accessibility The log is role log with aria-live polite; Enter sends; the send button disables while working; reduced motion shows replies at once; loaders run a few cycles only. ## Built values (from code.html) - Fonts: Geologica 400 (self-hosted: fonts/geologica-400.woff2); Geologica 500 (self-hosted: fonts/geologica-500.woff2); Geologica 600 (self-hosted: fonts/geologica-600.woff2); Yilu SC 400 (self-hosted: fonts/noto-sans-sc-400.woff2); Yilu SC 500 (self-hosted: fonts/noto-sans-sc-500.woff2); Yilu SC 700 (self-hosted: fonts/noto-sans-sc-700.woff2). Self-hosted files sit in fonts/ in the block download. - Colour variables: --pearl #F4F5F1, --white #FFFFFF, --ink #0D1411, --graphite #56605B, --line #DDE2DC, --line-2 #C9D0C9, --mint #E3F1EB, --jade #00936D, --jade-deep #007A5A, --jade-bright #19C58F, --night #0A1712, --night-2 #12241D, --night-line #24392F, --night-text #E8EFEA. - Font variables: --sans "Geologica", "Yilu SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif. - Size variables: --gut clamp(16px, 4.4vw, 56px), --max 1240px, --bar 64px, --pad clamp(96px, 12vw, 176px). - Media queries: max-width 900px, max-width 720px, max-width 380px, prefers-reduced-motion. - No media files. - Script: none, CSS only. ## Script Set the Chinese or Japanese text in a CJK face with its own letter spacing and a looser line height than the Latin text, with strict line breaking and the palt feature on. Latin words inside a CJK line sit on the same baseline. ## Content to replace - [Starters]: four real trips with places and times - [Replies]: one or two sentences - [Plan legs]: mode, title, detail and price ## Rules Plain, specific copy that reads as a live product; never the word sample. No shadows, glow, glass, blur, gradient text, emoji or italics. Motion moves transform and opacity, with colour, border, height and stroke transitions on state changes, and holds its end state under prefers-reduced-motion. Text passes WCAG AA. ## Output Return the block in one piece: the markup, one style block with the web fonts imported on its first line, and a small script only if the behaviour needs one. No page wrapper, no framework, no build step. Prefix every class with `blk-` and put the colours and sizes in CSS variables at the top.
More like this
Product tour
Same page




