

Read `window.screen` values reactively, with optional initialization and debounce control.

## Usage [#usage]

```tsx
import { useScreen } from "@tilt-legal/cubitt-components/utilities/hooks";

const screen = useScreen();
const width = screen?.width ?? 0;
```

## API [#api]

### Signature [#signature]

```ts
declare function useScreen(options: UseScreenOptions<false>): Screen | undefined;
declare function useScreen(options?: Partial<UseScreenOptions<true>>): Screen;
```

### Parameters [#parameters]

This hook takes no arguments.

### Return Value [#return-value]

| Value    | Type     | Description |          |                             |
| -------- | -------- | ----------- | -------- | --------------------------- |
| `return` | \`Screen | undefined   | Screen\` | Value returned by the hook. |
