Mobile › Display
StatusDot
A coloured dot for presence or service status: online, away, busy or offline, with an optional live pulse.
Installation
npx expo install plankui-mobile react-native-safe-area-context expo-hapticsUsage
import { StatusDot } from "plankui-mobile";
<StatusDot status="online" label="Ada Park" pulse />
<StatusDot status="busy" label="Down" />API reference
| Prop | Type | Default | Description |
|---|---|---|---|
| status | 'online' | 'away' | 'busy' | 'offline' | Green, amber, red, or a grey ring. | |
| label | string | – | Text beside the dot. Without it the dot still has a spoken name. |
| pulse | boolean | false | A soft ring that pulses out of the dot. Off under reduced motion. |