⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
import { useTranslation } from "react-i18next";
import { cn } from "@/lib/cn";
type OnboardingProgressProps = { current: number; total: number };
export function OnboardingProgress({
current,
total,
}: OnboardingProgressProps) {
const { t } = useTranslation();
const segments = Array.from({ length: total }, (_, position) => ({
id: `segment-${position}`,
done: position < current,
}));
return (
<div
role="progressbar"
aria-valuemin={1}
aria-valuemax={total}
aria-valuenow={current}
aria-label={t("auth:onboarding.progress", { current, total })}
className="flex gap-1"
>
{segments.map((segment) => (
<span
key={segment.id}
className={cn(
"h-1 w-6 rounded-full transition-colors duration-300",
segment.done ? "bg-foreground" : "bg-foreground/12",
)}
/>
))}
</div>
);
}