Components / Content
Badge
crates/ui/src/widgets/content.rs
use ui::widgets;
widgets::badge(&theme, "badge")
widgets::badge_active(&theme, "active")The plain badge is a hairline pill in the muted text tone; badge_active is the emerald "connected / running / on" pill.
Both are plain Divs, so a badge with an icon in it is a child you add.