⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.
TypeScript agenticagileai-agentsbug-reportingbug-trackerganttissue-trackerjirajira-alternativekanbanlinearlinear-alternativeopen-sourceproduct-managementproject-managementroadmapself-hostedsprint-planningteam-collaborationtrello-alternative
// A Linear-style pill trigger: rounded, muted, icon + label. Used by the field
// selects, the new-issue modal and the issue detail panel so every field trigger
// looks the same. It never grows past the room it is given, so a caller puts its
// text in a `truncate` span rather than letting a long value push out of the
// column.
export function Pill({
active,
children,
...props
}: { active?: boolean } & React.ComponentProps<'button'>) {
return (
<button
type="button"
className={`flex h-7 max-w-full min-w-0 items-center gap-1.5 rounded-full border px-2.5 text-sm transition-colors hover:bg-accent [&_svg:not([class*='size-'])]:size-3.5 [&>svg]:shrink-0 ${
active ? 'text-foreground' : 'text-muted-foreground'
}`}
{...props}
>
{children}
</button>
);
}