react-fit-to-viewport is a React component that automatically scales content to fit inside the browser viewport. It supports server-side rendering and accepts props for width, height, minZoom, and maxZoom to control scaling behavior. Install via yarn and wrap any content with the FitToViewport component.

Sort: