> For the complete documentation index, see [llms.txt](https://apcom.gitbook.io/altrone-ui/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apcom.gitbook.io/altrone-ui/utils/types/rect.md).

# Rect

If this is a square you can just pass a number. If it is rectangle you can set a width and height

```typescript
type Rect =
  | {
      top?: number;
      left?: number;
      bottom?: number;
      right?: number;
    }
  | number;

```
