import { Badge } from "@smartacteam/ambient-web/badge";
import { IconCheckmark2 } from "@smartacteam/ambient-web/icons/icon-checkmark-2";
/**
* A badge with a leading icon keeps the height of one without. Badges sit
* below control height on purpose, so the row holds only badges — the
* invariant is that siblings agree, not that they match a global constant.
*/
export function BadgeIconStatesDemo() {
return (
<div
data-control-row="badge-icon"
data-row-kind="equal"
className="flex w-full flex-wrap items-start gap-2"
>
<Badge data-control>Active</Badge>
<Badge data-control color="success">
<IconCheckmark2 />
Verified
</Badge>
</div>
);
}