---
id: contexts-height
title: Height
---
```
this.context.height // number

Component.contextTypes = context.subscribe(['height'])
```
Sets a resize listener and returns the height of the viewport. 
