Skip to content

Every analytics tool wants a subscription. And your data. I built Twiligent instead. YouTube stats. Instagram stats. One dashboard. Runs locally on your machine.

463 B
Raw Blame
import { ExternalLink } from 'lucide-react';
import { Button } from '@/components/ui/button';

export interface OpenLinkProps {
  href: string;
  label: string;
}

export default function OpenLink({ href, label }: OpenLinkProps) {
  return (
    <Button variant="ghost" size="icon-xs" render={<a href={href} target="_blank" rel="noopener noreferrer" aria-label={`${label} (opens in a new tab)`} />}>
      <ExternalLink aria-hidden="true" />
    </Button>
  );
}