Components / Content

Badge

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

Badge

Ask your agent

Install the bezel skill once

npx skills add crabtalk/bezel --skill bezel

Then ask

Show a "3 unread" badge on the Inbox row and a green "Active" badge on connected accounts.
use ui::widgets::Content;

theme.badge("3 unread")
theme.badge_active("Active")
  • Import the Content trait to get these on Theme.