OS Detector logo

OS Detector

Published April 2026
   •    Updated this month

Plugin details

OS Detector is a lightweight visual element plugin that automatically detects the current user's operating system the moment a page loads — no workflows or triggers required.
Simply drag the element onto any page and the detected OS is instantly available as a Bubble state (`OS Detector A's OS Name`), ready to use in text elements, conditionals, workflows, and more.

Detects: Windows · macOS · Linux · Android · iOS

$8

One time  •  Or  $4/mo

stars   •   0 ratings
0 installs  
This plugin does not collect or track your personal data.

Platform

Web & Native mobile

Contributor details

HKS Techlabs logo
HKS Techlabs
Joined 2021   •   3 Plugins
View contributor profile

Instructions

1. Install the plugin Go to your app → Plugins tab → find OS Detector → click Install.

2. Add the element to your page
Open any page in the Bubble editor. In the element picker, find OS Detector under Plugins and drag it onto your page. The element renders as a small OS badge — you can resize it, style it, or set its opacity to 0 if you only need the state value and not the visual.

3. Use the OS Name state
Click on any text element, conditional, or workflow and insert a dynamic value. Select OS Detector A → OS Name. It will return one of:
- `Windows`
- `macOS`
- `Linux`
- `Android`
- `iOS`
- `Unknown`

4. Example use cases
- Show a different download button depending on whether the user is on Windows, macOS, or Linux
- Display a mobile-specific banner for Android and iOS users
- Log the user's OS to your database on page load
- Branch workflow logic based on the detected platform

Note: Detection happens entirely in the browser using the native `navigator.userAgent` and `navigator.platform` APIs. No external requests are made and no data leaves the user's device.

Demo Editor: https://bubble.io/page?id=hks-demos&tab=Design&name=os_detector_plugin_page&type=page
Demo page: https://hks-demos.bubbleapps.io/version-test/os_detector_plugin_page

Types

This plugin can be found under the following types:

Categories

This plugin can be found under the following categories:

Resources

Support contact
Documentation
Tutorial

Rating and reviews

No reviews yet

This plugin has not received any reviews.
Bubble