{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "login-button",
  "type": "registry:component",
  "title": "Lens Login Button",
  "description": "A button component to initiate the Lens login flow, displaying the lens icon and a call to action.",
  "registryDependencies": ["button"],
  "files": [
    {
      "path": "registry/new-york/components/account/lens-login-button.tsx",
      "content": "import { Button } from \"@/registry/new-york/ui/button\";\nimport { ComponentProps } from \"react\";\n\ntype ButtonProps = ComponentProps<typeof Button>;\n\ntype LoginButtonProps = {\n  /**\n   * The text to display on the button.\n   * If not provided, \"Log in with Lens\" will be used.\n   */\n  text?: string;\n};\n\nexport const LensLoginButton = ({ text = \"Log in with Lens\", ...props }: LoginButtonProps & ButtonProps) => (\n  <Button {...props}>\n    <svg fill=\"none\" viewBox=\"0 0 64 64\">\n      <path\n        fillRule=\"evenodd\"\n        d=\"M42.311 23.793c1.788-1.654 4.133-2.68 6.745-2.68 5.807.002 10.51 4.71 10.51 10.521 0 5.027-4.973 9.326-6.217 10.316-5.815 4.63-13.39 7.339-21.566 7.339-8.176 0-15.749-2.707-21.565-7.34C8.98 40.96 4 36.653 4 31.634c0-5.811 4.705-10.521 10.507-10.521 2.615 0 4.96 1.026 6.748 2.68l.185-.092c.408-5.422 4.817-9.7 10.343-9.7 5.527 0 9.935 4.278 10.344 9.7l.184.091v.002\"\n        clipRule=\"evenodd\"\n        fill=\"currentColor\"\n      />\n    </svg>\n    <span>{text}</span>\n  </Button>\n);\n",
      "type": "registry:component"
    }
  ]
}
