Name, device status and notifications, each zone expanding on its own; notices and the most urgent unacknowledged alarm live inside the island.
Default
Install
npx shadcn add @syncrobotic/island Also installs: lucide-react, @syncrobotic/cn, @syncrobotic/tray, @syncrobotic/status-glyph, @syncrobotic/alarm, @syncrobotic/badge, @syncrobotic/use-presence
Overview
The top of the control app: name, device status and notifications, each expanding on its own, with the most urgent alarm inside.
When to use
- Every page of the phone control app.
Use something else
- Internal tools: the app shell's top bar.
More examples
States and real uses. Each example is also a Storybook story and a visual regression test.
Another dog needs attention
Low battery
Loading
Notice
Reversible
Failure stays until handled
Bluetooth only persistent
Stopped persistent
Alarm in island
Usage rules
- Name, device status and notifications each expand on their own.
- Failure notices stay until handled. A persistent fault (stopped) changes the tray edge colour; offline stays neutral and is said in words and by its shape.
- IslandAlarm shows the most urgent unacknowledged alarm above any notice, from the same data as AlarmList. The edge follows it: critical danger, high warning.
- On a phone the island is the alarm surface, so it buzzes, sounds (critical repeats until acknowledged) and announces new alarms, like AlarmList. Turn
feedbackoff on one of them when both are on screen.
Changelog
- 0.22.12026-11-21The leaving notice and the last alarm are kept in state set during render instead of refs written during render, so they are safe under the React Compiler. No visible change.
- 0.22.02026-11-20IslandAlarm follows the alarm redesign: never tinted (the edge, glyph and priority word carry the colour), the time first in tabular figures, a lighter Acknowledge.
- 0.17.32026-11-19Tracks and quiet shapes use the new --track token, so they read in dark mode (1.5:1 on their surface; they were near invisible).