📄 drei/abstractions/screen-sizer

File: screen-sizer.md | Updated: 11/15/2025


title: ScreenSizer sourcecode: src/core/ScreenSizer.tsx

Adds a <object3D /> that scales objects to screen space.

<ScreenSizer
  scale={1} // scale factor
>
  <Box
    args={[100, 100, 100]} // will render roughly as a 100px box
  />
</ScreenSizer>