Beautiful pdf components, built on Takumi and Forme. 100% Free, Zero config, one command setup.
"use client";
import type { ButtonProps } from "@/components/ui/button";
import { Button } from "@/components/ui/button";
interface ExternalLinkButtonProps extends ButtonProps {
href: string;
}
export const ExternalLinkButton = ({
href,
children,
...props
}: ExternalLinkButtonProps) => (
<Button sound="click" asChild {...props}>
<a href={href} target="_blank" rel="noopener noreferrer">
{children}
</a>
</Button>
);