A-Frame alternatives
Written from the tastebase registry, so it changes when an entry does.
A-Frame is webXR framework: VR, AR and 3D scenes written as HTML tags on top of three.js. It's the right pick for a VR or AR scene that runs in a headset browser (Quest, Vision Pro) with controllers and hand tracking.
Look elsewhere when you're dealing with a React app whose 3D follows app state: use r3f. These 4 3D libraries do the same job differently.
4 A-Frame alternatives

three.js
The standard WebGL and WebGPU 3D engine: scenes, cameras, materials, loaders.
React Three Fiber
React renderer for three.js: build 3D scenes as JSX components with hooks.
Babylon.js
A full web 3D and game engine: WebGL and WebGPU rendering, physics, GUI, XR and a scene inspector.
PlayCanvas
Open-source WebGL and WebGPU engine with a React wrapper, a hosted editor and first-class Gaussian splats.
Compared
Questions
Is A-Frame free?
Yes, A-Frame is free (MIT).
What is the best alternative to A-Frame?
three.js: the standard WebGL and WebGPU 3D engine: scenes, cameras, materials, loaders. It's best for a 3D product viewer or configurator outside React.
When should I not use A-Frame?
A React app whose 3D follows app state: use r3f.
Which A-Frame alternatives are open source?
three.js (MIT), React Three Fiber (MIT), Babylon.js (Apache-2.0) and PlayCanvas (MIT).