Order form with live preview

A pistachio order section: a sticky side column with a live preview of the message on the product, and a form with sized radio cards, colour swatches, an error summary, a loading state and a piped success.

FormsProFrom Pipe Up, SignatureAbout 15k tokens saved
The whole page

Links in the preview stay on the block.

Open on its own

The 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.

856 words
# Order form with live preview

One forms 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 order form for a made to order product that keeps the visitor's message front and centre: everything they chose above is prefilled, the preview updates live, and success shows their words written out.

## Structure
1. section on a coloured surface, two columns
2. side column, sticky: heading, one sentence of rules, a round preview of the product with the message on it, a caption of the choices
3. form: error summary slot, name and email, phone (optional) and pick-up day with a hint, size as three radio cards with prices, flavour select and four icing swatches, message input with a counter, submit button and a note
4. success panel that replaces the form

The full prompt and code are part of Pro

Blocks from free pages include both at no cost.

Media to supply

The photos and video on the live page are licensed for this showcase, so the code points at an assets folder instead. Drop your own files in with these names, or change the paths: cake-top-1200.avif, cake-top-2400.avif, cake-top-1200.webp, cake-top-2400.webp

More like this

Forms

Every forms block

Same page

More from Pipe Up

See the page