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-haptics

Usage

import { StatusDot } from "plankui-mobile";

<StatusDot status="online" label="Ada Park" pulse />
<StatusDot status="busy" label="Down" />

API reference

PropTypeDefaultDescription
status'online' | 'away' | 'busy' | 'offline'Green, amber, red, or a grey ring.
labelstring–Text beside the dot. Without it the dot still has a spoken name.
pulsebooleanfalseA soft ring that pulses out of the dot. Off under reduced motion.