Discover / Feedback
Badge
Give a status or label a little emphasis.
Usage notes
Keep labels short and make sure status is understandable without relying on color alone.
Examples use @easyui/react and its stylesheet. Read the setup guide.
Example source
import { Badge } from "@easyui/react";
export default function Example() {
return (
<div style={{ display: "flex", gap: 8, flexWrap: "wrap" }}>
<Badge variant="accent">In progress</Badge>
<Badge variant="neutral">Draft</Badge>
<Badge variant="outline">In review</Badge>
<Badge variant="danger">Urgent</Badge>
</div>
);
}