{
  "title": "AI Suggestions",
  "description": "Get smart, real-time AI recommendations to refine and improve your work",
  "name": "motion-ai-suggestions",
  "dependencies": [
    "motion"
  ],
  "registryDependencies": [
    "scroll-area",
    "button"
  ],
  "type": "registry:ui",
  "files": [
    {
      "path": "components/paceui/motion/ai-suggestions.tsx",
      "type": "registry:ui",
      "content": "import { type ComponentProps } from \"react\";\n\nimport { motion } from \"motion/react\";\n\nimport { cn } from \"@/lib/utils\";\n\nimport { Button } from \"@/components/ui/button\";\nimport { ScrollArea, ScrollBar } from \"@/components/ui/scroll-area\";\n\nexport type AISuggestionsProps = ComponentProps<typeof ScrollArea> & {\n    show?: boolean;\n};\n\nexport const AISuggestions = ({ className, children, show = true, ...props }: AISuggestionsProps) => {\n    return (\n        <motion.div\n            initial={false}\n            animate={\n                show\n                    ? {\n                          height: \"auto\",\n                          opacity: 1,\n                          filter: \"blur(0px)\",\n                          pointerEvents: \"auto\",\n                      }\n                    : {\n                          height: 0,\n                          opacity: 0,\n                          filter: \"blur(8px)\",\n                          pointerEvents: \"none\",\n                      }\n            }\n            transition={{\n                duration: 0.5,\n                ease: show ? \"easeOut\" : \"easeIn\",\n            }}\n            className=\"w-full overflow-hidden\">\n            <ScrollArea className={cn(\"relative w-full overflow-x-auto whitespace-nowrap\", className)} {...props}>\n                <div className=\"relative flex w-max flex-nowrap items-center gap-2 px-3\">{children}</div>\n                <div className=\"from-card pointer-events-none absolute inset-y-0 start-0 z-10 w-8 bg-linear-to-r to-transparent\"></div>\n                <div className=\"from-card pointer-events-none absolute inset-y-0 end-0 z-10 w-8 bg-linear-to-l to-transparent\"></div>\n                <ScrollBar className=\"hidden\" orientation=\"horizontal\" />\n            </ScrollArea>\n        </motion.div>\n    );\n};\n\nexport type AISuggestionProps = ComponentProps<typeof Button> & {\n    suggestion?: string;\n};\n\nexport const AISuggestion = ({\n    suggestion,\n    variant = \"outline\",\n    size = \"sm\",\n    children,\n    ...props\n}: AISuggestionProps) => {\n    return (\n        <Button type=\"button\" size={size} variant={variant} {...props}>\n            {children || suggestion}\n        </Button>\n    );\n};\n"
    }
  ],
  "mcp": {
    "description": "Provides refined UI interactions and accessible controls. Get smart, real-time AI recommendations to refine and improve your work Configurable props include: ComponentProps<typeof ScrollArea> & {; show?: boolean;. Relies on motion, scroll-area, button. Optimal for building reusable interface elements and user input flows.",
    "tags": [
      "component",
      "motion",
      "animation"
    ]
  }
}