{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "price-card",
  "type": "registry:block",
  "title": "Price card",
  "description": "Price card",
  "files": [
    {
      "path": "components/usages/pricecardusage.tsx",
      "content": "\"use client\";\r\n\r\nimport React from \"react\";\r\n\r\nimport PricingCard from \"@/registry/open-source/price-card\";\r\n\r\nexport default function Usage() {\r\n\treturn (\r\n\t\t<div className=\"h-screen w-full flex items-center justify-center relative overflow-hidden bg-background\">\r\n\t\t\t<PricingCard />\r\n\t\t</div>\r\n\t);\r\n}\r\n",
      "type": "registry:block",
      "target": "~/example.tsx"
    },
    {
      "path": "components/usages/pricecardusage.tsx",
      "content": "\"use client\";\r\n\r\nimport React from \"react\";\r\n\r\nimport PricingCard from \"@/registry/open-source/price-card\";\r\n\r\nexport default function Usage() {\r\n\treturn (\r\n\t\t<div className=\"h-screen w-full flex items-center justify-center relative overflow-hidden bg-background\">\r\n\t\t\t<PricingCard />\r\n\t\t</div>\r\n\t);\r\n}\r\n",
      "type": "registry:ui"
    },
    {
      "path": "registry/open-source/price-card.tsx",
      "content": "\"use client\";\n\nimport { Check } from \"lucide-react\";\nimport { motion } from \"motion/react\";\n\nimport { ScalingButton } from \"./scaling-button\";\n\nexport default function PricingCard() {\n\tconst features = [\n\t\t\"2 Senior Developers\",\n\t\t\"Landing Page Development\",\n\t\t\"15-20 Days Service (One time)\",\n\t\t\"Private Discord Channel\",\n\t\t\"One Request at a time\",\n\t];\n\n\treturn (\n\t\t<div className=\"flex items-center justify-center\">\n\t\t\t<motion.div\n\t\t\t\tclassName=\"w-full max-w-md rounded-3xl bg-linear-to-b from-background to-background p-6 text-foreground shadow-xl\"\n\t\t\t\tinitial={{ opacity: 0, y: 50 }}\n\t\t\t\tanimate={{ opacity: 1, y: 0 }}\n\t\t\t\ttransition={{ duration: 0.5 }}\n\t\t\t>\n\t\t\t\t<h2 className=\"mb-2 text-2xl font-bold\">Extend MVP</h2>\n\t\t\t\t<div className=\"mb-4 flex items-baseline\">\n\t\t\t\t\t<span className=\"text-5xl font-extrabold\">$3000</span>\n\t\t\t\t\t<span className=\"ml-2 text-xl\">/month</span>\n\t\t\t\t</div>\n\t\t\t\t<p className=\"mb-6 text-foreground\">Product Development</p>\n\t\t\t\t<ul className=\"mb-6 space-y-3\">\n\t\t\t\t\t{features.map((feature, index) => (\n\t\t\t\t\t\t<motion.li\n\t\t\t\t\t\t\tkey={index + \"price-card\"}\n\t\t\t\t\t\t\tclassName=\"flex items-center space-x-3\"\n\t\t\t\t\t\t\tinitial={{ opacity: 0, x: -50 }}\n\t\t\t\t\t\t\tanimate={{ opacity: 1, x: 0 }}\n\t\t\t\t\t\t\ttransition={{ duration: 0.5, delay: index * 0.1 }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<motion.span\n\t\t\t\t\t\t\t\tclassName=\"flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-priceAccent\"\n\t\t\t\t\t\t\t\tinitial={{ scale: 0 }}\n\t\t\t\t\t\t\t\tanimate={{ scale: 1 }}\n\t\t\t\t\t\t\t\ttransition={{\n\t\t\t\t\t\t\t\t\ttype: \"spring\",\n\t\t\t\t\t\t\t\t\tstiffness: 500,\n\t\t\t\t\t\t\t\t\tdelay: index * 0.1 + 0.2,\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<Check className=\"h-3 w-3 text-foreground\" />\n\t\t\t\t\t\t\t</motion.span>\n\t\t\t\t\t\t\t<span>{feature}</span>\n\t\t\t\t\t\t</motion.li>\n\t\t\t\t\t))}\n\t\t\t\t</ul>\n\t\t\t\t<ScalingButton className=\"w-full bg-background text-foreground hover:bg-background/90\">\n\t\t\t\t\tOrder Now\n\t\t\t\t</ScalingButton>\n\t\t\t</motion.div>\n\t\t</div>\n\t);\n}\n",
      "type": "registry:ui"
    },
    {
      "path": "registry/open-source/scaling-button.tsx",
      "content": "import * as React from \"react\";\n\nimport { Button } from \"@/components/ui/button\";\nimport { motion } from \"motion/react\";\n\ntype ScalingButtonProps = {\n\tspringTransition?: {\n\t\ttype: string;\n\t\tstiffness: number;\n\t\tdamping: number;\n\t};\n};\n\nconst springTransitionDefault = {\n\ttype: \"spring\",\n\tstiffness: 400,\n\tdamping: 12,\n};\n\nexport const ScalingButton = React.forwardRef<\n\tHTMLButtonElement,\n\tScalingButtonProps\n>(({ children, springTransition = springTransitionDefault, ...props }, ref) => {\n\treturn (\n\t\t<motion.div\n\t\t\twhileHover={{ scale: 1.1 }}\n\t\t\twhileTap={{ scale: 0.9 }}\n\t\t\ttransition={springTransition}\n\t\t>\n\t\t\t<Button ref={ref} {...props}>\n\t\t\t\t{children}\n\t\t\t</Button>\n\t\t</motion.div>\n\t);\n});\n\nScalingButton.displayName = \"ScalingButton\";\n",
      "type": "registry:ui"
    },
    {
      "path": "components/ui/button.tsx",
      "content": "import * as React from \"react\";\r\n\r\nimport { cn } from \"@/registry/utilities/cn\";\r\nimport { Slot } from \"@radix-ui/react-slot\";\r\nimport { cva, type VariantProps } from \"class-variance-authority\";\r\n\r\nconst buttonVariants = cva(\r\n\t\"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm text-white hover:text-gray-400 font-medium ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50\",\r\n\t{\r\n\t\tvariants: {\r\n\t\t\tvariant: {\r\n\t\t\t\tsimple:\r\n\t\t\t\t\t\"bg-secondary relative z-10 bg-transparent hover:border-secondary hover:bg-secondary/50  border border-transparent dark:text-white text-sm md:text-sm transition font-medium duration-200  rounded-md px-4 py-2  flex items-center justify-center\",\r\n\t\t\t\tdefault: \"bg-primary text-primary-foreground hover:bg-primary/90\",\r\n\t\t\t\tdestructive:\r\n\t\t\t\t\t\"bg-destructive text-destructive-foreground hover:bg-destructive/90\",\r\n\t\t\t\toutline:\r\n\t\t\t\t\t\"border border-input bg-background hover:bg-accent hover:text-accent-foreground\",\r\n\t\t\t\tsecondary:\r\n\t\t\t\t\t\"bg-secondary text-secondary-foreground hover:bg-secondary/80\",\r\n\t\t\t\tghost: \"hover:bg-accent hover:text-black hover:stroke-black dark:text-white text-black\",\r\n\t\t\t\tlink: \"text-primary underline-offset-4 hover:underline\",\r\n\t\t\t},\r\n\t\t\tsize: {\r\n\t\t\t\tdefault: \"h-10 px-4 py-2\",\r\n\t\t\t\tsm: \"h-9 rounded-md px-3\",\r\n\t\t\t\tlg: \"h-11 rounded-md px-8\",\r\n\t\t\t\ticon: \"h-10 w-10\",\r\n\t\t\t},\r\n\t\t},\r\n\t\tdefaultVariants: {\r\n\t\t\tvariant: \"default\",\r\n\t\t\tsize: \"default\",\r\n\t\t},\r\n\t}\r\n);\r\n\r\nexport interface ButtonProps\r\n\textends React.ButtonHTMLAttributes<HTMLButtonElement>,\r\n\t\tVariantProps<typeof buttonVariants> {\r\n\tasChild?: boolean;\r\n}\r\n\r\nconst Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\r\n\t({ className, variant, size, asChild = false, ...props }, ref) => {\r\n\t\tconst Comp = asChild ? Slot : \"button\";\r\n\t\treturn (\r\n\t\t\t<Comp\r\n\t\t\t\tclassName={cn(buttonVariants({ variant, size, className }))}\r\n\t\t\t\tref={ref}\r\n\t\t\t\t{...props}\r\n\t\t\t/>\r\n\t\t);\r\n\t}\r\n);\r\nButton.displayName = \"Button\";\r\n\r\nexport { Button, buttonVariants };\r\n",
      "type": "registry:ui"
    },
    {
      "path": "registry/utilities/cn.ts",
      "content": "import { ClassValue, clsx } from \"clsx\";\r\nimport { twMerge } from \"tailwind-merge\";\r\n\r\nexport function cn(...inputs: ClassValue[]) {\r\n\treturn twMerge(clsx(inputs));\r\n}\r\n",
      "type": "registry:ui"
    }
  ]
}