---
id: contexts-density
title: Density
---
```
this.context.density // number

Component.contextTypes = context.subscribe(['density'])
```

Utilizes `window.devicePixelRatio` to tell you the density of the screen. 
