# Spline 網頁版：嵌入與匯出互動式 3D (https://spline.design/zh-hant/web)

> 使用 Spline Viewer 網頁元件嵌入互動式 3D，或將場景匯出為 Vanilla JS、React、Next.js、Three.js 或 react-three-fiber 程式碼。

# 互動式 3D， 為網頁而生

只要一個 HTML 標籤就能嵌入你的 3D 場景，或匯出成適用於**Vanilla JS、React、Next.js 和 Three.js** 的程式碼。

[開始創作](https://app.spline.design/signin)[閱讀文件](https://docs.spline.design/exporting-your-scene/web/exporting-as-spline-viewer)

your-website.com

Spline Viewer

## 一個標籤，適用任何網站

`<spline-viewer>` 是原生網頁元件，因此在 Framer、Webflow、Squarespace、React、Svelte 和純 HTML 中都能使用。它能感知整個頁面，而不只是自己的畫布：場景可以跟隨游標、注視游標，並隨頁面捲動播放動畫。

[深入了解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');

```

程式碼匯出

## 你的 3D 場景，化為程式碼

匯出為 Vanilla JS、React、Next.js、Three.js 或 react-three-fiber。複製程式碼、在 CodeSandbox 中開啟，或下載檔案自行託管。

[深入了解程式碼匯出](https://docs.spline.design/exporting-your-scene/web/exporting-as-code)

網頁上的更多功能

## 從一個連結，到你自己的伺服器

### 程式碼 API

在 Vanilla JS、React 和 Next.js 中，從你自己的程式碼觸發事件、更新變數並變更物件屬性。

### 公開 URL

以連結分享場景，或嵌入 Notion、Webflow、WordPress 等平台。

### 自行託管

下載完整專案（包含 runtime），從你自己的伺服器提供服務。適用於 Enterprise 方案。

### WebGPU

場景以 WebGPU 渲染，在不支援的環境中會自動改用 WebGL。

## 開始打造 3D

連接你的 AI 代理、邀請你的團隊，今天就發布你的第一個 3D 場景。

[開始創作](https://app.spline.design/signin)[連接你的 AI 代理](https://spline.design/zh-hant/mcp)

[Spline](https://spline.design/zh-hant)

為團隊及其 AI 代理打造的 3D 與 2D 編輯器。一鍵發布到網頁、iOS 和 Android。

#### 向 AI 詢問 Spline

#### 產品

- [3D 設計](https://spline.design/zh-hant/3d-design)
- [Hana](https://spline.design/zh-hant/hana)
- [Omma](https://omma.build)
- [AI 3D 生成](https://spline.design/zh-hant/ai-generate)
- [Spline MCP](https://spline.design/zh-hant/mcp)
- [Spline Arena](https://spline.design/zh-hant/arena)
- [價格](https://spline.design/zh-hant/pricing)
- [企業](https://spline.design/zh-hant/enterprise)

#### Runtime

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

#### App

- [下載](https://spline.design/zh-hant/download)
- [Spline Mirror](https://spline.design/spline-mirror)
- [下載 Spline Mirror](https://spline.design/download-mirror)

#### 學習

- [Docs](https://docs.spline.design/)
- [Academy](https://spline.design/zh-hant/academy)
- [Spline API](https://www.npmjs.com/package/@splinetool/runtime)
- [解決方案](https://spline.design/solutions)

#### 社群

- [Spline 社群](https://community.spline.design)
- [Blog](https://spline.design/zh-hant/blog)
- [更新日誌](https://spline.design/zh-hant/changelog)
- [教育](https://spline.design/zh-hant/education)
- [Contra](https://spline.design/contra)
- [聯盟行銷](https://spline.design/zh-hant/affiliate)

#### 公司

- [客戶](https://spline.design/zh-hant/customers)
- [工作機會](https://www.ycombinator.com/companies/spline/jobs)
- [安全性](https://spline.design/zh-hant/security)

#### 法律資訊

- [條款與細則](https://spline.design/terms)
- [隱私權](https://spline.design/privacy)

#### 聯絡我們

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

© 2026 - Spline, Inc.
