{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"marketing-hero-sections-gradient-mesh-hero","type":"registry:block","title":"Gradient Mesh Hero","files":[{"path":"components/blocks/marketing/hero-sections/gradient-mesh-hero.tsx","content":"import { Button } from '@/components/ui/button';\nimport { ArrowRight } from 'lucide-react';\n\nexport default function GradientMeshHero() {\n  return (\n    <div className=\"relative overflow-hidden\">\n      {/* Gradient background with mesh */}\n      <div className=\"from-primary/20 via-background to-background absolute inset-0 z-0 bg-gradient-to-br\">\n        <div className=\"absolute inset-0 bg-[radial-gradient(#e5e7eb_1px,transparent_1px)] [mask-image:radial-gradient(ellipse_50%_50%_at_50%_50%,#000_70%,transparent_100%)] [background-size:16px_16px] dark:bg-[radial-gradient(#333_1px,transparent_1px)]\"></div>\n      </div>\n\n      <div className=\"relative z-10 container mx-auto px-4 py-24 md:px-6 md:py-36 2xl:max-w-[1400px]\">\n        <div className=\"mx-auto flex max-w-4xl flex-col items-center space-y-10 text-center\">\n          <div className=\"space-y-6\">\n            <div className=\"bg-primary/10 text-primary inline-block rounded-full px-3 py-1 text-sm font-medium\">\n              Introducing Our Latest Innovation\n            </div>\n            <h1 className=\"from-primary to-primary/50 dark:from-primary dark:to-primary/70 bg-gradient-to-r bg-clip-text text-4xl font-bold tracking-tight text-transparent sm:text-5xl md:text-6xl lg:text-7xl\">\n              Transform your digital experience\n            </h1>\n            <p className=\"text-muted-foreground mx-auto max-w-[700px] md:text-xl lg:text-2xl\">\n              Discover our powerful platform with cutting-edge features designed\n              to elevate your workflow and boost productivity.\n            </p>\n          </div>\n\n          <div className=\"mx-auto flex w-full max-w-md flex-col gap-4 sm:flex-row\">\n            <Button size=\"lg\" className=\"w-full\" asChild>\n              <a href=\"#\">\n                Get Started\n                <ArrowRight className=\"ml-2 h-4 w-4\" />\n              </a>\n            </Button>\n            <Button\n              size=\"lg\"\n              variant=\"outline\"\n              className=\"dark:text-foreground dark:hover:text-primary w-full\"\n              asChild\n            >\n              <a href=\"#\">Watch Demo</a>\n            </Button>\n          </div>\n\n          <div className=\"flex items-center justify-center gap-8 pt-4\">\n            <div className=\"flex items-center gap-2\">\n              <svg\n                xmlns=\"http://www.w3.org/2000/svg\"\n                width=\"24\"\n                height=\"24\"\n                viewBox=\"0 0 24 24\"\n                fill=\"none\"\n                stroke=\"currentColor\"\n                strokeWidth=\"2\"\n                strokeLinecap=\"round\"\n                strokeLinejoin=\"round\"\n                className=\"text-primary h-6 w-6\"\n              >\n                <path d=\"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z\" />\n                <path d=\"m9 12 2 2 4-4\" />\n              </svg>\n              <span className=\"dark:text-gray-200\">Free 14-day trial</span>\n            </div>\n            <div className=\"hidden items-center gap-2 sm:flex\">\n              <svg\n                xmlns=\"http://www.w3.org/2000/svg\"\n                width=\"24\"\n                height=\"24\"\n                viewBox=\"0 0 24 24\"\n                fill=\"none\"\n                stroke=\"currentColor\"\n                strokeWidth=\"2\"\n                strokeLinecap=\"round\"\n                strokeLinejoin=\"round\"\n                className=\"text-primary h-6 w-6\"\n              >\n                <path d=\"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z\" />\n                <path d=\"m9 12 2 2 4-4\" />\n              </svg>\n              <span className=\"dark:text-gray-200\">\n                No credit card required\n              </span>\n            </div>\n            <div className=\"hidden items-center gap-2 md:flex\">\n              <svg\n                xmlns=\"http://www.w3.org/2000/svg\"\n                width=\"24\"\n                height=\"24\"\n                viewBox=\"0 0 24 24\"\n                fill=\"none\"\n                stroke=\"currentColor\"\n                strokeWidth=\"2\"\n                strokeLinecap=\"round\"\n                strokeLinejoin=\"round\"\n                className=\"text-primary h-6 w-6\"\n              >\n                <path d=\"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z\" />\n                <path d=\"m9 12 2 2 4-4\" />\n              </svg>\n              <span className=\"dark:text-gray-200\">Cancel anytime</span>\n            </div>\n          </div>\n        </div>\n      </div>\n\n      {/* Abstract shapes */}\n      <div className=\"bg-primary/10 absolute top-1/4 -left-20 h-64 w-64 rounded-full blur-3xl\"></div>\n      <div className=\"bg-primary/10 absolute -right-20 bottom-1/4 h-64 w-64 rounded-full blur-3xl\"></div>\n    </div>\n  );\n}\n","type":"registry:component","target":"components/blocks/marketing/hero-sections/gradient-mesh-hero.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"}],"description":"A hero with a soft mesh gradient behind a centered headline and CTA. Gives a calm, premium backdrop to SaaS, design, and startup landing pages.","dependencies":["class-variance-authority","lucide-react","radix-ui"]}