Three Vue3Three Vue3
Guide
Demo
AI Agents
  • English
  • 简体中文
GitHub
Guide
Demo
AI Agents
  • English
  • 简体中文
GitHub
v0.1.0 released

three-vue3

A Vue 3 component library built on Three.js for seamless 3D web experiences.

Quick StartLive 3D DemoAI AgentsGitHub
Open the demo →
npm install three-vue3
<script setup lang="ts">
import { GLTFLoader } from 'three-vue3'

const created = async (scene, { camera }) => {
  camera.position.set(0, 1.5, 2.1)
  const model = await GLTFLoader('/model.glb')
  scene.add(model)
}
</script>

<template>
  <tv-scene @created="created" />
</template>

Live 3D Demo

Explore a full 3D scene built entirely with three-vue3.

Open the Demo

Build with AI Agents

Install the three-vue3 skill once and your coding agent writes correct Scene code — Claude Code, Codex CLI, DeepSeek Harness and more.

Set up AI Agents

Everything you need for 3D

Build 3D web applications with Vue components

🚀

Automatic Initialization

tv-scene sets up the renderer, camera, lights, axes helper and controls when it mounts, and disposes them on unmount.

📦

Model Loading and Caching

GLTF, FBX and OBJ loaders cache models in IndexedDB, so repeated visits read from the local database.

🎯

Enhanced Interactivity

Popup renders any Vue component in 3D space, Picker turns pointer events into hover and click, and MovableElement drags overlays.

🎬

Animation Support

The Animation helper plays and controls the clips of a loaded model.

✨

Custom Effects

Rain, Snow, HeightFog, Bloom, Water and TSL shader meshes ship as components on both WebGPU and WebGL.

📘

TypeScript Ready

Written in TypeScript with typed props, typed helper classes and generated declarations.

Quick Start

Install the package and drop a scene into any Vue 3 app.

npm install three-vue3
Read the Docs
100%
TypeScript
WebGPU + WebGL
Renderers
Minimal
Dependencies

Contributors

Thanks to all our contributors!

Contributors
Apache-2.0 license | Copyright © 2025-present Shing Rui