Canvas X-ray
import { CanvasXray } from "@arcadia/ui";CanvasXray
itemsrequired- readonly CanvasXrayItem[]
- The elements of the survey, outermost first.
bars- readonly CanvasBox[]
- Default:
[] - The boxes of its text lines.
framerequired- { box: CanvasBox; page: { readonly w: number; readonly h: number } }
hovered- string | null
- The element under the pointer.
selected- string | null
- The element chosen: its guides and its readout stand, and the spaces between its children.
area- CanvasBox | null
- Default:
null - An area of the page, in page pixels: every element it reaches is outlined at once, with its padding and the spaces between neighbours, and the rest of the frame is veiled. The element under the pointer is still named.
rootStyle- RootStyle
- A component's typed override prop:
Layoutand its documented knobs, each the references it takes or another kit knob of its kind; anything else is a type error at the call site (STYLEX.md).