Deploy terminal
A dark terminal card with a title bar and copy button whose output lines print once in view.
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.
396 words
# Deploy terminal 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 Show the whole product working in one command. ## Structure 1. h2 starting with a red numeral and a short paragraph 2. a graphite card with a title bar, a copy button and five lines: the command and four outputs with mono keys ## Type Chivo 400 to 800 for headlines and text with tabular figures; Chivo Mono 400 to 500 for labels, code and figures in tables. ## Colour Paper #F6F6F3, white #FFFFFF, graphite #151515, stone #64645F, hairline #CDCDC8, signal red #D52B1E (white on red 5.0:1, red on paper 4.6:1). ## Spacing and lines Card 28px by 32px padding, lines 1.9 line height. ## Behaviour Lines fade in 450ms apart once the card is in view; Copy writes the command to the clipboard and says Copied. ## Responsive On phones padding 20px and 12px text. ## Accessibility Landmarks and one h1 on the page, 44px targets, focus 2px red outline offset 2px, reduced motion shows the final state. ## Built values (from code.html) - Fonts: Chivo 400 to 800 (self-hosted: fonts/chivo.woff2); Chivo Mono 400 to 500 (self-hosted: fonts/chivo-mono.woff2). Self-hosted files sit in fonts/ in the block download. - Colour variables: --paper #F6F6F3, --ink #151515, --rule #CDCDC8, --stone #64645F, --red #D52B1E, --white #FFFFFF. - Font variables: --sans "Chivo",system-ui,sans-serif; --mono "Chivo Mono",ui-monospace,monospace. - Size variables: --m 56px, --gut 24px, --nav 64px. - Media queries: max-width 1024px, max-width 760px, prefers-reduced-motion. - No media files. - Script: none, CSS only. ## Content to replace - [Command]: one line - [Outputs]: four steps with a result ## 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





