Skip to content

next/image compatible component backed by Cloudflare Images #441

Open

Description

@ogawa0071

Problem

Void has no image component or image optimization endpoint. Pages apps ship full-size originals or hand-build srcset URLs, and there is no supported place to configure allowed widths, formats or remote hosts. Teams moving from Next.js on Vercel lose the next/image behavior they rely on: responsive srcset, AVIF/WebP negotiation, lazy loading, sizing without layout shift, and an optimizer that works without setup.

Cloudflare already provides the backend. The Images binding resizes and transcodes an image stream inside a Worker, and native Cloudflare deploys already pass an images binding declared under cloudflare through to the upload. Nothing in the SDK uses it yet.

Usage

// pages/index.tsx
import { Image } from '@void/react'; // the same component ships in @void/vue, @void/svelte and @void/solid

export default function Home() {
  return (
    <>
      <Image src="/avatars/void.png" alt="Void" width={64} height={64} />
    </>
  );
}

If this direction is appropriate, I would be happy to help implement the prototype.

Activity

  1. cpojer commented on Oct 16, 2026

    @cpojer
    Member

    I'd be interested in seeing a PR for this, yes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions