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

# platform

> Tells you which Attio platform your client code is running inside.

## Values

* `"web-app"`
* `"mobile-app"`

## Example

```tsx theme={"system"}
import {platform, TextBlock} from "attio/client"

function WelcomeBlock() {
  switch (platform) {
    case "web-app": {
      return <TextBlock>Welcome to the web app! 🌍</TextBlock>
    }
    case "mobile-app": {
      return <TextBlock>Welcome to the mobile app! 📱</TextBlock>
    }
  }
}
```
