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.
Components / Status
Markdown crates/ui/src/widgets/status.rs docs.rs
Install the bezel skill once
npx skills add crabtalk/bezel --skill bezelThen 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.")