Alert
v0.17.3Inline message in a status tone with icon, title and description.
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.
More examples
States and real uses. Each example is also a Storybook story and a visual regression test.
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.