import { ChevronRight } from "lucide-react"; import type { ReactNode } from "react"; import { Link } from "react-router"; interface NavCardProps { to: string; title: string; description: string; // Optional trailing slot — used by the hub to surface a small status // chip ("3 sessions", "2 connected apps") without dropping the card // primitive's clean title/description rhythm. meta?: ReactNode; } // Shared affordance for the /account hub and related settings hubs. // Title, helper text, and ChevronRight signal navigation without // competing with primary actions on the destination page. export const NavCard = ({ to, title, description, meta }: NavCardProps) => (

{title}

{description}

{meta ? {meta} : null}
);