Skip to content

default

const default: Plate

Defined in: virtual.d.ts:51

The captured Plate named by the virtual:xray/plates/<name> import specifier.

Enable this import in a consuming app with "types": ["@hueest/xray/virtual"] in tsconfig, or with a per-file /// <reference types="@hueest/xray/virtual" /> directive.

The specifier maps to a file under plates/; for example, virtual:xray/plates/my-banner maps to plates/my-banner.json. If that file does not exist yet, the plugin returns an empty Plate with the same name so a <Skeleton fallback={...}> can render until the first Capture. Pass the imported Plate to <Skeleton>; do not repeat the name in props.

Child Plates referenced by Stitches are wired into Plate.refs by the generated virtual module. Production rendering follows that static import graph with no global Plate registry or runtime name lookup.

Captured Plate files are source artifacts. Commit them with the component change they describe.