three-stdlib VS leva

Compare three-stdlib vs leva and see what are their differences.

three-stdlib

๐Ÿ“š Stand-alone library of threejs examples designed to run without transpilation in node & browser (by pmndrs)

leva

๐ŸŒ‹ React-first components GUI (by pmndrs)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
three-stdlib leva
7 11
641 4,611
2.7% 2.9%
8.1 2.0
1 day ago 10 days ago
JavaScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

three-stdlib

Posts with mentions or reviews of three-stdlib. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-19.
  • Arghhh ! Three !
    1 project | /r/threejs | 7 Dec 2023
    We have forked parts of the three core stuff to minimise breaks. drei for instance uses https://github.com/pmndrs/three-stdlib not examples/jsm. The threejs version you install can still pull the rug but pmndrs works against that with conditionals, shaders for instance are made to function despite three breaking stuff. You can generally rely on it and Fiber + eco system has semantic versioning.
  • React Three Fiber and NextJS Starter Template
    9 projects | dev.to | 19 May 2022
    React Three Fiber has been a fantastic way to quickly prototype 3D apps and games, and even efficient enough to carry them through to production. The problem? Itโ€™s can be a lot of setup. Just from that last paragraph, you see the string of dependencies R3F uses, and it gets even more complicated from there when you familiarize yourself with the current ThreeJS ecosystem (see: three-stdlib).
  • Resources for using Three.js with Nuxt
    1 project | /r/threejs | 22 Jan 2022
    three doesn't play well with node and node based environments. poimandres has been building out three's reach more and more, for instance https://github.com/pmndrs/three-stdlib this will all run under next/nuxt or whatever without workarounds.
  • Need help importing .gltf into a nextJS component.
    1 project | /r/threejs | 7 Jan 2022
    three is harder to use in next because it doesn't run under node. with three-fiber we have begun to fork some parts of it: https://github.com/pmndrs/three-stdlib that will make it easier to use it under next, even if you use "vanilla" three, stdlib's GLTFLoader will run fine whereas there/jsm won't (without workarounds). is there any reason why you would not want to use react for three though? you're using it for the dom already, r3f is the exact same thing as react-dom, a renderer, it doesn't wrap three.
  • How to build 3D scenes with React Three Fiber
    2 projects | news.ycombinator.com | 18 Nov 2021
    Same, the pmndrs folks at least pulled some of the examples stuff into https://github.com/pmndrs/three-stdlib which is ESM
  • Challenges of using Three.js and vue3+nuxt
    1 project | /r/threejs | 18 Sep 2021
    you can use the same tools that react users use because we face the same problems. for instance, next/nuxt are running under node, which doesn't understand what "import" means, so you'll not be able to use anything from three/examples/jsm/ (loaders, controls, etc). but we have made solutions for that. for instance https://github.com/pmndrs/three-stdlib generally there is lots on the poimandres github org that is equally valid for vanilla, react, vue and anything else.
  • Render Scene inside Nextjs [Help Wanted]
    1 project | /r/threejs | 2 Jul 2021
    don't mix three and react. take an hour to read through react-three-fiber docs and port it. you will be so much better off, 95% of that code will just vanish. poimandres also takes care of all the other parts, for instance three/examples/jsm/* is not node compatible, you can't easily use it in next. but there exists three-stdlib now and many other things that make your life easier.

leva

Posts with mentions or reviews of leva. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-19.

What are some alternatives?

When comparing three-stdlib and leva you can also consider the following projects:

drei - ๐ŸŒญ useful helpers for react-three-fiber [Moved to: https://github.com/pmndrs/drei]

react-three-fiber - ๐Ÿ‡จ๐Ÿ‡ญ A React renderer for Three.js [Moved to: https://github.com/pmndrs/react-three-fiber]

jeelizFaceFilter - Javascript/WebGL lightweight face tracking library designed for augmented reality webcam filters. Features : multiple faces detection, rotation, mouth opening. Various integration examples are provided (Three.js, Babylon.js, FaceSwap, Canvas2D, CSS3D...).

valtio - ๐Ÿ’Š Valtio makes proxy-state simple for React and Vanilla

A-Frame - :a: Web framework for building virtual reality experiences.

gltfjsx - ๐ŸŽฎ Turns GLTFs into JSX components

stackgl - A node.js-style module system for GLSL! :sparkles:

zustand - ๐Ÿป Bear necessities for state management in React

voxel-editor - A voxel editor in the browser.

awesome-react-three-fiber - ๐Ÿ• A loose collection of cool r3f links, gifs, people, stuff

drei - ๐Ÿฅ‰ useful helpers for react-three-fiber

gltf-pipeline - Content pipeline tools for optimizing glTF assets. :globe_with_meridians: