# BoardOptions

interface in `@dioramajs/text/keycaps`

```ts
import type { BoardOptions } from '@dioramajs/text/keycaps'
```

```ts
interface BoardOptions
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `align` | `number` | 0 left, 0.5 centre, 1 right. |
| `fill` | `boolean` | The case is the element's box, widened to fit the keys; otherwise a rim round the keys. |
| `height` | `number` |  |
| `padding` | `readonly [number, number, number, number]` | Top, right, bottom, left. |
| `room` | `number` | Widest the board may grow, px. |
| `width` | `number` | The element's box, px. |

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