> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bfl.ml/llms.txt
> Use this file to discover all available pages before exploring further.

# UI Mockups

> Generate website layouts, app interfaces, and game UI mockups with FLUX from descriptive prompts about structure and visual style.

export const PromptDisplay = ({prompt}) => {
  const [copied, setCopied] = useState(false);
  const copy = () => {
    navigator.clipboard.writeText(prompt);
    setCopied(true);
    setTimeout(() => setCopied(false), 2000);
  };
  return <div className="not-prose" style={{
    marginTop: "1rem"
  }}>
      <div style={{
    backgroundColor: "#1a1a1a",
    borderRadius: "1rem",
    padding: "1.25rem 1.5rem",
    display: "flex",
    flexDirection: "column",
    gap: "1rem"
  }}>
        <p style={{
    color: "#e5e5e5",
    fontSize: "1rem",
    lineHeight: 1.6,
    margin: 0,
    fontFamily: "inherit"
  }}>
          {prompt}
        </p>
        <div style={{
    display: "flex",
    justifyContent: "flex-end"
  }}>
          <button onClick={copy} style={{
    backgroundColor: copied ? "#3d8a5b" : "var(--aspen-evergreen, #486A58)",
    color: "#fff",
    border: "none",
    borderRadius: "0.375rem",
    padding: "0.25rem 0.6rem",
    fontSize: "0.7rem",
    fontWeight: 600,
    cursor: "pointer",
    transition: "background-color 0.2s"
  }}>
            {copied ? "Copied!" : "Copy prompt"}
          </button>
        </div>
      </div>
    </div>;
};

FLUX can generate website layouts, app interfaces, and game UIs directly from descriptive prompts. Describe the layout structure, content sections, and visual style to get usable design concepts.

## Examples

<Columns cols={2}>
  <div>
    <img src="https://cdn.sanity.io/images/2gpum2i6/production/42fd4141b1a5684e7866adad65cdd4b9f6a83990-720x1280.png" alt="Catwalk cat clothing brand landing page" />

    <PromptDisplay prompt="Sophisticated landing page for 'Catwalk' artisanal cat clothing brand featuring British Shorthair wearing custom-fitted cashmere sweater, soft pastel color palette with blush pink and sage green accents, 'CATWALK' logo in refined typography, 'BESPOKE FASHION FOR DISCERNING CATS' main headline, carousel of runway photos, craftsmanship video showing hand-stitching process, size consultation booking form, gift card options, press mentions from Vogue Pets and Harper's Bazaar, clean modern design with subtle textile textures and premium feel." />
  </div>

  <div>
    <img src="https://cdn.sanity.io/images/2gpum2i6/production/a1bfb585649700bff265c71ce0cf865679520a69-1440x1088.png" alt="Retro 2003 Mediterranean food website" />

    <PromptDisplay prompt="2003 website with images of weird old people on it photoshopped onto images of Mediterranean food. The website is named 'Rotten Mediterranean Cuisine'. The faces of the old people are angry or crying, its such a weird website" />
  </div>

  <div>
    <img src="https://cdn.sanity.io/images/2gpum2i6/production/8eb67d90bf6e86627c266e554d753bce0b0367aa-1440x1024.png" alt="Holy Rollers retro website mockup" />

    <PromptDisplay prompt="Screenshot of a website about people using wheelchairs in fun situations, an old lady is flying down some stairs on a wheel chair, an old man going down a half pipe in a wheelchair, someone just flying through the air above traffic in a wheelchair. The website is named 'Holy Rollers', its got a 2004 web aesthetic" />
  </div>

  <div>
    <img src="https://cdn.sanity.io/images/2gpum2i6/production/44c0084a73f976d5118bf3037395d83599eb05fa-1024x768.png" alt="Sloth life simulation game UI" />

    <PromptDisplay prompt="A cozy suburban life simulation game where all the characters are sloths living ordinary human lives — mowing the lawn in slow motion, sipping coffee, awkwardly socializing at a barbecue, interior design menu UI visible, realistic 3D style." />
  </div>
</Columns>
