{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "feature-highlights",
  "dependencies": [
    "motion"
  ],
  "devDependencies": [],
  "registryDependencies": [],
  "files": [
    {
      "path": "../../packages/blocks/src/feature-section/feature-highlights.tsx",
      "content": "'use client'\r\nimport React from 'react'\r\nimport { Layout, Box, BookOpen, ArrowRight } from 'lucide-react'\r\n\r\nconst darkFeatures = [\r\n  {\r\n    icon: Layout,\r\n    title: 'Pixel Perfect Layout',\r\n    desc: 'All the sections are perfectly designed with pixel perfect grids and layouts. Everything you see is responsive for all devices.',\r\n  },\r\n  {\r\n    icon: Box,\r\n    title: 'Editable Components',\r\n    desc: 'With the help of variables, everything is under your control. Just click the component and start changing everything but not anything.',\r\n  },\r\n  {\r\n    icon: BookOpen,\r\n    title: 'Scalable Library',\r\n    desc: 'Since each component is custom made, you can easily scale your library with new components, icons, colors, etc.',\r\n  },\r\n]\r\n\r\nexport const FeatureHighlights = () => {\r\n  return (\r\n    <section className=\"bg-black py-32 px-6 min-h-screen font-dmSans\">\r\n      <div className=\"max-w-7xl mx-auto\">\r\n        <span className=\"text-pink-500 text-sm font-bold uppercase tracking-widest block mb-6\">\r\n          Key Highlights\r\n        </span>\r\n        <h2 className=\"text-white text-5xl font-bold mb-20 text-balance tracking-tight\">\r\n          Why Toast only?\r\n        </h2>\r\n\r\n        <div className=\"grid grid-cols-1 md:grid-cols-3 gap-8\">\r\n          {darkFeatures.map((f, i) => (\r\n            <div\r\n              key={i}\r\n              className=\"group p-8 border border-neutral-800 rounded-xl hover:bg-neutral-900 bg-neutral-950 transition-all duration-300\"\r\n            >\r\n              <div className=\"size-10 flex items-center justify-center mb-10 text-pink-500\">\r\n                <f.icon className=\"size-8\" />\r\n              </div>\r\n              <h3 className=\"text-2xl font-bold text-white mb-4 tracking-tight\">\r\n                {f.title}\r\n              </h3>\r\n              <p className=\"text-slate-400 leading-relaxed mb-10 text-pretty\">\r\n                {f.desc}\r\n              </p>\r\n              <button className=\"flex items-center gap-2 text-slate-300 group-hover:text-pink-500 transition-colors font-medium\">\r\n                Learn more <ArrowRight className=\"size-4\" />\r\n              </button>\r\n            </div>\r\n          ))}\r\n        </div>\r\n      </div>\r\n    </section>\r\n  )\r\n}\r\n",
      "type": "registry:block"
    },
    {
      "path": "./components/ui/timeline-animation.tsx",
      "content": "import type { Variants } from 'motion/react';\nimport { type HTMLMotionProps, motion, useInView } from 'motion/react';\nimport type React from 'react';\n\ntype TimelineContentProps<T extends keyof HTMLElementTagNameMap> = {\n  children?: React.ReactNode;\n  animationNum: number;\n  className?: string;\n  timelineRef: React.RefObject<HTMLElement | null>;\n  as?: T;\n  customVariants?: Variants;\n  once?: boolean;\n} & HTMLMotionProps<T>;\n\nexport const TimelineAnimation = <T extends keyof HTMLElementTagNameMap = 'div'>({\n  children,\n  animationNum,\n  timelineRef,\n  className,\n  as,\n  customVariants,\n  once = true,\n  ...props\n}: TimelineContentProps<T>) => {\n  const defaultSequenceVariants = {\n    visible: (i: number) => ({\n      filter: 'blur(0px)',\n      y: 0,\n      opacity: 1,\n      transition: {\n        delay: i * 0.5,\n        duration: 0.5,\n      },\n    }),\n    hidden: {\n      filter: 'blur(20px)',\n      y: 0,\n      opacity: 0,\n    },\n  };\n\n  const sequenceVariants = customVariants || defaultSequenceVariants;\n\n  const isInView = useInView(timelineRef, {\n    once,\n  });\n\n  const MotionComponent = motion[as || 'div'] as React.ElementType;\n\n  return (\n    <MotionComponent\n      initial='hidden'\n      animate={isInView ? 'visible' : 'hidden'}\n      custom={animationNum}\n      variants={sequenceVariants}\n      className={className}\n      {...props}\n    >\n      {children}\n    </MotionComponent>\n  );\n};\n",
      "type": "registry:component"
    }
  ],
  "type": "registry:block"
}