{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcnblocks/button-link","title":"Button Link - Button-styled link","description":"A native anchor styled with shadcn/ui button variants for navigation that should look like a button.","dependencies":["cn"],"registryDependencies":["button"],"files":[{"path":"components/shadcnblocks/button-link.tsx","content":"import * as React from \"react\";\nimport { cn } from \"cn\";\n\nimport { buttonVariants } from \"@/components/ui/button\";\n\ntype ButtonVariantsProps = Parameters<typeof buttonVariants>[0];\n\ninterface ButtonLinkProps\n  extends React.AnchorHTMLAttributes<HTMLAnchorElement>,\n    ButtonVariantsProps {}\n\nconst ButtonLink = React.forwardRef<HTMLAnchorElement, ButtonLinkProps>(\n  ({ className, variant, size, ...props }, ref) => (\n    <a\n      ref={ref}\n      className={cn(buttonVariants({ variant, size }), className)}\n      {...props}\n    />\n  ),\n);\nButtonLink.displayName = \"ButtonLink\";\n\nexport { ButtonLink };\n","type":"registry:component"}],"type":"registry:component","meta":{"license":"https://www.shadcnblocks.com/license"}}