> ## Documentation Index
> Fetch the complete documentation index at: https://uom-demo.vercel.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Use mobile

## Functions

### useIsMobile()

```ts theme={null}
function useIsMobile(): boolean;
```

Defined in: [hooks/use-mobile.ts:16](https://github.com/corovcam/Universal-Object-Mapping/blob/main/frontend/uom-translator-ui/hooks/use-mobile.ts#L16)

Custom React hook that detects whether the current viewport is mobile-sized.
Uses window\.matchMedia to listen to viewport resize events reactively,
preventing hydration mismatches by initializing as undefined and updating on mount.

#### Returns

`boolean`

True if the screen width is less than the MOBILE\_BREAKPOINT (768px).
