Measured entry

kibo-sandbox

cardminimal-flat

A client-side React sandbox shell shipped as source through the Kibo shadcn registry. It wraps CodeSandbox Sandpack with composable layout, tabs, editor, preview, console, and file explorer exports, and relies on Sandpack plus a Tailwind-aware cn utility and shadcn theme tokens.

Specimen
Harness screenshot of kibo-sandbox at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of kibo-sandbox at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of kibo-sandbox at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

Measured

Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.

Harness measurements recorded for kibo-sandbox
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious1
Axe moderate0
Axe minor0
Gzip marginal303.8 KB (369.3 KB build, 65.5 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A capable, source-owned Sandpack wrapper for documentation and teaching tools, but too heavy for a decorative card or simple snippet. Use it when live editing earns its cost, then fix the narrow-layout overflow and theme contrast before shipping.

Use it if

  • You need an embedded code editor or preview inside documentation, lessons, or component demos.
  • Your app already uses React, Tailwind, and shadcn-style theme tokens.
  • You want source-owned wrappers around Sandpack that can be adapted locally.

Skip it if

  • Mobile layouts are a primary requirement, because the verified narrow view overflows.
  • You need a lightweight card or static code sample, because Sandpack adds substantial client weight.
  • You cannot audit and adjust theme colors, because the tested presentation has a serious contrast issue.
  • You need server-only rendering or an editor without CodeSandbox Sandpack.

Install

Installation record for kibo-sandbox
Declared dependencies@codesandbox/sandpack-react, clsx, tailwind-merge
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

In a non-shadcn project, add CodeSandbox Sandpack, clsx, and tailwind-merge; provide the cn helper; configure Tailwind; and define the background, foreground, secondary, muted, border, and focus-ring theme tokens used by the classes. Render it from a client component.

Source and credit

This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.

License
MIT
Record published
2026-08-17

Alternatives

Other published entries for the card pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.