Prompt to Page
A prompt types itself, pieces get picked from a small library and a page fills in slot by slot, while the steps beside it light up in sync.
pixikit.com/docs/blocks/demos/prompt-to-page
Customize
Cycle12s
Accent color
Props
10| Name | Type | Default | Description |
|---|---|---|---|
prompt | string | "a launch page for my app, with pricing" | The request that types itself into the prompt bar. |
steps | string[] | ["Describe the page you want.", "The right blocks get picked.", "The code is yours to change."] | The steps on the left; each lights up in turn as the story plays. |
library | string[] | ["Hero", "Logo cloud", "Stats", "Bento", "Pricing", "Team", "FAQ", "Footer", "Testimonials", "Banner", "Newsletter", "Contact"] | The names on the mini wall of pieces to choose from. |
picks | string[] | ["Hero", "Stats", "Pricing", "FAQ"] | The pieces that get picked, in order; each fills one slot of the page. |
doneLabel | string | "Page built from {count} blocks" | The note that slides up once the page is built; `{count}` becomes the number of picks. |
cycle | number | 12 | How long one run of the story takes, in seconds. |
accentColor | string | "#7c3aed" | The colour of the caret, the picks and the done tick. |
title | string | "From prompt to page" | The heading above the demo. |
description | string | "Describe the page in plain words and watch it come together, one block at a time." | The line under the heading. |
className | string | None |