---
title: "Size"
---
Defined in: [api/node/typescript/index.ts:47](https://github.com/slint-ui/slint/blob/master/api/node/typescript/index.ts#L47)

Represents a two-dimensional size.

## Properties

### height

> **height**: `number`

Defined in: [api/node/typescript/index.ts:56](https://github.com/slint-ui/slint/blob/master/api/node/typescript/index.ts#L56)

Defines the height length of the size.

***

### width

> **width**: `number`

Defined in: [api/node/typescript/index.ts:51](https://github.com/slint-ui/slint/blob/master/api/node/typescript/index.ts#L51)

Defines the width length of the size.