# build

function in `@dioramajs/model/device`

```ts
import { build } from '@dioramajs/model/device'
```

The device of a frame around a screen for a box of `aspect` (width over height), the screen 1
unit tall. Proportions follow the real devices: screen aspect, bezels, depth and corner radius,
`radius` times as round.

```ts
function build(frame: Frame, aspect: number, radius: number, kit: Kit): Built
```

| Parameter | Type | Description |
| --- | --- | --- |
| `frame` | `Frame` |  |
| `aspect` | `number` |  |
| `radius` | `number` |  |
| `kit` | `Kit` |  |

Defined in [packages/model/src/device.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/model/src/device.ts#L170).
