# Butt hinge (dobradiça)

> Component kind `hinge` (category `static`, DSL name `hinge`, API v1)

A flat steel butt hinge: two leaves and a knuckle pin. Shown open and flat — leaves span local X (width), pin runs along local Z (length), thin along local Y.

## Parameters

- **`length`** — Hinge length along the pin axis (mm, local Z).
- **`width`** — Total open width across both leaves (mm, local X).
- **`thickness`** — Leaf plate thickness (mm, local Y).

## Parameters schema

| Parameter | Type | Default | Constraints |
| --- | --- | --- | --- |
| `length` | Number | 75 | min: 20 |
| `width` | Number | 60 | min: 20 |
| `thickness` | Number | 2 | min: 1 |
| `color` | String | — |  |

## Ports

| Port | Type | Description |
| --- | --- | --- |
| `body` | `rigid` | Rigid port. Attach a hinge between a door/lid part and the frame; carries no motion in the kinematic sense (this is a static model). |

## Example

```
statics.hinge({
  id: 'hinge_left', length: 75, width: 60, thickness: 2,
});
```
