Skip to content

@hueest/xray/core

The framework-neutral core (ADR 0008) — capture a live DOM subtree into a Plate and the plate primitives, with no Vite plugin and no framework adapter.

Use it to capture and render skeletons directly: demos, playgrounds, tests, or a non-React integration. The usual flow is the plugin (browse-time capture into committed plates/) plus an adapter’s <Skeleton>; this is the layer beneath both, for when you want to drive capture yourself at runtime. Render the returned Plate with any adapter (e.g. @hueest/xray/react’s <Skeleton plate loading />).