# useSSRWidth

Used to set a global viewport width which will be used when rendering SSR components that rely on the viewport width like or

**Package:** `@vueuse/core`
**Category:** Browser

## Usage

```ts
import { provideSSRWidth } from '@vueuse/core'

const app = createApp(App)

provideSSRWidth(500, app)
```

## Reference

[VueUse Docs](https://vueuse.org/core/useSSRWidth/)
