{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "auth-section-1",
  "title": "Auth Section 1",
  "description": "Solace UI auth section block variation 1.",
  "dependencies": [
    "@paper-design/shaders-react"
  ],
  "files": [
    {
      "path": "src/registry/blocks/auth-section/one/index.tsx",
      "content": "\"use client\";\n\nimport { GrainGradient } from \"@paper-design/shaders-react\";\nimport { useState } from \"react\";\nimport type { ReactNode } from \"react\";\n\nconst formFields = [\n  { label: \"First Name\", value: \"Harshit\", type: \"text\" },\n  { label: \"Last Name\", value: \"Sharma\", type: \"text\" },\n];\n\nconst termsText = (\n  <>\n    By creating an account, you agree to our{\" \"}\n    <a href=\"#\" className=\"font-medium text-black/45 underline underline-offset-2 dark:text-white/45\">\n      Terms and Services\n    </a>{\" \"}\n    and{\" \"}\n    <a href=\"#\" className=\"font-medium text-black/45 underline underline-offset-2 dark:text-white/45\">\n      Privacy Policy\n    </a>\n  </>\n);\n\nexport default function AuthSectionOne() {\n  return (\n    <section className=\"min-h-screen bg-white p-3 text-black antialiased [font-synthesis:none] dark:bg-[#050505] dark:text-white\">\n      <div className=\"grid min-h-[calc(100vh-1.5rem)] gap-6 lg:grid-cols-[0.94fr_1.06fr]\">\n        <div className=\"flex min-h-[760px] items-start rounded-md border border-black/20 bg-white px-6 py-12 sm:px-10 dark:border-white/10 dark:bg-[#0a0a0a] lg:min-h-0 lg:px-14 lg:py-28 xl:px-20\">\n          <div className=\"mx-auto w-full max-w-[590px]\">\n            <div>\n              <h1 className=\"whitespace-nowrap text-3xl font-medium tracking-[-0.04em] sm:text-4xl lg:text-[42px] lg:leading-[1.05] xl:text-[50px]\">\n                Create an account\n              </h1>\n              <p className=\"mt-3 whitespace-nowrap text-lg leading-snug text-black/60 dark:text-white/55 sm:text-xl lg:text-2xl xl:text-3xl\">\n                Brainstrom in chat, build in cowork\n              </p>\n            </div>\n\n            <div className=\"mt-12 grid gap-5 sm:grid-cols-2\">\n              <SocialButton icon={<GoogleIcon />} label=\"Sign up with Google\" />\n              <SocialButton icon={<AppleIcon />} label=\"Sign up with Apple\" />\n            </div>\n\n            <div className=\"my-10 text-center text-xl font-medium text-black/60 dark:text-white/50\">or</div>\n\n            <form className=\"space-y-5\">\n              <div className=\"grid gap-5 sm:grid-cols-2\">\n                {formFields.map((field) => (\n                  <FieldBox key={field.label} label={field.label} value={field.value} />\n                ))}\n              </div>\n\n              <FieldBox label=\"Email\" value=\"harshitlog@gmail.com\" type=\"email\" />\n              <FieldBox label=\"Password\" value=\"*************\" type=\"password\" />\n\n              <div className=\"space-y-4 pt-2 text-sm leading-5 text-black/30 dark:text-white/35 sm:text-[15px]\">\n                <CheckboxLine>I don't want to receive emails about solaceui feature updates</CheckboxLine>\n                <CheckboxLine>{termsText}</CheckboxLine>\n              </div>\n\n              <button\n                type=\"button\"\n                className=\"mt-9 flex h-12 w-full items-center justify-center rounded-[10px] border border-black/40 bg-black text-xl font-medium text-white transition-colors hover:bg-black/85 dark:border-white/40 dark:bg-white dark:text-black dark:hover:bg-white/85\"\n              >\n                Submit\n              </button>\n            </form>\n          </div>\n        </div>\n\n        <div className=\"relative flex min-h-[720px] overflow-hidden rounded-md bg-black p-8 text-white sm:p-12 lg:min-h-0\">\n          <GrainGradient\n            speed={1}\n            scale={1}\n            rotation={0}\n            offsetX={0}\n            offsetY={0}\n            softness={0.5}\n            intensity={0.5}\n            noise={0.25}\n            shape=\"corners\"\n            frame={2854.5}\n            colors={[\"#FFFFFF\", \"#FC7819\", \"#FC7819\", \"#FFFFFF\"]}\n            colorBack=\"#00000000\"\n            className=\"absolute inset-0 bg-black\"\n          />\n\n          <div className=\"relative z-10 flex h-full w-full flex-col justify-between\">\n            <h2 className=\"max-w-[620px] pt-0 text-5xl font-medium tracking-[-0.05em] text-white sm:text-6xl lg:pt-16 lg:text-[64px] lg:leading-[0.98] xl:text-[70px]\">\n              Think fast,\n              <br />\n              Build faster\n            </h2>\n\n            <a\n              href=\"#\"\n              className=\"mb-0 inline-flex h-12 max-w-full items-center gap-3 rounded-[10px] border border-white/25 px-5 text-base font-medium text-white/85 backdrop-blur-sm transition-colors hover:border-white/45 hover:text-white xl:mb-32 xl:px-6 xl:text-2xl\"\n            >\n              <WindowsIcon className=\"size-5 shrink-0 xl:size-7\" />\n              <span className=\"truncate whitespace-nowrap\">Download the windows app</span>\n            </a>\n          </div>\n        </div>\n      </div>\n    </section>\n  );\n}\n\nfunction SocialButton({ icon, label }: { icon: ReactNode; label: string }) {\n  return (\n    <button\n      type=\"button\"\n      className=\"flex h-10 items-center justify-center gap-2 rounded-[10px] border border-black/25 bg-white px-3 text-sm leading-none text-black transition-colors hover:bg-black/[0.03] dark:border-white/20 dark:bg-white/5 dark:text-white dark:hover:bg-white/10 xl:text-[19px]\"\n    >\n      <span className=\"shrink-0\">{icon}</span>\n      <span className=\"whitespace-nowrap\">{label}</span>\n    </button>\n  );\n}\n\nfunction FieldBox({ label, value, type = \"text\" }: { label: string; value: string; type?: string }) {\n  const [inputValue, setInputValue] = useState(value);\n  const [isEditing, setIsEditing] = useState(false);\n\n  return (\n    <label className=\"flex h-14 items-center justify-between gap-4 rounded-[10px] border border-black/25 bg-white px-5 text-lg leading-none dark:border-white/15 dark:bg-white/5 xl:text-xl\">\n      <input\n        type={type}\n        value={inputValue}\n        aria-label={label}\n        onFocus={() => {\n          if (!isEditing) {\n            setInputValue(\"\");\n            setIsEditing(true);\n          }\n        }}\n        onChange={(event) => {\n          setInputValue(event.target.value);\n          setIsEditing(true);\n        }}\n        className=\"min-w-0 flex-1 truncate bg-transparent text-black/30 outline-none placeholder:text-black/30 dark:text-white/35 dark:placeholder:text-white/35\"\n      />\n      {!isEditing && <span className=\"shrink-0 text-black dark:text-white\">{label}</span>}\n    </label>\n  );\n}\n\nfunction CheckboxLine({ children }: { children: ReactNode }) {\n  return (\n    <label className=\"flex items-start gap-3\">\n      <span className=\"relative mt-1 size-3.5 shrink-0\">\n        <input\n          type=\"checkbox\"\n          className=\"peer size-full appearance-none rounded-[2px] border border-black/25 bg-white checked:border-black checked:bg-black dark:border-white/30 dark:bg-white/5 dark:checked:border-white dark:checked:bg-white\"\n        />\n        <svg viewBox=\"0 0 12 12\" className=\"pointer-events-none absolute inset-0 hidden size-full p-0.5 text-white peer-checked:block dark:text-black\" fill=\"none\" aria-hidden=\"true\">\n          <path d=\"M3 6.2 5 8.1 9 3.9\" stroke=\"currentColor\" strokeWidth=\"1.6\" strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n        </svg>\n      </span>\n      <span>{children}</span>\n    </label>\n  );\n}\n\nfunction GoogleIcon() {\n  return (\n    <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n      <path d=\"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09Z\" fill=\"#4285F4\" />\n      <path d=\"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23Z\" fill=\"#34A853\" />\n      <path d=\"M5.84 14.1c-.22-.66-.35-1.36-.35-2.1s.13-1.44.35-2.1V7.06H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.94l3.66-2.84Z\" fill=\"#FBBC05\" />\n      <path d=\"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.06l3.66 2.84C6.71 7.3 9.14 5.38 12 5.38Z\" fill=\"#EB4335\" />\n    </svg>\n  );\n}\n\nfunction AppleIcon() {\n  return (\n    <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"currentColor\" aria-hidden=\"true\">\n      <path d=\"M17.05 12.54c-.03-3.02 2.47-4.47 2.58-4.54-1.41-2.06-3.6-2.34-4.38-2.37-1.86-.19-3.64 1.1-4.58 1.1-.95 0-2.42-1.07-3.98-1.04-2.05.03-3.94 1.19-4.99 3.02-2.13 3.69-.54 9.16 1.53 12.15 1.01 1.46 2.22 3.1 3.81 3.04 1.53-.06 2.11-.99 3.96-.99s2.37.99 3.99.96c1.65-.03 2.69-1.49 3.69-2.96 1.16-1.69 1.64-3.33 1.66-3.41-.04-.02-3.2-1.23-3.24-4.87ZM14.03 3.66c.84-1.02 1.41-2.43 1.25-3.84-1.21.05-2.68.81-3.55 1.83-.78.9-1.46 2.34-1.28 3.72 1.35.1 2.73-.69 3.58-1.71Z\" />\n    </svg>\n  );\n}\n\nfunction WindowsIcon({ className }: { className?: string }) {\n  return (\n    <svg viewBox=\"0 0 24 24\" fill=\"currentColor\" className={className} aria-hidden=\"true\">\n      <path d=\"M3 4.7 10.7 3.6v7.7H3V4.7Zm8.8-1.25L21 2.1v9.2h-9.2V3.45ZM3 12.7h7.7v7.7L3 19.3v-6.6Zm8.8 0H21v9.2l-9.2-1.3v-7.9Z\" />\n    </svg>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/auth-section-1.tsx"
    }
  ],
  "type": "registry:block"
}