Spline is a 3D design tool that runs in your browser, and it's probably the friendliest way to make 3D you can actually click on. You drag in shapes, give them materials and lights, and decide what happens when someone hovers, clicks or scrolls, all without code. When you're done, you publish it to a website, or even into an iOS or Android app. If Three.js is 3D you write line by line, Spline is closer to designing a 3D scene the way you'd design a slide. It also has an AI agent built in, and you can connect it to Claude or ChatGPT. Below is how a Spline scene is put together, where AI fits in, how to get it onto your site, and some work worth looking at.

What Spline does

Traditional 3D tools like Blender are built for rendering images and films: you set everything up, then wait for it to render. Spline works in real time, and what you make is the live, interactive thing, ready to embed. Files live in the cloud, so several people can work on the same scene at once.

It has two editors. The 3D editor is for scenes, objects, materials, physics and animation. Hana is a 2D canvas for interfaces and animated graphics that can include real 3D shapes. This guide focuses on the 3D editor.

The six pieces of a Spline scene

PieceWhat it isThink of it as
ObjectsShapes, text, imported models and AI-generated models, arranged in 3D spaceThe props
Materials, lights and cameraHow surfaces look, how the scene is lit, and where the viewer standsThe look
StatesSaved versions of an object: a base state, plus others with a different position, size, color or rotationPoses
EventsWhat triggers a change: hover, click, key press, scroll, collision, drag, distance, game controlsCues
ActionsWhat happens on that trigger: transition to a state, play a sound, switch camera, open a link, call an APIThe response
VariablesNumbers, text and true/false values that objects and events can use, plus live ones like time and countersThe scoreboard

States, events and actions are the core. Everything interactive in Spline comes from combining those three.

How they work together

Say you want a 3D button that lifts and turns blue when someone hovers over it.

  1. Add a state. Select the button, add a state, then move it up a little and change its color. Now it has a base state and a hover state.
  2. Add an event. Pick Mouse Hover as the trigger.
  3. Add an action. Choose Transition to the hover state. Spline animates between the two for you, and the button settles back when the pointer leaves.

That's the whole pattern. Swap the event for Scroll and the button moves as the page scrolls. Swap the action for API Request and the click fetches live data into a variable.

If you're a developer, your own code can talk to the scene too. This uses Spline's official runtime, with a variable and an object you named in the editor:

PROMPT / COPY-PASTE
import { Application } from '@splinetool/runtime';

const canvas = document.getElementById('canvas3d');
const spline = new Application(canvas);

spline.load('https://prod.spline.design/YOUR-SCENE/scene.splinecode').then(() => {
  spline.setVariable('score', 42);           // update a variable from the editor
  spline.emitEvent('mouseHover', 'Button');  // play the button's hover animation
});

Where AI fits

Spline has AI in a few places, and they all work on a real, editable scene rather than handing you a flat image.

OptionWhere you use itWhat it does
AI AgentInside the Spline editorBuilds and edits scenes from a description: objects, materials, lighting, animation, interactions. Every change is a normal edit you can undo
AI 3D GenerationThe Generate tab, or the AI button in the editorTurns a text prompt or a reference image into a 3D model
MCP serverClaude, Claude Code, ChatGPT, Codex, CursorLets your usual AI tool create and edit Spline files directly

The agent works best with small steps. Spline's own advice is to describe what you want rather than how to build it ("a cabin on a rocky island at sunset"), then follow up with changes like "make the roof steeper" or "warmer light".

One catch: the AI features need a paid plan. The free plan has no AI credits, and its MCP access is limited to 20 tool calls a day.

Pick your export

If you're using...Export asWhy
Framer, Webflow, Wix or plain HTMLViewer (<spline-viewer>)Paste one snippet. It can react to the mouse and scroll across the whole page, not just inside the box
Anything, the quickest wayPublic URL in an iframeSimplest embed, but it only sees mouse and scroll inside its own frame
React or Next.js@splinetool/react-splineA component plus hooks for finding objects, listening to events and triggering them
Your own JavaScript@splinetool/runtimeFull control over objects, events and variables from code
An iOS or Android appNative embedsSpline renders natively with Metal on iOS and Vulkan on Android

There are also Three.js and react-three-fiber exports, but those don't include Spline's animations and events, so stick to the options above for anything interactive.

Pricing matters here too. On the free plan, web exports carry a Spline watermark and there's no code download. Hobby ($15/month) removes the watermark from 3D web exports.

Ship it without slowing your page

  • Open the Performance panel in the Export panel. It estimates load time and file size and flags what to fix, red first.
  • Lower the polygon count. Reduce the sides on spheres and cylinders, and keep smooth subdivision to 1 or 2 levels.
  • Turn on geometry compression when you export. Heavy compression can cost some precision, so check the result.
  • Watch the extras. Each light, texture and post-processing effect adds up.
  • Let it lazy-load. The Viewer only loads the scene when it scrolls into view, which is the default. Keep it that way unless the scene is at the very top of the page.
  • Keep key content in HTML. A 3D scene is decoration and interaction. Your headline, links and buttons should still work without it.

Work worth studying

  • Spline Examples: official scenes like a physics playground, mini rooms and 3D UI components. Duplicate one and take it apart to see how its states and events are wired.
  • Spline Community: scenes shared by other Spline users, good for seeing what people make with it.
  • Resend: the email platform's site uses Spline for the interactive 3D visuals across its brand.
  • Polaroid I-2: a product page where you explore the camera in 3D instead of looking at photos.
  • Awwwards Spline collection: award-winning sites built with Spline, for design inspiration.

Your first scene

Before you start, ask: would someone understand or remember this better if they could turn it or play with it? A 3D logo that only spins is usually just a heavier image.

If yes, open a scene from Spline Examples, duplicate it, and find one object's states and events. Then change one thing: a color, an event or a transition. That's the fastest way to learn how the pieces connect.

If you have a paid plan and want AI to do the first draft, open the Agent tab in the editor and try something like this:

PROMPT / COPY-PASTE
Create a small 3D scene for the hero of my website: a [object, e.g. stack of books / floating laptop / plant on a desk] on a soft [color] background with gentle lighting. Make it react to the mouse: the main object should slowly turn to follow the cursor, and lift slightly with a color change when hovered. Keep it simple and low-poly so it loads fast.

Then adjust it with short follow-ups, and export with the Viewer when it feels right.

Go deeper: States, events and actions · Spline Viewer · Three.js: real-time 3D you build with code · Rive: animations that react