⭐️⭐️⭐️ 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
import type { ReactNode } from 'react';
// One choice of what a new project starts with: a blank project, a template, or an
// issue-type preset.
export default function NewProjectOption({
selected,
onSelect,
children,
}: {
selected: boolean;
onSelect: () => void;
children: ReactNode;
}) {
return (
<button
type="button"
role="radio"
aria-checked={selected}
onClick={onSelect}
className={`truncate rounded-md px-2 py-1.5 text-start text-sm transition-colors duration-150 focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none ${
selected
? 'bg-secondary font-medium text-secondary-foreground'
: 'text-muted-foreground hover:bg-accent hover:text-accent-foreground'
}`}
>
{children}
</button>
);
}