> For the complete documentation index, see [llms.txt](https://wcandillon.gitbook.io/redash/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wcandillon.gitbook.io/redash/vectors.md).

# Vectors

## `Vector<T = number>`

Type representing a vector. it is defined as

```typescript
export interface Vector<T = number> {
  x: T;
  y: T;
}
```

## `useVector()`

Returns a vector of shared values.
