Skip to content

Fix broken CodeSandbox showcase thumbnails in docs#3781

Open
Nyx-abu wants to merge 1 commit into
pmndrs:masterfrom
Nyx-abu:fix-codesandbox-thumbnails
Open

Fix broken CodeSandbox showcase thumbnails in docs#3781
Nyx-abu wants to merge 1 commit into
pmndrs:masterfrom
Nyx-abu:fix-codesandbox-thumbnails

Conversation

@Nyx-abu

@Nyx-abu Nyx-abu commented Jul 11, 2026

Copy link
Copy Markdown

Hi everyone,

I noticed that many of the showcase thumbnails in the documentation are currently broken and failing to render. It looks like the CodeSandbox screenshot API is returning a 403 Forbidden error due to Cloudflare protection, which is preventing the images from loading.

To fix this properly without introducing performance regressions (like embedding dozens of live iframes that would exhaust WebGL contexts), I manually captured static screenshots of the 21 remaining CodeSandboxes. I have added them to docs/images/sandboxes and updated the .mdx files to use the screenshot_url prop.

This approach restores the visual showcase for users while keeping the page load fast and reliable.

Let me know if you need any adjustments or have a different preferred approach for this!

@codesandbox-ci

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit bff3639:

Sandbox Source
example Configuration

@WestonVincze WestonVincze left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels like a solid idea, but the screenshots don't actually show the codesandbox examples. Each screenshot is a codesandbox security verification page where the only difference between them is the id of the project.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants