# Spline for Web: embed and export interactive 3D (https://spline.design/web)

> Embed interactive 3D with the Spline Viewer web component, or export your scenes as Vanilla JS, React, Next.js, Three.js or react-three-fiber code.

# Interactive 3D, built for the web

Embed your 3D scenes with one HTML tag, or export them as code for **Vanilla JS, React, Next.js and Three.js**.

[Start building](https://app.spline.design/signin)[Read the docs](https://docs.spline.design/exporting-your-scene/web/exporting-as-spline-viewer)

your-website.com

Spline Viewer

## One tag, any website

`<spline-viewer>` is a native web component, so it works in Framer, Webflow, Squarespace, React, Svelte and plain HTML. It hears the whole page, not just its canvas: scenes can follow the cursor, look at it and animate as the page scrolls.

[Learn more about Spline Viewer](https://docs.spline.design/exporting-your-scene/web/exporting-as-spline-viewer)

main.js

```
import { Application } from '@splinetool/runtime';

// Render the scene on a canvas
const canvas = document.getElementById('canvas3d');
const app = new Application(canvas);

app.load('https://prod.spline.design/DGI6oWLNcrhyDwvi/scene.splinecode');

```

Code export

## Your 3D scene, as code

Export it as Vanilla JS, React, Next.js, Three.js or react-three-fiber. Copy the code, open it in CodeSandbox, or download the files and host them yourself.

[Learn more about code export](https://docs.spline.design/exporting-your-scene/web/exporting-as-code)

Also on the web

## From a link to your own servers

### Code API

Trigger events, update variables and change object properties from your own code, in Vanilla JS, React and Next.js.

### Public URLs

Share a scene as a link, or embed it in Notion, Webflow, WordPress and more.

### Self-hosted

Download the whole project, runtime included, and serve it from your own servers. On the Enterprise plan.

### WebGPU

Scenes render on WebGPU, and fall back to WebGL automatically where it isn’t available.

## Start building in 3D

Connect your agent, invite your team and ship your first 3D scene today.

[Start building](https://app.spline.design/signin)[Connect your agent](https://spline.design/mcp)

[Spline](https://spline.design/)

The 3D and 2D editor for teams and their agents. Ship to the web, iOS and Android.

#### Ask AI about Spline

#### Products

- [3D Design](https://spline.design/3d-design)
- [Hana](https://spline.design/hana)
- [Omma](https://omma.build)
- [AI 3D Generation](https://spline.design/ai-generate)
- [Spline MCP](https://spline.design/mcp)
- [Spline Arena](https://spline.design/arena)
- [Pricing](https://spline.design/pricing)
- [Enterprise](https://spline.design/enterprise)

#### Runtimes

- [Web](https://spline.design/web)
- [iOS](https://spline.design/ios)
- [Android](https://spline.design/android)

#### Apps

- [Download](https://spline.design/download)
- [Spline Mirror](https://spline.design/spline-mirror)
- [Download Spline Mirror](https://spline.design/download-mirror)

#### Learn

- [Docs](https://docs.spline.design/)
- [Academy](https://spline.design/academy)
- [Spline API](https://www.npmjs.com/package/@splinetool/runtime)
- [Solutions](https://spline.design/solutions)
- [Compare](https://spline.design/compare)

#### Community

- [Spline Community](https://community.spline.design)
- [Blog](https://spline.design/blog)
- [Changelog](https://spline.design/changelog)
- [Education](https://spline.design/education)
- [Contra](https://spline.design/contra)
- [Affiliate](https://spline.design/affiliate)

#### Company

- [Customers](https://spline.design/customers)
- [Careers](https://www.ycombinator.com/companies/spline/jobs)
- [Security](https://spline.design/security)

#### Legal

- [Terms & Conditions](https://spline.design/terms)
- [Privacy](https://spline.design/privacy)

#### Contact

- [help@spline.design](mailto:help@spline.design)
- [jobs@spline.design](mailto:jobs@spline.design)

© 2026 - Spline, Inc.
