# Slabs

interface in `@dioramajs/text/text-glitch`

```ts
import type { Slabs } from '@dioramajs/text/text-glitch'
```

Instance attributes, one row per layer of a slab, in draw order.

```ts
interface Slabs
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `band` | `Float32Array` | Top and bottom of the slab in box px, the layer's sideways offset in px, its static. |
| `count` | `number` | Layers written. |
| `look` | `Float32Array` | Share of the text's own color, opacity, shade, scanlines. |
| `move` | `Float32Array` | Move of the slab in px, x, y (down) and towards the viewer; the layer's depth behind it. |
| `tint` | `Float32Array` | Color of a color layer or of the hologram, sRGB. |
| `turn` | `Float32Array` | Turn of the slab around x, y and z in radians. |

Defined in [packages/text/src/text-glitch.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/text/src/text-glitch.ts#L202).
