{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "auth-section-3",
  "title": "Auth Section 3",
  "description": "Solace UI auth section block variation 3.",
  "dependencies": [
    "@paper-design/shaders-react",
    "motion",
    "lucide-react"
  ],
  "files": [
    {
      "path": "src/registry/blocks/auth-section/three/index.tsx",
      "content": "\"use client\";\n\nimport { useState } from \"react\";\nimport type { ReactNode } from \"react\";\nimport { FlutedGlass } from \"@paper-design/shaders-react\";\nimport { Eye, EyeOff } from \"lucide-react\";\nimport { motion } from \"motion/react\";\n\nconst formFields = [\n  { label: \"First name\", value: \"Harshit\", type: \"text\", placeholder: \"Harshit\" },\n  { label: \"Last name\", value: \"Sharma\", type: \"text\", placeholder: \"Sharma\" },\n];\n\nconst termsText = (\n  <>\n    By creating an account, you agree to our{\" \"}\n    <a href=\"#\" className=\"font-medium text-black/55 underline underline-offset-2 dark:text-white/55\">\n      Terms of Service\n    </a>{\" \"}\n    and{\" \"}\n    <a href=\"#\" className=\"font-medium text-black/55 underline underline-offset-2 dark:text-white/55\">\n      Privacy Policy\n    </a>\n  </>\n);\n\nexport default function AuthSectionThree() {\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\n        {/* Left Side - SignUp Form */}\n        <div className=\"flex min-h-[760px] items-center justify-center rounded-md border border-black/10 bg-white px-6 py-12 dark:border-white/5 dark:bg-[#0a0a0c] lg:min-h-0 lg:px-14 lg:py-20 xl:px-20\">\n          <div className=\"mx-auto w-full max-w-[460px]\">\n\n\n            <div>\n              <h1 className=\"text-3xl font-medium tracking-tight sm:text-4xl text-black dark:text-white\">\n                Create an account\n              </h1>\n            </div>\n\n            {/* Social Signup Buttons */}\n            <div className=\"mt-8 grid gap-3 sm:grid-cols-2 sm:gap-4\">\n              <button\n                type=\"button\"\n                className=\"flex h-11 w-full min-w-0 items-center justify-center gap-2 rounded-lg border border-black/15 bg-white px-4 text-sm font-medium text-black transition-colors hover:bg-black/[0.02] dark:border-white/10 dark:bg-white/5 dark:text-white dark:hover:bg-white/10\"\n              >\n                <GoogleIcon />\n                <span className=\"whitespace-nowrap\">Sign up with Google</span>\n              </button>\n              <button\n                type=\"button\"\n                className=\"flex h-11 w-full min-w-0 items-center justify-center gap-2 rounded-lg border border-black/15 bg-white px-4 text-sm font-medium text-black transition-colors hover:bg-black/[0.02] dark:border-white/10 dark:bg-white/5 dark:text-white dark:hover:bg-white/10\"\n              >\n                <AppleIcon />\n                <span className=\"whitespace-nowrap\">Sign up with Apple</span>\n              </button>\n            </div>\n\n            <div className=\"my-6 flex items-center gap-4 text-xs font-medium text-black/40 dark:text-white/30\">\n              <div className=\"h-px flex-1 bg-black/10 dark:bg-white/10\" />\n              or\n              <div className=\"h-px flex-1 bg-black/10 dark:bg-white/10\" />\n            </div>\n\n            <form className=\"space-y-4\">\n              <div className=\"grid gap-4 sm:grid-cols-2\">\n                {formFields.map((field) => (\n                  <InputField\n                    key={field.label}\n                    label={field.label}\n                    value={field.value}\n                    placeholder={field.placeholder}\n                    type={field.type}\n                  />\n                ))}\n              </div>\n\n              <InputField\n                label=\"Email\"\n                value=\"harshitlog@gmail.com\"\n                placeholder=\"email@example.com\"\n                type=\"email\"\n              />\n\n              <InputField\n                label=\"Password\"\n                value=\"*************\"\n                placeholder=\"Enter password\"\n                type=\"password\"\n              />\n\n              <div className=\"space-y-3 pt-2 text-xs leading-5 text-black/45 dark:text-white/40 sm:text-[13px]\">\n                <CheckboxLine>\n                  I don't want to receive emails about Postdrips feature updates and best practices.\n                </CheckboxLine>\n                <CheckboxLine>{termsText}</CheckboxLine>\n              </div>\n\n              <button\n                type=\"button\"\n                className=\"mt-8 flex h-11 w-full items-center justify-center rounded-lg border border-black/40 bg-black text-sm 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        {/* Right Side - Marketing Testimonial and Mockup */}\n        <div className=\"relative flex min-h-[720px] flex-col overflow-hidden rounded-md bg-linear-to-b from-black to-white p-8 text-white dark:to-[#050505] sm:p-12 lg:min-h-0 lg:p-16\">\n          {/* Background Shader */}\n          <div className=\"absolute inset-0 z-0 pointer-events-none\">\n            <FlutedGlass\n              size={0.89}\n              shape=\"lines\"\n              angle={0}\n              distortionShape=\"prism\"\n              distortion={0.5}\n              shift={0}\n              blur={0}\n              edges={0.25}\n              stretch={0}\n              scale={1.11}\n              fit=\"cover\"\n              highlights={0.1}\n              shadows={0.2}\n              grainMixer={0.1}\n              grainOverlay={0.1}\n              colorBack=\"#00000000\"\n              colorHighlight=\"#FFFFFF\"\n              colorShadow=\"#000000\"\n              className=\"w-full h-full bg-transparent\"\n            />\n          </div>\n\n          <div className=\"relative z-10 h-full w-full\">\n            <div className=\"max-w-[460px] lg:pt-12\">\n              <motion.div\n                initial={{ opacity: 0, y: 12, filter: \"blur(6px)\" }}\n                whileInView={{ opacity: 1, y: 0, filter: \"blur(0px)\" }}\n                viewport={{ once: true, margin: \"-10%\" }}\n                transition={{ duration: 0.7, ease: [0.22, 1, 0.36, 1] }}\n                className=\"flex items-center gap-4\"\n              >\n                <img\n                  src=\"https://assets.solaceui.com/solaceui-member-five.png\"\n                  alt=\"Charlotte\"\n                  className=\"size-10 shrink-0 rounded-full border border-white/20 object-cover\"\n                />\n                <div>\n                  <div className=\"font-semibold leading-tight text-white\">Charlotte</div>\n                  <div className=\"mt-0.5 text-xs text-white/60\">Design Engineer</div>\n                </div>\n              </motion.div>\n              <motion.blockquote\n                initial={{ opacity: 0, y: 18, filter: \"blur(8px)\" }}\n                whileInView={{ opacity: 1, y: 0, filter: \"blur(0px)\" }}\n                viewport={{ once: true, margin: \"-10%\" }}\n                transition={{ duration: 0.8, delay: 0.12, ease: [0.22, 1, 0.36, 1] }}\n                className=\"mt-7 text-2xl font-light leading-tight tracking-[-0.035em] text-white/90 sm:text-3xl lg:text-[34px]\"\n              >\n                “Every block had the restraint and polish we usually spend weeks refining.”\n              </motion.blockquote>\n            </div>\n\n            <div className=\"mt-10 w-full translate-y-[24%] overflow-hidden rounded-2xl border border-white/15 bg-black/70 p-2 shadow-[0_30px_90px_rgba(0,0,0,0.5)] backdrop-blur-xl sm:translate-y-[22%] lg:absolute lg:left-[12%] lg:-bottom-28 lg:mt-0 lg:w-[105%] lg:max-w-none lg:origin-bottom-left lg:translate-y-0 lg:-rotate-3 xl:left-[14%] xl:-bottom-[150px] xl:w-[108%] 2xl:-bottom-[170px] 2xl:w-[112%]\">\n              <motion.div\n                initial={{ opacity: 0, y: 72, filter: \"blur(10px)\" }}\n                whileInView={{ opacity: 1, y: 0, filter: \"blur(0px)\" }}\n                viewport={{ once: true, margin: \"-10%\" }}\n                transition={{ duration: 1, delay: 0.22, ease: [0.16, 1, 0.3, 1] }}\n                className=\"overflow-hidden rounded-xl border border-white/10 bg-black\"\n              >\n                <div className=\"flex items-center gap-1.5 border-b border-white/10 bg-black/40 px-4 py-3 select-none\">\n                  <div className=\"size-2 rounded-full bg-white/35\" />\n                  <div className=\"size-2 rounded-full bg-white/25\" />\n                  <div className=\"size-2 rounded-full bg-white/15\" />\n                  <span className=\"ml-4 text-[9px] font-mono tracking-wider text-white/40\">solaceui.com/dashboard</span>\n                </div>\n                <img\n                  src=\"https://assets.solaceui.com/solaceui-hero-light.png\"\n                  alt=\"SolaceUI Dashboard App Mockup\"\n                  className=\"h-auto w-full object-cover object-top opacity-95 [filter:invert(1)_hue-rotate(180deg)_brightness(0.68)_contrast(1.16)] dark:[filter:none]\"\n                />\n              </motion.div>\n            </div>\n\n          </div>\n\n        </div>\n      </div>\n    </section>\n  );\n}\n\nfunction InputField({\n  label,\n  placeholder,\n  type = \"text\",\n  value,\n}: {\n  label: string;\n  placeholder: string;\n  type?: string;\n  value: string;\n}) {\n  const [val, setVal] = useState(value);\n  const [showPassword, setShowPassword] = useState(false);\n  const [isEditing, setIsEditing] = useState(false);\n\n  return (\n    <div className=\"space-y-1.5 text-left w-full\">\n      <label className=\"text-xs font-semibold text-black/60 dark:text-white/60\">\n        {label}\n      </label>\n      <div className=\"relative flex h-11 items-center rounded-lg border border-black/15 bg-white px-3.5 dark:border-white/10 dark:bg-white/5\">\n        <input\n          type={type === \"password\" ? (showPassword ? \"text\" : \"password\") : type}\n          value={val}\n          onFocus={() => {\n            if (!isEditing) {\n              setVal(\"\");\n              setIsEditing(true);\n            }\n          }}\n          onChange={(e) => {\n            setVal(e.target.value);\n            setIsEditing(true);\n          }}\n          placeholder={placeholder}\n          className=\"w-full bg-transparent text-sm text-black outline-none placeholder:text-black/30 dark:text-white dark:placeholder:text-white/30\"\n        />\n        {type === \"password\" && (\n          <button\n            type=\"button\"\n            onClick={() => setShowPassword(!showPassword)}\n            className=\"absolute right-3.5 text-black/40 dark:text-white/40 hover:text-black dark:hover:text-white cursor-pointer\"\n          >\n            {showPassword ? <EyeOff className=\"size-4\" /> : <Eye className=\"size-4\" />}\n          </button>\n        )}\n      </div>\n    </div>\n  );\n}\n\nfunction CheckboxLine({ children }: { children: ReactNode }) {\n  return (\n    <label className=\"flex items-start gap-3 cursor-pointer\">\n      <span className=\"relative mt-1 size-3.5 shrink-0\">\n        <input\n          type=\"checkbox\"\n          className=\"peer size-full cursor-pointer appearance-none rounded-[3px] 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=\"15\" height=\"15\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" className=\"shrink-0\">\n      <path\n        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\"\n        fill=\"#4285F4\"\n      />\n      <path\n        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\"\n        fill=\"#34A853\"\n      />\n      <path\n        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\"\n        fill=\"#FBBC05\"\n      />\n      <path\n        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\"\n        fill=\"#EB4335\"\n      />\n    </svg>\n  );\n}\n\nfunction AppleIcon() {\n  return (\n    <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"currentColor\" aria-hidden=\"true\" className=\"shrink-0\">\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",
      "type": "registry:component",
      "target": "components/auth-section-3.tsx"
    }
  ],
  "type": "registry:block"
}