{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"marketing-hero-forms-feedback-survey-form","type":"registry:block","title":"Feedback Survey Form","files":[{"path":"components/blocks/marketing/hero-forms/feedback-survey-form.tsx","content":"import { useState } from 'react';\n\nimport { Button } from '@/components/ui/button';\nimport { Label } from '@/components/ui/label';\nimport { Textarea } from '@/components/ui/textarea';\nimport { RadioGroup, RadioGroupItem } from '@/components/ui/radio-group';\nimport {\n  Select,\n  SelectContent,\n  SelectItem,\n  SelectTrigger,\n  SelectValue,\n} from '@/components/ui/select';\nimport { Star } from 'lucide-react';\n\nexport default function HeroFormFeedbackSurvey() {\n  const [step, setStep] = useState(1);\n  const [satisfaction, setSatisfaction] = useState<string>('');\n  const [experienceRating, setExperienceRating] = useState<number | null>(null);\n  const [submitted, setSubmitted] = useState(false);\n\n  const totalSteps = 3;\n\n  const handleNext = () => {\n    if (step < totalSteps) {\n      setStep(step + 1);\n    } else {\n      setSubmitted(true);\n    }\n  };\n\n  const handleBack = () => {\n    if (step > 1) {\n      setStep(step - 1);\n    }\n  };\n\n  return (\n    <>\n      {/* Hero */}\n      <div className=\"relative overflow-hidden bg-gradient-to-b from-slate-50 to-white dark:from-slate-950 dark:to-slate-900\">\n        <div className=\"bg-grid-slate-100 dark:bg-grid-slate-800/20 absolute inset-0 bg-[size:30px_30px] opacity-20\"></div>\n\n        <div className=\"relative z-10 container mx-auto px-4 py-20 md:px-6 lg:py-32 2xl:max-w-[1400px]\">\n          <div className=\"mx-auto mb-10 max-w-2xl text-center\">\n            <h1 className=\"mb-4 text-4xl font-bold tracking-tight lg:text-5xl\">\n              We value your feedback\n            </h1>\n            <p className=\"text-muted-foreground text-xl\">\n              {!submitted\n                ? 'Help us improve your experience by sharing your thoughts.'\n                : 'Thank you for taking the time to share your feedback!'}\n            </p>\n          </div>\n\n          <div className=\"mx-auto max-w-xl\">\n            {!submitted ? (\n              <div className=\"bg-background rounded-xl border p-8 shadow-lg\">\n                {/* Progress Indicator */}\n                <div className=\"mb-8\">\n                  <div className=\"mb-2 flex items-center justify-between\">\n                    <span className=\"text-sm font-medium\">\n                      Step {step} of {totalSteps}\n                    </span>\n                    <span className=\"text-muted-foreground text-sm\">\n                      {Math.round((step / totalSteps) * 100)}% Complete\n                    </span>\n                  </div>\n                  <div className=\"bg-muted h-2 w-full overflow-hidden rounded-full\">\n                    <div\n                      className=\"bg-primary h-full transition-all duration-300\"\n                      style={{ width: `${(step / totalSteps) * 100}%` }}\n                    ></div>\n                  </div>\n                </div>\n\n                {/* Step 1: Overall Satisfaction */}\n                {step === 1 && (\n                  <div className=\"space-y-6\">\n                    <h2 className=\"text-xl font-semibold\">\n                      Overall Satisfaction\n                    </h2>\n                    <p className=\"text-muted-foreground mb-4\">\n                      How would you rate your overall satisfaction with our\n                      product or service?\n                    </p>\n\n                    <RadioGroup\n                      value={satisfaction}\n                      onValueChange={setSatisfaction}\n                      className=\"space-y-3\"\n                    >\n                      <div className=\"hover:bg-muted flex items-center space-x-2 rounded-lg border p-3 transition-colors\">\n                        <RadioGroupItem\n                          value=\"very_satisfied\"\n                          id=\"very_satisfied\"\n                        />\n                        <Label\n                          htmlFor=\"very_satisfied\"\n                          className=\"flex-1 cursor-pointer\"\n                        >\n                          Very Satisfied\n                        </Label>\n                      </div>\n                      <div className=\"hover:bg-muted flex items-center space-x-2 rounded-lg border p-3 transition-colors\">\n                        <RadioGroupItem value=\"satisfied\" id=\"satisfied\" />\n                        <Label\n                          htmlFor=\"satisfied\"\n                          className=\"flex-1 cursor-pointer\"\n                        >\n                          Satisfied\n                        </Label>\n                      </div>\n                      <div className=\"hover:bg-muted flex items-center space-x-2 rounded-lg border p-3 transition-colors\">\n                        <RadioGroupItem value=\"neutral\" id=\"neutral\" />\n                        <Label\n                          htmlFor=\"neutral\"\n                          className=\"flex-1 cursor-pointer\"\n                        >\n                          Neutral\n                        </Label>\n                      </div>\n                      <div className=\"hover:bg-muted flex items-center space-x-2 rounded-lg border p-3 transition-colors\">\n                        <RadioGroupItem\n                          value=\"dissatisfied\"\n                          id=\"dissatisfied\"\n                        />\n                        <Label\n                          htmlFor=\"dissatisfied\"\n                          className=\"flex-1 cursor-pointer\"\n                        >\n                          Dissatisfied\n                        </Label>\n                      </div>\n                      <div className=\"hover:bg-muted flex items-center space-x-2 rounded-lg border p-3 transition-colors\">\n                        <RadioGroupItem\n                          value=\"very_dissatisfied\"\n                          id=\"very_dissatisfied\"\n                        />\n                        <Label\n                          htmlFor=\"very_dissatisfied\"\n                          className=\"flex-1 cursor-pointer\"\n                        >\n                          Very Dissatisfied\n                        </Label>\n                      </div>\n                    </RadioGroup>\n                  </div>\n                )}\n\n                {/* Step 2: Experience Rating */}\n                {step === 2 && (\n                  <div className=\"space-y-6\">\n                    <h2 className=\"text-xl font-semibold\">\n                      Rate Your Experience\n                    </h2>\n                    <p className=\"text-muted-foreground mb-4\">\n                      How would you rate your experience using our platform?\n                    </p>\n\n                    <div className=\"space-y-6\">\n                      <div className=\"flex justify-center\">\n                        <div className=\"flex gap-1\">\n                          {[1, 2, 3, 4, 5].map((rating) => (\n                            <button\n                              key={rating}\n                              type=\"button\"\n                              onClick={() => setExperienceRating(rating)}\n                              className=\"relative p-1\"\n                            >\n                              <Star\n                                className={`h-10 w-10 ${\n                                  rating <= (experienceRating || 0)\n                                    ? 'fill-yellow-400 text-yellow-400'\n                                    : 'fill-muted text-muted'\n                                }`}\n                              />\n                              <span className=\"sr-only\">{rating} stars</span>\n                            </button>\n                          ))}\n                        </div>\n                      </div>\n\n                      <div className=\"text-muted-foreground text-center text-sm\">\n                        {experienceRating === 1 && 'Poor'}\n                        {experienceRating === 2 && 'Fair'}\n                        {experienceRating === 3 && 'Good'}\n                        {experienceRating === 4 && 'Very Good'}\n                        {experienceRating === 5 && 'Excellent'}\n                      </div>\n\n                      <div>\n                        <Label htmlFor=\"usedFeatures\" className=\"mb-2\">\n                          Which features do you use most?\n                        </Label>\n                        <Select>\n                          <SelectTrigger id=\"usedFeatures\">\n                            <SelectValue placeholder=\"Select features\" />\n                          </SelectTrigger>\n                          <SelectContent>\n                            <SelectItem value=\"dashboard\">Dashboard</SelectItem>\n                            <SelectItem value=\"reporting\">Reporting</SelectItem>\n                            <SelectItem value=\"analytics\">Analytics</SelectItem>\n                            <SelectItem value=\"collaboration\">\n                              Collaboration\n                            </SelectItem>\n                            <SelectItem value=\"automation\">\n                              Automation\n                            </SelectItem>\n                          </SelectContent>\n                        </Select>\n                      </div>\n                    </div>\n                  </div>\n                )}\n\n                {/* Step 3: Comments and Suggestions */}\n                {step === 3 && (\n                  <div className=\"space-y-6\">\n                    <h2 className=\"text-xl font-semibold\">\n                      Additional Comments\n                    </h2>\n                    <p className=\"text-muted-foreground mb-4\">\n                      Please share any additional feedback or suggestions for\n                      improvement.\n                    </p>\n\n                    <div className=\"space-y-4\">\n                      <div>\n                        <Label htmlFor=\"improvement\" className=\"mb-2\">\n                          What could we improve?\n                        </Label>\n                        <Textarea\n                          id=\"improvement\"\n                          placeholder=\"Your suggestions here...\"\n                          rows={4}\n                        />\n                      </div>\n\n                      <div>\n                        <Label htmlFor=\"favorite\" className=\"mb-2\">\n                          What do you like most about our product?\n                        </Label>\n                        <Textarea\n                          id=\"favorite\"\n                          placeholder=\"Your feedback here...\"\n                          rows={4}\n                        />\n                      </div>\n\n                      <div>\n                        <Label htmlFor=\"referralLikelihood\" className=\"mb-2\">\n                          How likely are you to recommend us?\n                        </Label>\n                        <Select>\n                          <SelectTrigger id=\"referralLikelihood\">\n                            <SelectValue placeholder=\"Select likelihood\" />\n                          </SelectTrigger>\n                          <SelectContent>\n                            <SelectItem value=\"very_likely\">\n                              Very Likely\n                            </SelectItem>\n                            <SelectItem value=\"likely\">Likely</SelectItem>\n                            <SelectItem value=\"neutral\">Neutral</SelectItem>\n                            <SelectItem value=\"unlikely\">Unlikely</SelectItem>\n                            <SelectItem value=\"very_unlikely\">\n                              Very Unlikely\n                            </SelectItem>\n                          </SelectContent>\n                        </Select>\n                      </div>\n                    </div>\n                  </div>\n                )}\n\n                {/* Navigation Buttons */}\n                <div className=\"mt-8 flex justify-between border-t pt-4\">\n                  <Button\n                    variant=\"outline\"\n                    onClick={handleBack}\n                    disabled={step === 1}\n                  >\n                    Back\n                  </Button>\n                  <Button\n                    onClick={handleNext}\n                    disabled={\n                      (step === 1 && !satisfaction) ||\n                      (step === 2 && !experienceRating)\n                    }\n                  >\n                    {step === totalSteps ? 'Submit Feedback' : 'Continue'}\n                  </Button>\n                </div>\n              </div>\n            ) : (\n              <div className=\"bg-background rounded-xl border p-8 text-center shadow-lg\">\n                <div className=\"mb-6\">\n                  <div className=\"mx-auto flex h-20 w-20 items-center justify-center rounded-full bg-green-100\">\n                    <svg\n                      xmlns=\"http://www.w3.org/2000/svg\"\n                      className=\"h-10 w-10 text-green-600\"\n                      fill=\"none\"\n                      viewBox=\"0 0 24 24\"\n                      stroke=\"currentColor\"\n                    >\n                      <path\n                        strokeLinecap=\"round\"\n                        strokeLinejoin=\"round\"\n                        strokeWidth={2}\n                        d=\"M5 13l4 4L19 7\"\n                      />\n                    </svg>\n                  </div>\n                </div>\n\n                <h2 className=\"mb-2 text-2xl font-bold\">Thank You!</h2>\n                <p className=\"text-muted-foreground mb-6\">\n                  Your feedback is invaluable to us. We appreciate you taking\n                  the time to share your thoughts.\n                </p>\n\n                <div className=\"mb-8 flex items-center justify-center gap-6\">\n                  <div className=\"text-center\">\n                    <div className=\"text-primary text-3xl font-bold\">97%</div>\n                    <div className=\"text-muted-foreground text-sm\">\n                      Response Rate\n                    </div>\n                  </div>\n                  <div className=\"text-center\">\n                    <div className=\"text-primary text-3xl font-bold\">4.8/5</div>\n                    <div className=\"text-muted-foreground text-sm\">\n                      Average Rating\n                    </div>\n                  </div>\n                </div>\n\n                <div className=\"flex flex-col gap-4 sm:flex-row\">\n                  <Button className=\"flex-1\" variant=\"outline\">\n                    Take Another Survey\n                  </Button>\n                  <Button className=\"flex-1\">Return to Dashboard</Button>\n                </div>\n              </div>\n            )}\n          </div>\n\n          <div className=\"text-muted-foreground mt-8 text-center text-sm\">\n            <p>\n              We take your privacy seriously.{' '}\n              <a href=\"#\" className=\"text-primary hover:underline\">\n                Privacy Policy\n              </a>\n            </p>\n          </div>\n        </div>\n      </div>\n      {/* End Hero */}\n    </>\n  );\n}\n","type":"registry:component","target":"components/blocks/marketing/hero-forms/feedback-survey-form.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/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/textarea.tsx","content":"import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Textarea({ className, ...props }: React.ComponentProps<\"textarea\">) {\n  return (\n    <textarea\n      data-slot=\"textarea\"\n      className={cn(\n        \"flex field-sizing-content min-h-16 w-full rounded-md border border-input bg-transparent px-2.5 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none placeholder:text-muted-foreground 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 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 { Textarea }\n","type":"registry:ui","target":"components/ui/textarea.tsx"},{"path":"components/ui/radio-group.tsx","content":"\"use client\"\n\nimport * as React from \"react\"\nimport { RadioGroup as RadioGroupPrimitive } from \"radix-ui\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction RadioGroup({\n  className,\n  ...props\n}: React.ComponentProps<typeof RadioGroupPrimitive.Root>) {\n  return (\n    <RadioGroupPrimitive.Root\n      data-slot=\"radio-group\"\n      className={cn(\"grid w-full gap-3\", className)}\n      {...props}\n    />\n  )\n}\n\nfunction RadioGroupItem({\n  className,\n  ...props\n}: React.ComponentProps<typeof RadioGroupPrimitive.Item>) {\n  return (\n    <RadioGroupPrimitive.Item\n      data-slot=\"radio-group-item\"\n      className={cn(\n        \"group/radio-group-item peer relative flex aspect-square size-4 shrink-0 rounded-full border border-input 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 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      <RadioGroupPrimitive.Indicator\n        data-slot=\"radio-group-indicator\"\n        className=\"flex size-4 items-center justify-center\"\n      >\n        <span className=\"absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 rounded-full bg-primary-foreground\" />\n      </RadioGroupPrimitive.Indicator>\n    </RadioGroupPrimitive.Item>\n  )\n}\n\nexport { RadioGroup, RadioGroupItem }\n","type":"registry:ui","target":"components/ui/radio-group.tsx"},{"path":"components/ui/select.tsx","content":"\"use client\"\n\nimport * as React from \"react\"\nimport { Select as SelectPrimitive } from \"radix-ui\"\n\nimport { cn } from \"@/lib/utils\"\nimport { ChevronDownIcon, CheckIcon, ChevronUpIcon } from \"lucide-react\"\n\nfunction Select({\n  ...props\n}: React.ComponentProps<typeof SelectPrimitive.Root>) {\n  return <SelectPrimitive.Root data-slot=\"select\" {...props} />\n}\n\nfunction SelectGroup({\n  className,\n  ...props\n}: React.ComponentProps<typeof SelectPrimitive.Group>) {\n  return (\n    <SelectPrimitive.Group\n      data-slot=\"select-group\"\n      className={cn(\"scroll-my-1 p-1\", className)}\n      {...props}\n    />\n  )\n}\n\nfunction SelectValue({\n  ...props\n}: React.ComponentProps<typeof SelectPrimitive.Value>) {\n  return <SelectPrimitive.Value data-slot=\"select-value\" {...props} />\n}\n\nfunction SelectTrigger({\n  className,\n  size = \"default\",\n  children,\n  ...props\n}: React.ComponentProps<typeof SelectPrimitive.Trigger> & {\n  size?: \"sm\" | \"default\"\n}) {\n  return (\n    <SelectPrimitive.Trigger\n      data-slot=\"select-trigger\"\n      data-size={size}\n      className={cn(\n        \"flex w-fit items-center justify-between gap-1.5 rounded-md border border-input bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none 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 data-placeholder:text-muted-foreground data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 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        className\n      )}\n      {...props}\n    >\n      {children}\n      <SelectPrimitive.Icon asChild>\n        <ChevronDownIcon className=\"pointer-events-none size-4 text-muted-foreground\" />\n      </SelectPrimitive.Icon>\n    </SelectPrimitive.Trigger>\n  )\n}\n\nfunction SelectContent({\n  className,\n  children,\n  position = \"item-aligned\",\n  align = \"center\",\n  ...props\n}: React.ComponentProps<typeof SelectPrimitive.Content>) {\n  return (\n    <SelectPrimitive.Portal>\n      <SelectPrimitive.Content\n        data-slot=\"select-content\"\n        data-align-trigger={position === \"item-aligned\"}\n        className={cn(\"relative z-50 max-h-(--radix-select-content-available-height) min-w-36 origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95\", position ===\"popper\"&&\"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1\", className )}\n        position={position}\n        align={align}\n        {...props}\n      >\n        <SelectScrollUpButton />\n        <SelectPrimitive.Viewport\n          data-position={position}\n          className={cn(\n            \"data-[position=popper]:h-(--radix-select-trigger-height) data-[position=popper]:w-full data-[position=popper]:min-w-(--radix-select-trigger-width)\",\n            position === \"popper\" && \"\"\n          )}\n        >\n          {children}\n        </SelectPrimitive.Viewport>\n        <SelectScrollDownButton />\n      </SelectPrimitive.Content>\n    </SelectPrimitive.Portal>\n  )\n}\n\nfunction SelectLabel({\n  className,\n  ...props\n}: React.ComponentProps<typeof SelectPrimitive.Label>) {\n  return (\n    <SelectPrimitive.Label\n      data-slot=\"select-label\"\n      className={cn(\"px-2 py-1.5 text-xs text-muted-foreground\", className)}\n      {...props}\n    />\n  )\n}\n\nfunction SelectItem({\n  className,\n  children,\n  ...props\n}: React.ComponentProps<typeof SelectPrimitive.Item>) {\n  return (\n    <SelectPrimitive.Item\n      data-slot=\"select-item\"\n      className={cn(\n        \"relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2\",\n        className\n      )}\n      {...props}\n    >\n      <span className=\"pointer-events-none absolute right-2 flex size-4 items-center justify-center\">\n        <SelectPrimitive.ItemIndicator>\n          <CheckIcon className=\"pointer-events-none\" />\n        </SelectPrimitive.ItemIndicator>\n      </span>\n      <SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>\n    </SelectPrimitive.Item>\n  )\n}\n\nfunction SelectSeparator({\n  className,\n  ...props\n}: React.ComponentProps<typeof SelectPrimitive.Separator>) {\n  return (\n    <SelectPrimitive.Separator\n      data-slot=\"select-separator\"\n      className={cn(\"pointer-events-none -mx-1 my-1 h-px bg-border\", className)}\n      {...props}\n    />\n  )\n}\n\nfunction SelectScrollUpButton({\n  className,\n  ...props\n}: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>) {\n  return (\n    <SelectPrimitive.ScrollUpButton\n      data-slot=\"select-scroll-up-button\"\n      className={cn(\n        \"z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4\",\n        className\n      )}\n      {...props}\n    >\n      <ChevronUpIcon\n      />\n    </SelectPrimitive.ScrollUpButton>\n  )\n}\n\nfunction SelectScrollDownButton({\n  className,\n  ...props\n}: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>) {\n  return (\n    <SelectPrimitive.ScrollDownButton\n      data-slot=\"select-scroll-down-button\"\n      className={cn(\n        \"z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4\",\n        className\n      )}\n      {...props}\n    >\n      <ChevronDownIcon\n      />\n    </SelectPrimitive.ScrollDownButton>\n  )\n}\n\nexport {\n  Select,\n  SelectContent,\n  SelectGroup,\n  SelectItem,\n  SelectLabel,\n  SelectScrollDownButton,\n  SelectScrollUpButton,\n  SelectSeparator,\n  SelectTrigger,\n  SelectValue,\n}\n","type":"registry:ui","target":"components/ui/select.tsx"}],"description":"A hero with a feedback survey form using ratings and short answers. Gathers visitor opinions on a product or service in a single focused view.","dependencies":["class-variance-authority","lucide-react","radix-ui"]}