Svelte Threlte
Integrate 3Lens with Svelte applications using Threlte.
Loading example...
Use 3Lens with Svelte 5 and Threlte for reactive 3D applications.
Features Demonstrated
- Threlte Integration: Works with Threlte components
- Svelte Stores: Reactive probe state
- Runes Support: Compatible with Svelte 5 runes
- Component Inspection: Debug Threlte components
Usage
svelte
<script>
import { Canvas } from '@threlte/core';
import { use3Lens } from '@3lens/svelte-bridge';
const probe = use3Lens();
</script>
<Canvas>
<Scene />
</Canvas>1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
Related Examples
- Vue + TresJS - Vue integration
- React Three Fiber - React integration