How to add button into the scene in react three fiber?

Hello I wanted to add a button in my scene in r3f how can I add?

You can use Html component from drei (or just use the usual JSX divs, but outside of the <Canvas /> element - then position them absolutely above it.)

But I want to create button inside Canvas any ideas?

1 Like