Badge
Displays a status pill with a tinted background and optional leading dot.
Installation
bun add elia@import "tailwindcss";
@import "@aile.sh/elia/styles/elia.css";
@source "../node_modules/@aile.sh/elia";Usage
import { Badge } from "@aile.sh/elia";
export function Example() {
return (
<div className="flex flex-wrap items-center gap-2">
<Badge tone="neutral">Draft</Badge>
<Badge tone="accent">Beta</Badge>
<Badge tone="green" dot>Completed</Badge>
<Badge tone="orange" dot>Pending</Badge>
<Badge tone="red">Failed</Badge>
</div>
);
}— elia design system · MIT · base · https://github.com/aile-sh/elia