Skip to content
Design System
GitHub

Alert

v0.17.3

Inline message in a status tone with icon, title and description.

Update available

Firmware 2.5 installs while the robot is docked.

License expires in 5 days

Patrols stop when it expires.

Alert tones

Install
npx shadcn add @syncrobotic/alert

Also installs: class-variance-authority, @syncrobotic/cn

Overview

A message inside the page in a status tone, with an icon, a title and a description. It stays while its condition holds.

When to use

  • A form that cannot be saved, a robot that is offline, a setting that has a consequence.

Use something else

  • Something a person must act on now: Alarm.
  • Feedback that goes away by itself: Toast.

More examples

States and real uses. Each example is also a Storybook story and a visual regression test.

2B10 has not reported for 5 minutes

Last seen at the north gate. It may be out of Wi-Fi range.

Alert with action

Usage rules

  • A condition on this page that stays while it is true (a licence about to expire, a form that cannot be sent). No acknowledge.
  • If the operator must act on the robot, it is an alarm instead.

Changelog

  • 0.17.32026-11-19Descriptions avoid a one-word last line.
  • 0.8.02026-11-17Icon to label 8 px (gap-2), the same in every component.
  • 0.6.02026-11-17Appears.

How to upgrade