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

Represents a two-dimensional size.

## Properties

### height

> **height**: `number`

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

Defines the height length of the size.

***

### width

> **width**: `number`

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

Defines the width length of the size.