On this page
Overview
TresJS Core 5.9.2 is a Vue custom-renderer framework for Three.js. Under TresCanvas, Three.js classes can be represented as Vue components such as TresMesh and combined with Vue props, composables, and reactivity.
Features and best fit
Based on official documentation; not hands-on tested · Content checked:
Key features
Use Three.js classes as Tres-prefixed Vue components
Three.js classes can be represented as components such as TresMesh and TresBoxGeometry so scene graphs can be authored declaratively in templates.
Sources: [1]
Manage 3D scene lifecycle through TresCanvas and the Vue custom renderer
TresCanvas is the root surface while the custom renderer maps Vue component operations to Three.js objects and lifecycle behavior.
Use recent WebGPU and portal features
Version 5.9.0 added an isWebGPURenderer guard, reactive isWebGPU state, and MeshPortalMaterial/TresPortal support.
Sources: [6]
Best fit
Fits Vue teams building 3D or WebGL interfaces with the existing component model
It lets teams structure 3D scenes around Vue components, props, and composables instead of managing the full scene graph exclusively through imperative Three.js code.
Sources: [1]
Before adoption
Core 5.9.2 requires Vue >=3.4 and Three.js >=0.133
Package metadata declares Vue >=3.4 and Three.js >=0.133 as peer dependencies, and the documentation recommends template compiler options for the custom renderer under Vite.
Official sources
- [1]TresJS Core 5.9.2 README(2026-10-05)
- [2]@tresjs/core 5.9.2 package metadata(2026-10-05)
- [3]TresJS Core public exports(2026-10-05)
- [4]TresJS Core 5.9.2 release(2026-10-05)
- [5]TresJS Core 5.9.1 release(2026-10-05)
- [6]TresJS Core 5.9.0 release(2026-10-05)
- [7]TresJS MIT license(2026-10-05)
Supplemental curator note
@tresjs/core 5.9.2 requires Vue >=3.4 and Three.js >=0.133. Keep Three.js typing aligned and apply the documented template compiler options when using the custom renderer with Vite.
Try it in 3 steps
- 1
Install pinned TresJS Core 5.9.2 with Vue and Three.js
Create an isolated npm project with the reviewed core package and its peer dependencies pinned.
demo=$(mktemp -d "${TMPDIR:-/tmp}/tresjs.XXXXXX") && cd "$demo" && npm init -y >/dev/null && npm install --save-exact @tresjs/core@5.9.2 vue@3.5.43 three@0.186.0 - 2
Verify package versions
Require TresJS, Vue, and Three.js to resolve to the reviewed versions.
test "$(node -e "const fs=require('fs');const v=p=>JSON.parse(fs.readFileSync(p)).version;console.log(v('node_modules/@tresjs/core/package.json')+'/'+v('node_modules/vue/package.json')+'/'+v('node_modules/three/package.json'))")" = '5.9.2/3.5.43/0.186.0' - 3
Check representative core exports
Verify the root canvas and compiler configuration exports without starting a browser.
test "$(node --input-type=module -e "import * as T from '@tresjs/core';console.log(['TresCanvas','templateCompilerOptions'].every(k=>k in T))")" = 'true'
Growth
Growth trends · Last 30 days
3,750 Stars
Trend data is still being collected.
Development activity
Last 90 days · weekly
- Commits (last 30 days)
- 32
- Open PRs
- 10
Development activity is still being collected.
Built with
Categories and tags
Categories
GitHub data
GitHub dataView detailed GitHub data
GitHub Topics
- composable
- declarative
- threejs
- vite
- vue
- webgl
- custom-renderer
Related information
Write a related articleShare a guide or use case for this OSS in Markdown. Articles are published after administrator approval.
Explore next
- Vue 354,511 Stars
3 shared tag(s)
Scale one reactive component and SFC model from incremental HTML enhancement to SPAs and SSR
TypeScript - Element Plus27,795 Stars
3 shared tag(s)
Standardize Vue 3 forms, data display, and navigation with a shared component set
TypeScript - VueUse22,387 Stars
3 shared tag(s)
Reuse browser, state, and event behavior as Vue 3 Composition API utilities
TypeScript - VeeValidate11,263 Stars
3 shared tag(s)
Manage Vue 3 form state and validation independently from UI components
TypeScript - shadcn-vue10,663 Stars
3 shared tag(s)
Copy Vue component source into your project and evolve it as your own design system
TypeScript - Vue Language Tools6,722 Stars
3 shared tag(s)
Provide Volar-based editor support and CLI type checking for Vue SFCs
TypeScript
Report incorrect information
Tell us if any listing information is incorrect or outdated.