---
title: "vec2u: type in Runtime, TypeShade API reference"
description: "vec2u, a type in Runtime. A vec2u as a host value: a readonly tuple of two u32."
url: https://typeshade.dev/api/vec2u-type/
language: en
---

# `vec2u`

Type in Runtime

A `vec2u` as a host value: a readonly tuple of two `u32`.

`import type { vec2u } from 'typeshade/runtime'`

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

## Syntax

```ts
type vec2u = readonly [u32, u32];
```

## In the guide

- [Values and mutation](https://typeshade.dev/guide/internals/values-and-mutation/)
- [The CPU oracle](https://typeshade.dev/guide/internals/the-cpu-oracle/)

## Source

[`src/runtime/host-types.ts`, line 78](https://github.com/typeshade/typeshade/blob/af54ddad5/src/runtime/host-types.ts#L78), at commit af54ddad5
