Components / Status

Alert strips

Markdown crates/ui/src/widgets/status.rs docs.rs

Alert strips

Ask your agent

Install the bezel skill once

npx skills add crabtalk/bezel --skill bezel

Then ask

Show a red error strip above the form when saving fails, and an amber warning when the API key is about to expire.
use ui::widgets::Status;

theme.error_strip("Couldn't save: the server refused the request.")
theme.warning_strip("Your API key expires in 3 days.")
  • There are two tones and no level enum.
  • A dismiss control is a child you add.