Awesome Open Source
Awesome Open Source

react-fit-to-viewport

Automatically scales the content to fit it inside the viewport. It also works with server-side rendering.

$ yarn add react-fit-to-viewport
<FitToViewport width={800} height={600} minZoom={0} maxZoom={1}>
  {stuff}
</FitToViewport>

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
typescript (12,087
react (5,575
zoom (75
scale (71
viewport (40