Skip to content
PixiKit

Prompt Build

A small self-playing scene of a prompt typing into a bar and turning into an interface: grey wireframe blocks appear, then resolve into the real thing, with chips, regenerate and replay.

pixikit.com/docs/blocks/illustrations/prompt-build

Customize

Autoplay
Loop
Speed1.0
Height360px
Width560px

Props

10
NameTypeDefaultDescription
promptsPromptBuildPrompt[]DEFAULT_PROMPTSThe prompts, played one at a time; each builds one small interface.
modelstring"Atlas 2"The text on the model chip in the prompt bar.
stepsstring[]DEFAULT_STEPSThe status lines that roll one after another while the result builds.
autoplaybooleantrueStarts when the scene scrolls into view; when off it waits for a chip or replay.
loopbooleantruePlays on to the next prompt on its own.
speednumber1A multiplier for the pace of the whole scene.
heightnumber360The height of the scene in px.
widthnumber560The widest the scene grows, in px. It shrinks to fit a narrower parent.
replayLabelstring"Replay"What screen readers call the replay button.
classNamestringNone

Related