{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"marketing-pricing-sections-custom-builder","type":"registry:block","title":"Custom Builder","files":[{"path":"components/blocks/marketing/pricing-sections/custom-builder.tsx","content":"import { useState } from 'react';\n\nimport { Button } from '@/components/ui/button';\nimport {\n  Card,\n  CardContent,\n  CardFooter,\n  CardHeader,\n  CardTitle,\n} from '@/components/ui/card';\nimport { Checkbox } from '@/components/ui/checkbox';\nimport { Label } from '@/components/ui/label';\nimport { Tabs, TabsList, TabsTrigger } from '@/components/ui/tabs';\nimport { CheckIcon, PlusIcon, MinusIcon } from 'lucide-react';\nimport { cn } from '@/lib/utils';\n\n// Base plans\nconst basePlans = [\n  {\n    name: 'Starter',\n    basePrice: 29,\n    description: 'Essential features for individuals',\n    includedUsers: 1,\n    includedStorage: 10,\n    includedProjects: 5,\n    features: ['Basic analytics', 'Email support', 'API access (100 req/day)'],\n  },\n  {\n    name: 'Business',\n    basePrice: 79,\n    description: 'Advanced features for teams',\n    includedUsers: 5,\n    includedStorage: 50,\n    includedProjects: 20,\n    features: [\n      'Advanced analytics',\n      'Priority support',\n      'API access (1,000 req/day)',\n      'Team collaboration',\n      'Custom domains',\n    ],\n    popular: true,\n  },\n  {\n    name: 'Enterprise',\n    basePrice: 199,\n    description: 'Complete solution for organizations',\n    includedUsers: 20,\n    includedStorage: 200,\n    includedProjects: 100,\n    features: [\n      'Enterprise analytics',\n      '24/7 phone support',\n      'API access (10,000 req/day)',\n      'Team collaboration',\n      'Custom domains',\n      'SSO authentication',\n      'Custom integrations',\n      'Dedicated account manager',\n    ],\n  },\n];\n\n// Add-ons\nconst addOns = [\n  {\n    id: 'additional-users',\n    name: 'Additional Users',\n    description: 'Add more users to your plan',\n    pricePerUnit: 10,\n    unit: 'user',\n  },\n  {\n    id: 'additional-storage',\n    name: 'Additional Storage',\n    description: 'Add more storage to your plan',\n    pricePerUnit: 5,\n    unit: '10GB',\n  },\n  {\n    id: 'premium-support',\n    name: 'Premium Support',\n    description: 'Get faster response times and dedicated support',\n    price: 49,\n  },\n  {\n    id: 'custom-training',\n    name: 'Custom Training',\n    description: 'Personalized training sessions for your team',\n    price: 199,\n  },\n];\n\nexport default function PricingSectionCustomBuilder() {\n  const [selectedPlan, setSelectedPlan] = useState(basePlans[1]!);\n  const [additionalUsers, setAdditionalUsers] = useState(0);\n  const [additionalStorage, setAdditionalStorage] = useState(0);\n  const [selectedAddOns, setSelectedAddOns] = useState<string[]>([]);\n  const [billingPeriod, setBillingPeriod] = useState<'monthly' | 'annually'>(\n    'monthly'\n  );\n\n  // Calculate total price\n  const calculateTotalPrice = () => {\n    let total = selectedPlan.basePrice;\n\n    // Add cost for additional users\n    total += additionalUsers * 10;\n\n    // Add cost for additional storage\n    total += additionalStorage * 5;\n\n    // Add cost for selected add-ons\n    selectedAddOns.forEach((id) => {\n      const addOn = addOns.find((a) => a.id === id);\n      if (addOn && addOn.price) {\n        total += addOn.price;\n      }\n    });\n\n    // Apply annual discount\n    if (billingPeriod === 'annually') {\n      total = total * 12 * 0.8; // 20% discount\n    }\n\n    return total;\n  };\n\n  // Toggle add-on selection\n  const toggleAddOn = (id: string) => {\n    setSelectedAddOns((prev) =>\n      prev.includes(id) ? prev.filter((item) => item !== id) : [...prev, id]\n    );\n  };\n\n  // Format price with commas\n  const formatPrice = (price: number) => {\n    return price.toLocaleString('en-US', {\n      style: 'currency',\n      currency: 'USD',\n      minimumFractionDigits: 0,\n      maximumFractionDigits: 0,\n    });\n  };\n\n  return (\n    <section className=\"w-full py-12 md:py-24 lg:py-32\">\n      <div className=\"container mx-auto px-4 md:px-6 2xl:max-w-[1400px]\">\n        <div className=\"flex flex-col items-center justify-center space-y-4 text-center\">\n          <div className=\"space-y-2\">\n            <h2 className=\"text-3xl font-bold tracking-tighter sm:text-4xl md:text-5xl\">\n              Build Your Perfect Plan\n            </h2>\n            <p className=\"text-muted-foreground mx-auto max-w-[700px] md:text-xl/relaxed\">\n              Customize your plan to fit your exact needs. Only pay for what you\n              use.\n            </p>\n          </div>\n        </div>\n\n        <div className=\"mx-auto mt-12 max-w-6xl\">\n          <Tabs\n            defaultValue=\"monthly\"\n            className=\"w-full\"\n            onValueChange={(value) =>\n              setBillingPeriod(value as 'monthly' | 'annually')\n            }\n          >\n            <div className=\"flex justify-center\">\n              <TabsList className=\"mb-8\">\n                <TabsTrigger value=\"monthly\">Monthly</TabsTrigger>\n                <TabsTrigger value=\"annually\">Annually (Save 20%)</TabsTrigger>\n              </TabsList>\n            </div>\n\n            <div className=\"grid gap-8 md:grid-cols-2\">\n              <div className=\"space-y-8\">\n                <div>\n                  <h3 className=\"mb-4 text-lg font-medium\">\n                    1. Choose your base plan\n                  </h3>\n                  <div className=\"grid gap-4 sm:grid-cols-3\">\n                    {basePlans.map((plan) => (\n                      <Card\n                        key={plan.name}\n                        className={cn(\n                          'hover:border-primary cursor-pointer transition-all',\n                          selectedPlan.name === plan.name &&\n                            'border-primary bg-primary/5',\n                          plan.popular && !selectedPlan && 'border-primary'\n                        )}\n                        onClick={() => setSelectedPlan(plan)}\n                      >\n                        <CardHeader className=\"pb-3\">\n                          <CardTitle className=\"text-lg\">{plan.name}</CardTitle>\n                        </CardHeader>\n                        <CardContent>\n                          <div className=\"text-2xl font-bold\">\n                            {formatPrice(plan.basePrice)}\n                            <span className=\"text-muted-foreground text-sm font-normal\">\n                              /{billingPeriod === 'monthly' ? 'mo' : 'yr'}\n                            </span>\n                          </div>\n                          <p className=\"text-muted-foreground mt-1 text-xs\">\n                            {plan.description}\n                          </p>\n                          <div className=\"mt-3 space-y-1 text-xs\">\n                            <div className=\"flex justify-between\">\n                              <span>Users</span>\n                              <span>{plan.includedUsers}</span>\n                            </div>\n                            <div className=\"flex justify-between\">\n                              <span>Storage</span>\n                              <span>{plan.includedStorage}GB</span>\n                            </div>\n                            <div className=\"flex justify-between\">\n                              <span>Projects</span>\n                              <span>{plan.includedProjects}</span>\n                            </div>\n                          </div>\n                        </CardContent>\n                      </Card>\n                    ))}\n                  </div>\n                </div>\n\n                <div>\n                  <h3 className=\"mb-4 text-lg font-medium\">\n                    2. Customize your plan\n                  </h3>\n                  <Card className=\"p-0\">\n                    <CardContent className=\"space-y-6 py-6\">\n                      <div>\n                        <div className=\"mb-2 flex items-center justify-between\">\n                          <Label>Additional Users</Label>\n                          <div className=\"flex items-center gap-2\">\n                            <Button\n                              variant=\"outline\"\n                              size=\"icon\"\n                              className=\"h-6 w-6\"\n                              onClick={() =>\n                                setAdditionalUsers(\n                                  Math.max(0, additionalUsers - 1)\n                                )\n                              }\n                              disabled={additionalUsers === 0}\n                            >\n                              <MinusIcon className=\"h-3 w-3\" />\n                            </Button>\n                            <span className=\"w-8 text-center\">\n                              {additionalUsers}\n                            </span>\n                            <Button\n                              variant=\"outline\"\n                              size=\"icon\"\n                              className=\"h-6 w-6\"\n                              onClick={() =>\n                                setAdditionalUsers(additionalUsers + 1)\n                              }\n                            >\n                              <PlusIcon className=\"h-3 w-3\" />\n                            </Button>\n                          </div>\n                        </div>\n                        <div className=\"text-muted-foreground text-xs\">\n                          ${addOns[0]!.pricePerUnit} per additional user per\n                          month\n                        </div>\n                      </div>\n\n                      <div>\n                        <div className=\"mb-2 flex items-center justify-between\">\n                          <Label>Additional Storage</Label>\n                          <div className=\"flex items-center gap-2\">\n                            <Button\n                              variant=\"outline\"\n                              size=\"icon\"\n                              className=\"h-6 w-6\"\n                              onClick={() =>\n                                setAdditionalStorage(\n                                  Math.max(0, additionalStorage - 1)\n                                )\n                              }\n                              disabled={additionalStorage === 0}\n                            >\n                              <MinusIcon className=\"h-3 w-3\" />\n                            </Button>\n                            <span className=\"w-8 text-center\">\n                              {additionalStorage}\n                            </span>\n                            <Button\n                              variant=\"outline\"\n                              size=\"icon\"\n                              className=\"h-6 w-6\"\n                              onClick={() =>\n                                setAdditionalStorage(additionalStorage + 1)\n                              }\n                            >\n                              <PlusIcon className=\"h-3 w-3\" />\n                            </Button>\n                          </div>\n                        </div>\n                        <div className=\"text-muted-foreground text-xs\">\n                          ${addOns[1]!.pricePerUnit} per additional 10GB per\n                          month\n                        </div>\n                      </div>\n                    </CardContent>\n                  </Card>\n                </div>\n\n                <div>\n                  <h3 className=\"mb-4 text-lg font-medium\">\n                    3. Select add-ons\n                  </h3>\n                  <Card className=\"p-0\">\n                    <CardContent className=\"space-y-4 py-6\">\n                      {addOns.slice(2).map((addOn) => (\n                        <div\n                          key={addOn.id}\n                          className=\"flex items-start space-x-3\"\n                        >\n                          <Checkbox\n                            id={addOn.id}\n                            checked={selectedAddOns.includes(addOn.id)}\n                            onCheckedChange={() => toggleAddOn(addOn.id)}\n                          />\n                          <div className=\"flex-1\">\n                            <Label\n                              htmlFor={addOn.id}\n                              className=\"cursor-pointer text-sm font-medium\"\n                            >\n                              {addOn.name} - ${addOn.price}/month\n                            </Label>\n                            <p className=\"text-muted-foreground text-xs\">\n                              {addOn.description}\n                            </p>\n                          </div>\n                        </div>\n                      ))}\n                    </CardContent>\n                  </Card>\n                </div>\n              </div>\n\n              <div className=\"space-y-8\">\n                <div className=\"sticky top-4\">\n                  <h3 className=\"mb-4 text-lg font-medium\">Your Custom Plan</h3>\n                  <Card>\n                    <CardHeader>\n                      <CardTitle>{selectedPlan.name} Plan</CardTitle>\n                    </CardHeader>\n                    <CardContent className=\"space-y-4\">\n                      <div className=\"space-y-2\">\n                        <div className=\"flex justify-between\">\n                          <span>Base Plan</span>\n                          <span>{formatPrice(selectedPlan.basePrice)}</span>\n                        </div>\n                        {additionalUsers > 0 && (\n                          <div className=\"flex justify-between\">\n                            <span>Additional Users ({additionalUsers})</span>\n                            <span>{formatPrice(additionalUsers * 10)}</span>\n                          </div>\n                        )}\n                        {additionalStorage > 0 && (\n                          <div className=\"flex justify-between\">\n                            <span>\n                              Additional Storage ({additionalStorage * 10}GB)\n                            </span>\n                            <span>{formatPrice(additionalStorage * 5)}</span>\n                          </div>\n                        )}\n                        {selectedAddOns.map((id) => {\n                          const addOn = addOns.find((a) => a.id === id);\n                          if (addOn && addOn.price) {\n                            return (\n                              <div key={id} className=\"flex justify-between\">\n                                <span>{addOn.name}</span>\n                                <span>{formatPrice(addOn.price)}</span>\n                              </div>\n                            );\n                          }\n                          return null;\n                        })}\n                      </div>\n\n                      <div className=\"border-t pt-4\">\n                        <div className=\"flex justify-between font-medium\">\n                          <span>\n                            Total {billingPeriod === 'annually' && '(per year)'}\n                          </span>\n                          <span>{formatPrice(calculateTotalPrice())}</span>\n                        </div>\n                        {billingPeriod === 'annually' && (\n                          <div className=\"text-muted-foreground mt-1 text-right text-xs\">\n                            Includes 20% annual discount\n                          </div>\n                        )}\n                      </div>\n\n                      <div className=\"space-y-2\">\n                        <h4 className=\"font-medium\">Included Features:</h4>\n                        <ul className=\"space-y-1 text-sm\">\n                          {selectedPlan.features.map((feature) => (\n                            <li key={feature} className=\"flex items-center\">\n                              <CheckIcon className=\"text-primary mr-2 h-4 w-4\" />\n                              <span>{feature}</span>\n                            </li>\n                          ))}\n                          {additionalUsers > 0 && (\n                            <li className=\"flex items-center\">\n                              <CheckIcon className=\"text-primary mr-2 h-4 w-4\" />\n                              <span>\n                                {selectedPlan.includedUsers + additionalUsers}{' '}\n                                total users\n                              </span>\n                            </li>\n                          )}\n                          {additionalStorage > 0 && (\n                            <li className=\"flex items-center\">\n                              <CheckIcon className=\"text-primary mr-2 h-4 w-4\" />\n                              <span>\n                                {selectedPlan.includedStorage +\n                                  additionalStorage * 10}\n                                GB total storage\n                              </span>\n                            </li>\n                          )}\n                          {selectedAddOns.map((id) => {\n                            const addOn = addOns.find((a) => a.id === id);\n                            if (addOn) {\n                              return (\n                                <li key={id} className=\"flex items-center\">\n                                  <CheckIcon className=\"text-primary mr-2 h-4 w-4\" />\n                                  <span>{addOn.name}</span>\n                                </li>\n                              );\n                            }\n                            return null;\n                          })}\n                        </ul>\n                      </div>\n                    </CardContent>\n                    <CardFooter>\n                      <Button className=\"w-full\" asChild>\n                        <a href=\"#\">Get Started</a>\n                      </Button>\n                    </CardFooter>\n                  </Card>\n                </div>\n              </div>\n            </div>\n          </Tabs>\n        </div>\n\n        <div className=\"bg-muted/30 mx-auto mt-16 max-w-3xl rounded-lg border p-8 text-center\">\n          <h3 className=\"text-xl font-medium\">\n            Need a more customized solution?\n          </h3>\n          <p className=\"text-muted-foreground mt-2\">\n            Contact our sales team for a personalized quote tailored to your\n            specific requirements.\n          </p>\n          <Button className=\"mt-6\" variant=\"outline\" asChild>\n            <a href=\"#\">Contact Sales</a>\n          </Button>\n        </div>\n      </div>\n    </section>\n  );\n}\n","type":"registry:component","target":"components/blocks/marketing/pricing-sections/custom-builder.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/card.tsx","content":"import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Card({\n  className,\n  size = \"default\",\n  ...props\n}: React.ComponentProps<\"div\"> & { size?: \"default\" | \"sm\" }) {\n  return (\n    <div\n      data-slot=\"card\"\n      data-size={size}\n      className={cn(\n        \"group/card flex flex-col gap-6 overflow-hidden rounded-xl bg-card py-6 text-sm text-card-foreground shadow-xs ring-1 ring-foreground/10 has-[>img:first-child]:pt-0 data-[size=sm]:gap-4 data-[size=sm]:py-4 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nfunction CardHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"card-header\"\n      className={cn(\n        \"group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-6 group-data-[size=sm]/card:px-4 has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-6 group-data-[size=sm]/card:[.border-b]:pb-4\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nfunction CardTitle({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"card-title\"\n      className={cn(\n        \"font-heading text-base leading-normal font-medium group-data-[size=sm]/card:text-sm\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nfunction CardDescription({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"card-description\"\n      className={cn(\"text-sm text-muted-foreground\", className)}\n      {...props}\n    />\n  )\n}\n\nfunction CardAction({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"card-action\"\n      className={cn(\n        \"col-start-2 row-span-2 row-start-1 self-start justify-self-end\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nfunction CardContent({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"card-content\"\n      className={cn(\"px-6 group-data-[size=sm]/card:px-4\", className)}\n      {...props}\n    />\n  )\n}\n\nfunction CardFooter({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"card-footer\"\n      className={cn(\n        \"flex items-center rounded-b-xl px-6 group-data-[size=sm]/card:px-4 [.border-t]:pt-6 group-data-[size=sm]/card:[.border-t]:pt-4\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nexport {\n  Card,\n  CardHeader,\n  CardFooter,\n  CardTitle,\n  CardAction,\n  CardDescription,\n  CardContent,\n}\n","type":"registry:ui","target":"components/ui/card.tsx"},{"path":"components/ui/checkbox.tsx","content":"\"use client\"\n\nimport * as React from \"react\"\nimport { Checkbox as CheckboxPrimitive } from \"radix-ui\"\n\nimport { cn } from \"@/lib/utils\"\nimport { CheckIcon } from \"lucide-react\"\n\nfunction Checkbox({\n  className,\n  ...props\n}: React.ComponentProps<typeof CheckboxPrimitive.Root>) {\n  return (\n    <CheckboxPrimitive.Root\n      data-slot=\"checkbox\"\n      className={cn(\n        \"peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input shadow-xs transition-shadow outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary\",\n        className\n      )}\n      {...props}\n    >\n      <CheckboxPrimitive.Indicator\n        data-slot=\"checkbox-indicator\"\n        className=\"grid place-content-center text-current transition-none [&>svg]:size-3.5\"\n      >\n        <CheckIcon\n        />\n      </CheckboxPrimitive.Indicator>\n    </CheckboxPrimitive.Root>\n  )\n}\n\nexport { Checkbox }\n","type":"registry:ui","target":"components/ui/checkbox.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/tabs.tsx","content":"\"use client\"\n\nimport * as React from \"react\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\nimport { Tabs as TabsPrimitive } from \"radix-ui\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Tabs({\n  className,\n  orientation = \"horizontal\",\n  ...props\n}: React.ComponentProps<typeof TabsPrimitive.Root>) {\n  return (\n    <TabsPrimitive.Root\n      data-slot=\"tabs\"\n      data-orientation={orientation}\n      className={cn(\n        \"group/tabs flex gap-2 data-horizontal:flex-col\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nconst tabsListVariants = cva(\n  \"group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-horizontal/tabs:h-9 group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col data-[variant=line]:rounded-none\",\n  {\n    variants: {\n      variant: {\n        default: \"bg-muted\",\n        line: \"gap-1 bg-transparent\",\n      },\n    },\n    defaultVariants: {\n      variant: \"default\",\n    },\n  }\n)\n\nfunction TabsList({\n  className,\n  variant = \"default\",\n  ...props\n}: React.ComponentProps<typeof TabsPrimitive.List> &\n  VariantProps<typeof tabsListVariants>) {\n  return (\n    <TabsPrimitive.List\n      data-slot=\"tabs-list\"\n      data-variant={variant}\n      className={cn(tabsListVariants({ variant }), className)}\n      {...props}\n    />\n  )\n}\n\nfunction TabsTrigger({\n  className,\n  ...props\n}: React.ComponentProps<typeof TabsPrimitive.Trigger>) {\n  return (\n    <TabsPrimitive.Trigger\n      data-slot=\"tabs-trigger\"\n      className={cn(\n        \"relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 dark:text-muted-foreground dark:hover:text-foreground group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n        \"group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent\",\n        \"data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground\",\n        \"after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nfunction TabsContent({\n  className,\n  ...props\n}: React.ComponentProps<typeof TabsPrimitive.Content>) {\n  return (\n    <TabsPrimitive.Content\n      data-slot=\"tabs-content\"\n      className={cn(\"flex-1 text-sm outline-none\", className)}\n      {...props}\n    />\n  )\n}\n\nexport { Tabs, TabsList, TabsTrigger, TabsContent, tabsListVariants }\n","type":"registry:ui","target":"components/ui/tabs.tsx"}],"description":"A plan builder where buyers pick features and quantities to assemble a quote. Use it for modular products where every customer needs a different mix.","dependencies":["class-variance-authority","lucide-react","radix-ui"]}