An integer zoom container: renders children at a fixed logical size and scales them by the largest whole number that fits, snapped so scale ร devicePixelRatio stays a whole number of device pixels, with image-rendering: pixelated. Falls back to a smooth fit when even 1ร does not fit.
pnpm dlx shadcn@latest add "https://s7ui.nijland.cc/r/pixel-scale.json"