---
id: contexts-os
title: OS
---
```
this.context.os // string

Component.contextTypes = context.subscribe(['os'])
```
Parses the userAgent string and returns the OS name. 
