{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"application-login-split-with-image","type":"registry:block","title":"Split With Image","files":[{"path":"components/blocks/application/login/split-with-image.tsx","content":"import { useState } from 'react';\nimport { Button } from '@/components/ui/button';\nimport { Input } from '@/components/ui/input';\nimport { Label } from '@/components/ui/label';\nimport { Switch } from '@/components/ui/switch';\n\nexport default function Component() {\n  const [rememberMe, setRememberMe] = useState(true);\n\n  return (\n    <div className=\"bg-muted/20 flex min-h-screen\">\n      {/* Left side - Testimonial */}\n      <div className=\"relative hidden lg:flex lg:w-1/2\">\n        <div className=\"relative h-full w-full\">\n          <img\n            src=\"https://images.unsplash.com/photo-1734336056841-8f4dd3ca6e32?q=80&w=880&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\"\n            alt=\"Sarah Chen testimonial\"\n            className=\"object-cover\"\n          />\n          <div className=\"absolute inset-0 bg-black/20\" />\n\n          {/* Zenflow logo */}\n          <div className=\"absolute top-8 left-8 flex items-center gap-2 text-white\">\n            <div className=\"flex h-6 w-6 items-center justify-center rounded-sm bg-white\">\n              <div className=\"bg-primary h-2 w-2 rounded-full\" />\n            </div>\n            <span className=\"text-xl font-semibold\">Zenflow</span>\n          </div>\n\n          {/* Testimonial */}\n          <div className=\"absolute right-8 bottom-8 left-8 text-white\">\n            <blockquote className=\"mb-4 text-2xl font-medium\">\n              &quot;Zenflow transformed our workflow and boosted productivity by\n              40%.&quot;\n            </blockquote>\n            <div>\n              <div className=\"font-medium\">Sarah Chen</div>\n              <div className=\"text-sm opacity-90\">\n                Head of Operations, TechFlow Solutions\n              </div>\n            </div>\n          </div>\n        </div>\n      </div>\n\n      {/* Right side - Login form */}\n      <div className=\"flex w-full items-center justify-center p-8 lg:w-1/2\">\n        <div className=\"w-full max-w-md space-y-8\">\n          {/* Mobile logo */}\n          <div className=\"mb-8 flex items-center justify-center gap-2 lg:hidden\">\n            <div className=\"bg-primary flex h-6 w-6 items-center justify-center rounded-sm\">\n              <div className=\"bg-primary-foreground h-2 w-2 rounded-full\" />\n            </div>\n            <span className=\"text-xl font-semibold\">Zenflow</span>\n          </div>\n\n          <div className=\"space-y-2 text-center\">\n            <h1 className=\"text-foreground text-2xl font-bold\">\n              Welcome back to Zenflow\n            </h1>\n            <p className=\"text-muted-foreground\">\n              Streamline your project management and collaboration with our\n              intuitive workflow platform.\n            </p>\n          </div>\n\n          <form className=\"space-y-6\">\n            <div className=\"space-y-2\">\n              <Label\n                htmlFor=\"email\"\n                className=\"text-foreground text-sm font-medium\"\n              >\n                Email\n              </Label>\n              <Input\n                id=\"email\"\n                type=\"email\"\n                defaultValue=\"alex.jordan@gmail.com\"\n                className=\"w-full\"\n              />\n            </div>\n\n            <div className=\"space-y-2\">\n              <Label\n                htmlFor=\"password\"\n                className=\"text-foreground text-sm font-medium\"\n              >\n                Password\n              </Label>\n              <Input\n                id=\"password\"\n                type=\"password\"\n                defaultValue=\"password123\"\n                className=\"w-full\"\n              />\n              <div className=\"text-right\">\n                <a\n                  href=\"#\"\n                  className=\"text-primary hover:text-primary/80 text-sm\"\n                >\n                  Forgot password?\n                </a>\n              </div>\n            </div>\n\n            <div className=\"flex items-center justify-between\">\n              <Label\n                htmlFor=\"remember\"\n                className=\"text-foreground text-sm font-medium\"\n              >\n                Remember sign in details\n              </Label>\n              <Switch\n                id=\"remember\"\n                checked={rememberMe}\n                onCheckedChange={setRememberMe}\n                className=\"data-[state=checked]:bg-primary\"\n              />\n            </div>\n\n            <Button className=\"w-full py-3\">Log In</Button>\n\n            <div className=\"relative\">\n              <div className=\"absolute inset-0 flex items-center\">\n                <div className=\"border-border w-full border-t\" />\n              </div>\n              <div className=\"relative flex justify-center text-sm\">\n                <span className=\"bg-background text-muted-foreground px-2\">\n                  OR\n                </span>\n              </div>\n            </div>\n\n            <Button variant=\"outline\" className=\"w-full py-3\">\n              <svg className=\"mr-2 h-5 w-5\" viewBox=\"0 0 24 24\">\n                <path\n                  fill=\"#4285F4\"\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                />\n                <path\n                  fill=\"#34A853\"\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                />\n                <path\n                  fill=\"#FBBC05\"\n                  d=\"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z\"\n                />\n                <path\n                  fill=\"#EA4335\"\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.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z\"\n                />\n              </svg>\n              Continue with Google\n            </Button>\n\n            <p className=\"text-muted-foreground text-center text-sm\">\n              Don&apos;t have an account?{' '}\n              <a\n                href=\"#\"\n                className=\"text-primary hover:text-primary/80 font-medium\"\n              >\n                Sign up\n              </a>\n            </p>\n          </form>\n        </div>\n      </div>\n    </div>\n  );\n}\n","type":"registry:component","target":"components/blocks/application/login/split-with-image.tsx"},{"path":"components/ui/button.tsx","content":"import * as React from \"react\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\nimport { Slot } from \"radix-ui\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst buttonVariants = cva(\n  \"group/button inline-flex shrink-0 items-center justify-center rounded-md border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n  {\n    variants: {\n      variant: {\n        default: \"bg-primary text-primary-foreground hover:bg-primary/80\",\n        outline:\n          \"border-border bg-background shadow-xs hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50\",\n        secondary:\n          \"bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground\",\n        ghost:\n          \"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50\",\n        destructive:\n          \"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40\",\n        link: \"text-primary underline-offset-4 hover:underline\",\n      },\n      size: {\n        default:\n          \"h-9 gap-1.5 px-2.5 in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2\",\n        xs: \"h-6 gap-1 rounded-[min(var(--radius-md),8px)] px-2 text-xs in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3\",\n        sm: \"h-8 gap-1 rounded-[min(var(--radius-md),10px)] px-2.5 in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5\",\n        lg: \"h-10 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2\",\n        icon: \"size-9\",\n        \"icon-xs\":\n          \"size-6 rounded-[min(var(--radius-md),8px)] in-data-[slot=button-group]:rounded-md [&_svg:not([class*='size-'])]:size-3\",\n        \"icon-sm\":\n          \"size-8 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-md\",\n        \"icon-lg\": \"size-10\",\n      },\n    },\n    defaultVariants: {\n      variant: \"default\",\n      size: \"default\",\n    },\n  }\n)\n\nfunction Button({\n  className,\n  variant = \"default\",\n  size = \"default\",\n  asChild = false,\n  ...props\n}: React.ComponentProps<\"button\"> &\n  VariantProps<typeof buttonVariants> & {\n    asChild?: boolean\n  }) {\n  const Comp = asChild ? Slot.Root : \"button\"\n\n  return (\n    <Comp\n      data-slot=\"button\"\n      data-variant={variant}\n      data-size={size}\n      className={cn(buttonVariants({ variant, size, className }))}\n      {...props}\n    />\n  )\n}\n\nexport { Button, buttonVariants }\n","type":"registry:ui","target":"components/ui/button.tsx"},{"path":"components/ui/input.tsx","content":"import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Input({ className, type, ...props }: React.ComponentProps<\"input\">) {\n  return (\n    <input\n      type={type}\n      data-slot=\"input\"\n      className={cn(\n        \"h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-2.5 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nexport { Input }\n","type":"registry:ui","target":"components/ui/input.tsx"},{"path":"components/ui/label.tsx","content":"\"use client\"\n\nimport * as React from \"react\"\nimport { Label as LabelPrimitive } from \"radix-ui\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Label({\n  className,\n  ...props\n}: React.ComponentProps<typeof LabelPrimitive.Root>) {\n  return (\n    <LabelPrimitive.Root\n      data-slot=\"label\"\n      className={cn(\n        \"flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nexport { Label }\n","type":"registry:ui","target":"components/ui/label.tsx"},{"path":"components/ui/switch.tsx","content":"\"use client\"\n\nimport * as React from \"react\"\nimport { Switch as SwitchPrimitive } from \"radix-ui\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Switch({\n  className,\n  size = \"default\",\n  ...props\n}: React.ComponentProps<typeof SwitchPrimitive.Root> & {\n  size?: \"sm\" | \"default\"\n}) {\n  return (\n    <SwitchPrimitive.Root\n      data-slot=\"switch\"\n      data-size={size}\n      className={cn(\n        \"peer group/switch relative inline-flex shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-[size=default]:h-[18.4px] data-[size=default]:w-[32px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px] dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:bg-primary data-unchecked:bg-input dark:data-unchecked:bg-input/80 data-disabled:cursor-not-allowed data-disabled:opacity-50\",\n        className\n      )}\n      {...props}\n    >\n      <SwitchPrimitive.Thumb\n        data-slot=\"switch-thumb\"\n        className=\"pointer-events-none block rounded-full bg-background ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] dark:data-checked:bg-primary-foreground group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-unchecked:translate-x-0 dark:data-unchecked:bg-foreground\"\n      />\n    </SwitchPrimitive.Root>\n  )\n}\n\nexport { Switch }\n","type":"registry:ui","target":"components/ui/switch.tsx"}],"description":"A two panel login screen pairing a sign in form with a side image. Use it to add brand personality to authentication on web apps and dashboards.","dependencies":["class-variance-authority","radix-ui"]}