{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"marketing-hero-forms-newsletter-with-social-proof","type":"registry:block","title":"Newsletter With Social Proof","files":[{"path":"components/blocks/marketing/hero-forms/newsletter-with-social-proof.tsx","content":"import { Button } from '@/components/ui/button';\nimport { Input } from '@/components/ui/input';\nimport { Label } from '@/components/ui/label';\nimport { StarIcon } from 'lucide-react';\n\nexport default function HeroFormNewsletterWithSocialProof() {\n  return (\n    <>\n      {/* Hero */}\n      <div className=\"bg-background/10 relative overflow-hidden\">\n        <div className=\"container mx-auto px-4 py-24 md:px-6 lg:py-32 2xl:max-w-[1400px]\">\n          <div className=\"mx-auto max-w-3xl text-center\">\n            <h1 className=\"scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl\">\n              Join our newsletter to stay updated\n            </h1>\n            <p className=\"text-muted-foreground mt-4 text-xl\">\n              Get the latest industry trends, design inspiration, and exclusive\n              tutorials delivered directly to your inbox.\n            </p>\n\n            {/* Newsletter Form */}\n            <div className=\"mt-10\">\n              <form className=\"mx-auto flex max-w-lg flex-col gap-2 sm:flex-row\">\n                <div className=\"flex-1\">\n                  <Label htmlFor=\"email\" className=\"sr-only\">\n                    Email address\n                  </Label>\n                  <Input\n                    id=\"email\"\n                    type=\"email\"\n                    placeholder=\"Enter your email\"\n                    className=\"h-12\"\n                  />\n                </div>\n                <Button size=\"lg\">Subscribe</Button>\n              </form>\n              <p className=\"text-muted-foreground mt-3 text-xs\">\n                We respect your privacy. Unsubscribe at any time.\n              </p>\n            </div>\n\n            {/* Stats */}\n            <div className=\"mt-16 grid grid-cols-2 gap-8 md:grid-cols-4\">\n              <div className=\"text-center\">\n                <div className=\"text-3xl font-bold\">10K+</div>\n                <div className=\"text-muted-foreground mt-1 text-sm\">\n                  Subscribers\n                </div>\n              </div>\n              <div className=\"text-center\">\n                <div className=\"text-3xl font-bold\">4.9/5</div>\n                <div className=\"text-muted-foreground mt-1 text-sm\">\n                  Average Rating\n                </div>\n              </div>\n              <div className=\"text-center\">\n                <div className=\"text-3xl font-bold\">98%</div>\n                <div className=\"text-muted-foreground mt-1 text-sm\">\n                  Satisfaction\n                </div>\n              </div>\n              <div className=\"text-center\">\n                <div className=\"text-3xl font-bold\">24+</div>\n                <div className=\"text-muted-foreground mt-1 text-sm\">\n                  Issues per Year\n                </div>\n              </div>\n            </div>\n\n            {/* Testimonials */}\n            <div className=\"mt-16\">\n              <h2 className=\"mb-6 text-lg font-semibold\">\n                What our subscribers say\n              </h2>\n              <div className=\"grid gap-6 md:grid-cols-3\">\n                <div className=\"bg-background rounded-lg border p-6\">\n                  <div className=\"mb-2 flex text-amber-400\">\n                    <StarIcon className=\"h-4 w-4 fill-current\" />\n                    <StarIcon className=\"h-4 w-4 fill-current\" />\n                    <StarIcon className=\"h-4 w-4 fill-current\" />\n                    <StarIcon className=\"h-4 w-4 fill-current\" />\n                    <StarIcon className=\"h-4 w-4 fill-current\" />\n                  </div>\n                  <p className=\"text-sm\">\n                    &quot;This newsletter has transformed how I approach design\n                    projects. The content is always fresh and actionable.&quot;\n                  </p>\n                  <div className=\"mt-4 flex items-center\">\n                    <div className=\"relative mr-3 h-10 w-10 overflow-hidden rounded-full\">\n                      <img\n                        src=\"https://images.unsplash.com/photo-1494790108377-be9c29b29330?q=80&w=1887&auto=format&fit=crop\"\n                        alt=\"Sarah Thompson\"\n                        className=\"object-cover\"\n                      />\n                    </div>\n                    <div>\n                      <div className=\"font-medium\">Sarah Thompson</div>\n                      <div className=\"text-muted-foreground text-xs\">\n                        Product Designer\n                      </div>\n                    </div>\n                  </div>\n                </div>\n\n                <div className=\"bg-background rounded-lg border p-6\">\n                  <div className=\"mb-2 flex text-amber-400\">\n                    <StarIcon className=\"h-4 w-4 fill-current\" />\n                    <StarIcon className=\"h-4 w-4 fill-current\" />\n                    <StarIcon className=\"h-4 w-4 fill-current\" />\n                    <StarIcon className=\"h-4 w-4 fill-current\" />\n                    <StarIcon className=\"h-4 w-4 fill-current\" />\n                  </div>\n                  <p className=\"text-sm\">\n                    &quot;I look forward to every issue. The insights have\n                    helped me stay ahead of trends and improve my skills\n                    consistently.&quot;\n                  </p>\n                  <div className=\"mt-4 flex items-center\">\n                    <div className=\"relative mr-3 h-10 w-10 overflow-hidden rounded-full\">\n                      <img\n                        src=\"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?q=80&w=1887&auto=format&fit=crop\"\n                        alt=\"David Chen\"\n                        className=\"object-cover\"\n                      />\n                    </div>\n                    <div>\n                      <div className=\"font-medium\">David Chen</div>\n                      <div className=\"text-muted-foreground text-xs\">\n                        UI Developer\n                      </div>\n                    </div>\n                  </div>\n                </div>\n\n                <div className=\"bg-background rounded-lg border p-6\">\n                  <div className=\"mb-2 flex text-amber-400\">\n                    <StarIcon className=\"h-4 w-4 fill-current\" />\n                    <StarIcon className=\"h-4 w-4 fill-current\" />\n                    <StarIcon className=\"h-4 w-4 fill-current\" />\n                    <StarIcon className=\"h-4 w-4 fill-current\" />\n                    <StarIcon className=\"h-4 w-4 fill-current\" />\n                  </div>\n                  <p className=\"text-sm\">\n                    &quot;Beyond exceptional content, it&apos;s the community\n                    that makes this newsletter special. I&apos;ve connected with\n                    amazing creatives.&quot;\n                  </p>\n                  <div className=\"mt-4 flex items-center\">\n                    <div className=\"relative mr-3 h-10 w-10 overflow-hidden rounded-full\">\n                      <img\n                        src=\"https://images.unsplash.com/photo-1573497019940-1c28c88b4f3e?q=80&w=1887&auto=format&fit=crop\"\n                        alt=\"Elena Rodriguez\"\n                        className=\"object-cover\"\n                      />\n                    </div>\n                    <div>\n                      <div className=\"font-medium\">Elena Rodriguez</div>\n                      <div className=\"text-muted-foreground text-xs\">\n                        Creative Director\n                      </div>\n                    </div>\n                  </div>\n                </div>\n              </div>\n            </div>\n\n            {/* Brands */}\n            <div className=\"mt-16\">\n              <p className=\"text-muted-foreground mb-6 text-sm\">\n                Trusted by teams at\n              </p>\n              <div className=\"flex flex-wrap justify-center gap-x-12 gap-y-6\">\n                <div className=\"relative h-8 w-32\">\n                  <img\n                    src=\"https://images.unsplash.com/photo-1611162617213-7d7a39e9b1d7?q=80&w=1974&auto=format&fit=crop\"\n                    alt=\"Google\"\n                    className=\"object-contain\"\n                  />\n                </div>\n                <div className=\"relative h-8 w-32\">\n                  <img\n                    src=\"https://images.unsplash.com/photo-1611605698335-8b1569810432?q=80&w=2074&auto=format&fit=crop\"\n                    alt=\"Meta\"\n                    className=\"object-contain\"\n                  />\n                </div>\n                <div className=\"relative h-8 w-32\">\n                  <img\n                    src=\"https://images.unsplash.com/photo-1614680376573-df3480f0c6ff?q=80&w=1974&auto=format&fit=crop\"\n                    alt=\"Microsoft\"\n                    className=\"object-contain\"\n                  />\n                </div>\n                <div className=\"relative h-8 w-32\">\n                  <img\n                    src=\"https://images.unsplash.com/photo-1649734926695-1b1664e98842?q=80&w=1935&auto=format&fit=crop\"\n                    alt=\"Amazon\"\n                    className=\"object-contain\"\n                  />\n                </div>\n              </div>\n            </div>\n          </div>\n        </div>\n      </div>\n      {/* End Hero */}\n    </>\n  );\n}\n","type":"registry:component","target":"components/blocks/marketing/hero-forms/newsletter-with-social-proof.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"}],"description":"A hero pairing a newsletter form with subscriber counts and logos. Uses social proof to convince visitors the list is worth joining today.","dependencies":["class-variance-authority","lucide-react","radix-ui"]}