# Spring

interface in `@dioramajs/text/keycaps`

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

Where a key travels: its press, 0 at rest and 1 bottomed out, and its speed.

```ts
interface Spring
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `v` | `number` |  |
| `x` | `number` |  |

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