# LayoutShape

`import { LayoutShape } from "destack:reflect";`

Reflected layout shape.

```ds title="LayoutShape"
export newtype LayoutShape = { kind: "scalar" } | { kind: "aggregate"; fields: readonly LayoutField[] } | { kind: "variant"; variants: readonly LayoutVariant[] } | { kind: "opaque" }
```

[language/library/src/reflect/type.ds:26:30](https://github.com/destack-sh/destack/blob/main/language/library/src/reflect/type.ds#L26-L30)
