vibran

How to build a 3D website with AI: prompts that work in Lovable, Claude and Cursor

· 7 min read

What goes wrong when you ask an AI tool for a 3D website, what your prompt has to say, and how to start from a working Vibran 3D template, either by pasting the prompt or by asking Lovable directly through MCP.

Why “make me a 3D website” goes wrong

Type “make me a 3D website” into Lovable, Claude or Cursor and you tend to get the same problems back.

The AI can write three.js. The trouble is that a one-line request leaves every decision to it.

What a 3D website prompt needs

A good three.js website prompt answers six questions before the AI writes a single line.

PartWhat to say
SceneWhat is in it, what it is made of, how it is lit. Tie it to the subject: a print shop can be a gallery corridor, a builder can be a hillside with the house going up.
Camera and scrollWhat scrolling does to the camera (walk, descend, loop) and what the mouse does (turn the head, push objects).
WeightA pinned three.js version, a pixel ratio cap, where shadows are worth it and a maximum particle count.
PhonesWhat changes on touch or narrow screens: fewer particles, no shadows, which gesture walks and which one turns.
Reduced motionWhat happens when the system asks for prefers-reduced-motion: no easing on scroll, hard cuts between scenes.
TextWhere it lives. In HTML over the canvas, never baked into a texture, with a list version if the 3D fails to load.

A prompt that covers all six, ready to adapt:

Build the home page for [business name] in HTML, CSS and JS,
with three.js 0.169.0 loaded through an importmap.

Scene: [describe the place, the materials and the light, tied to the business].
Camera: scrolling moves through the scene from start to end; the mouse
turns the camera slightly. Products sit inside the scene and open on click.

Weight: pixel ratio up to 2 on desktop and 1.5 on phones.
Shadows only from the main light. At most [N] particles.
Phones (touch or screens under 760px): no shadows, half the
particles, drag up to walk.
prefers-reduced-motion: no scroll easing, hard cuts between scenes.

Text in HTML over the canvas. Give the canvas an aria-label and let
the arrow keys walk. If WebGL fails, show the products as a list.
Do not make up testimonials or numbers.

Even so, the AI still invents the scene from nothing, and a good 3D scene takes many rounds. The shortcut is to start from a scene that already works.

Step by step with a Vibran 3D template

Vibran website templates run live on the page before you copy anything. The 3D ones carry their full code inside the prompt, so the AI swaps the content and leaves the scene alone.

The Basalto template: a tower of basalt columns on a volcanic island, with lava glowing in the joints and the studio name on top
Basalto: the camera leaves this tower and travels the whole site in a loop, with no cut.

To see the six parts in a real template, look at Basalto. It loads three.js 0.169.0 from a CDN with the version pinned. On touch screens or under 760 px it switches to a light mode: shadows off, pixel ratio capped at 1.5 (2 on desktop) and the particle volcano cut from 15,000 to 7,000 particles. With reduced motion on, scrolling loses its easing and scene changes become hard cuts. The canvas has a screen reader description and the arrow keys move through it.

1. Pick the template and test it

Open the template page and run it live. Try it on your laptop and your phone. If the scene stutters on yours, it will stutter on your visitors’ phones too.

2. Copy the prompt

A template prompt asks for a page in plain HTML, CSS and JavaScript and contains the template’s full HTML. It tells the AI to keep the structure, the section rhythm, the fonts and the effects, to replace the text, names, prices and colors, and not to make up testimonials or numbers. It ends by asking for prefers-reduced-motion support and a page that works at 400 px wide. The prompt is written in Portuguese. AI tools read it fine; write your details in English and ask for English copy.

3. Describe your business and what changes in the scene

On the “Meu negócio” (my business) line of the prompt, write what you sell, who it is for, your city, your prices and how to reach you. Then say what changes in the 3D. In Sala Curva, for example, the prints on the wall become your photos and each collection gets your own name.

The Sala Curva template: a 3D gallery corridor with white walls, an oak floor and prints lit by spotlights
Sala Curva: scrolling walks the corridor and clicking a print flies the camera to it.

4. Paste it into your AI tool

In Lovable, paste it into the project chat. In Claude Code or Cursor, paste it with the project open and say which folder the files go in. If your project uses React, say so and ask for the scene to live in a component that starts the canvas on mount and cleans it up on unmount.

Doing it through MCP, straight from Lovable

If you would rather skip the copy and paste, connect your account through the Vibran MCP server. In Lovable, open Connectors, click Add custom and choose MCP server. Then ask in the chat, for example:

Use the Vibran connector, find a 3D website template for a shop,
get the full prompt and build the site with my shop's details.

The AI calls buscar_itens to find the template and pegar_prompt to fetch the code. Neither one uses a prompt from your plan. If the item is not unlocked on your account yet, it calls liberar_item, which uses 1 prompt (Studio is never charged), and Lovable asks for your approval first. We tested it in Lovable on November 28, 2026: the request was “gym website template” and it built the Galpão 12 template. MCP works on every plan, Free included, and also in Claude Code and Cursor.

3D website checklist: performance, phones and accessibility

3D templates to start your website

FAQ

Can I build a 3D website in Lovable?

Yes. Lovable runs three.js fine. What usually fails is a vague request. A prompt that describes the scene, the camera, the weight budget and the phone version, or a template that already carries the code, gets you much closer to what you pictured.

Do I need to know three.js?

Not to get started. You need to describe what you want to see and check the result on a laptop and a phone. With a Vibran template the 3D code is already in the prompt, so the AI only swaps the text, photos and colors.

Will 3D make my website slow?

It can, if nobody watches the weight. Shadows, a high pixel ratio and large particle counts cost the most. Ask for a light mode on phones and a pixel ratio cap, then test on a real phone before you publish.

How much does a Vibran 3D template cost?

Basalto, Sala Curva, Alicerce and Alísio are Studio templates. Studio is US$ 24 a month or US$ 180 a year, with unlimited prompts. Gravidade is marked as a Pro item, and Pro is US$ 17 a month. International card payments are under maintenance right now, so if you are outside Brazil, message us on WhatsApp to subscribe.

Does it work in Claude Code and Cursor?

Yes. The prompt is the same: paste it into the chat and the AI creates the files in your project. The Vibran MCP server also connects to Claude Code and Cursor, not only Lovable.

Open the 3D templates, run them on your phone and pick your scene before you spend a prompt.

See the website templates

Keep reading