The Lab is openingLaunch offer · $19.99 $14.99 / month
BlackRayLAB
Browse the guides
Docs/Using prompts

Using prompts

Use the complete brief and supplied files

1. Open a project in your coding tool

Open a new or existing project in your coding tool. The tool needs to write project files and let you preview the app.

2. Paste the full prompt

Select Copy Prompt on the asset, then paste the complete text into your tool. Include every code block, media link and setting. The brief defines the asset's scope. A background or scene should not produce extra navigation, headings or page sections.

3. Save the supplied media

If the brief lists images, videos, models or archives, download them before building. No image-generation tool is needed for supplied media.

  1. Ask your tool to download each full URL and save the file at the path listed in the prompt.
  2. If the tool cannot download files, open the links yourself and add the files to the project at those paths. Extract any archives as the brief instructs.
  3. Use the saved files in the finished app. Keep the download URLs out of its runtime code.

4. Build and compare

Let the tool implement the brief, then open its preview. Check the media crop, layout, typography and pointer or scroll effects against the Lab video. Describe any mismatch precisely. For example, ask it to correct an image crop or animation timing rather than to make everything better.

Adding an asset to an existing app

Tell the tool where the asset belongs before pasting the brief. Replace the bracketed location in this example with your page or component name.

Integration instruction
Implement the asset described below in [page or component]. Keep the rest of my React app unchanged. Follow the brief's layout, media paths and motion. Add only the elements described in the brief.