docs
Getting Started
Tutorials
How-To Guides
Explanation
Reference
Help
Getting Started
Tutorials
How-To Guides
Explanation
Reference
Help

Project Templates & Samples

Get started quickly with these official templates and sample projects. Each repository can be cloned or used as a GitHub template to kickstart your project.

Quick Start

The fastest way to create a new project is with npm create needle or by visiting engine.needle.tools/new.


Templates

TemplateDescription
Vite TemplateThe default Needle Engine starter — vanilla HTML/JS with Vite. Also available at engine.needle.tools/new
Scrollytelling TemplateKickstart 3D scroll-driven websites
ReactNeedle Engine with React
Vue.jsNeedle Engine with Vue.js
SvelteKitNeedle Engine with SvelteKit (includes Needle Cloud deployment)
SvelteNeedle Engine with Svelte
Next.jsNeedle Engine with Next.js / Vercel
React Three FiberNeedle Engine with React Three Fiber

Samples

SampleDescription
3D Over HTMLOverlay 3D content on top of regular HTML pages
Progressive MeshesAutomatic LOD generation and progressive mesh loading

More Samples

Browse 100+ interactive samples at samples.needle.tools.

For Unity users, additional scene templates and sample scenes are available directly in the editor via Needle Engine > Explore Samples.


Create Needle CLI

You can scaffold a new project from the command line using create-needle:

npm create needle [directory] [options]
OptionDescription
--template, -t <key>Template to use (e.g. vite, react, vue, svelte, sveltekit, nextjs)
--list, -lList available templates as JSON
--force, -fOverwrite existing directory
--help, -hShow help

Examples:

npx create-needle my-app --template vite
npx create-needle my-app -t react
npx create-needle --list
Suggest changes
Last Updated: 2/26/26, 11:20 AM

Extras

ChatGPT Ask ChatGPT Claude Ask Claude
Copy Markdown

Navigation

  • Getting Started
  • Tutorials
  • How-To Guides
  • Explanation
  • Reference
  • Help

Extras

ChatGPT Ask ChatGPT Claude Ask Claude
Copy Markdown