{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "sparkles-title4",
  "dependencies": [],
  "devDependencies": [],
  "registryDependencies": [],
  "files": [
    {
      "path": "./registry/components/external/sparkles-title4.txt",
      "content": "import React from 'react';\r\nimport { Sparkles } from '@/components/sparkles';\r\n\r\nfunction index() {\r\n  return (\r\n    <>\r\n      <div className='min-h-screen w-screen overflow-hidden bg-black'>\r\n        <div className='mx-auto pt-32 pb-4 w-screen max-w-2xl relative z-10'>\r\n          <div className='relative h-full w-full bg-white'>\r\n            <div className='absolute bottom-0 left-0 right-0 top-0 bg-[linear-gradient(to_right,#4f4f4f2e_1px,transparent_1px),linear-gradient(to_bottom,#4f4f4f2e_1px,transparent_1px)] bg-size-[14px_24px] mask-[radial-gradient(ellipse_80%_50%_at_50%_0%,#000_70%,transparent_110%)]'></div>\r\n          </div>\r\n          <div className=' w-16 h-16 mx-auto bg-white rounded-lg before:absolute relative before:w-full before:h-full before:bg-white/40 before:rounded-lg before:-top-2 before:-left-2'></div>\r\n          <article className='text-white w-3/4 mx-auto block text-center pt-4 '>\r\n            It is a modern and minimalist UI component library designed to\r\n            simplify the process of building responsive and visually appealing\r\n            web interfaces.\r\n          </article>\r\n        </div>\r\n        <div className='relative h-64 w-screen overflow-hidden '>\r\n          <div className='absolute inset-x-20 top-0 bg-linear-to-r from-transparent via-neutral-500 to-transparent h-[2px] w-2/4 mx-auto blur-xs' />\r\n          <div className='absolute inset-x-20 top-0 bg-linear-to-r from-transparent via-neutral-400 to-transparent h-px w-2/4 mx-auto' />\r\n          <div className='absolute inset-x-20 top-0 bg-linear-to-r from-transparent via-neutral-50 to-transparent h-px w-1/4 mx-auto' />\r\n\r\n          <Sparkles\r\n            density={1200}\r\n            mousemove={true}\r\n            className='absolute inset-x-0 -mt-24 top-0 h-full w-full mask-[radial-gradient(50%_50%,white,transparent_55%)]'\r\n          />\r\n        </div>\r\n      </div>\r\n    </>\r\n  );\r\n}\r\n\r\nexport default index;",
      "type": "registry:component"
    },
    {
      "path": "./registry/components/external/sparkles.txt",
      "content": "'use client';\r\n\r\nimport { useEffect, useId, useState } from 'react';\r\nimport Particles, { initParticlesEngine } from '@tsparticles/react';\r\nimport { loadSlim } from '@tsparticles/slim';\r\n\r\ninterface SparklesProps {\r\n  className?: string;\r\n  size?: number;\r\n  minSize?: number | null;\r\n  density?: number;\r\n  speed?: number;\r\n  minSpeed?: number | null;\r\n  opacity?: number;\r\n  direction?: string;\r\n  opacitySpeed?: number;\r\n  minOpacity?: number | null;\r\n  color?: string;\r\n  mousemove?: boolean;\r\n  hover?: boolean;\r\n  background?: string;\r\n  options?: Record<string, any>; // Adjust type as needed based on `options` structure\r\n}\r\n\r\nexport function Sparkles({\r\n  className,\r\n  size = 1.2,\r\n  minSize = null,\r\n  density = 800,\r\n  speed = 1.5,\r\n  minSpeed = null,\r\n  opacity = 1,\r\n  direction = '',\r\n  opacitySpeed = 3,\r\n  minOpacity = null,\r\n  color = '#ffffff',\r\n  mousemove = false,\r\n  hover = false,\r\n  background = 'transparent',\r\n  options = {},\r\n}: SparklesProps) {\r\n  const [isReady, setIsReady] = useState(false);\r\n\r\n  useEffect(() => {\r\n    initParticlesEngine(async (engine) => {\r\n      await loadSlim(engine);\r\n    }).then(() => {\r\n      setIsReady(true);\r\n    });\r\n  }, []);\r\n\r\n  const id = useId();\r\n  const defaultOptions = {\r\n    background: {\r\n      color: {\r\n        value: background,\r\n      },\r\n    },\r\n    fullScreen: {\r\n      enable: false,\r\n      zIndex: 1,\r\n    },\r\n    fpsLimit: 300,\r\n\r\n    interactivity: {\r\n      events: {\r\n        onClick: {\r\n          enable: true,\r\n          mode: 'push',\r\n        },\r\n        onHover: {\r\n          enable: hover,\r\n          mode: 'grab',\r\n          parallax: {\r\n            enable: mousemove,\r\n            force: 60,\r\n            smooth: 10,\r\n          },\r\n        },\r\n        resize: true as any,\r\n      },\r\n      modes: {\r\n        push: {\r\n          quantity: 4,\r\n        },\r\n        repulse: {\r\n          distance: 200,\r\n          duration: 0.4,\r\n        },\r\n      },\r\n    },\r\n    particles: {\r\n      color: {\r\n        value: color,\r\n      },\r\n      move: {\r\n        enable: true,\r\n        direction,\r\n        speed: {\r\n          min: minSpeed || speed / 130,\r\n          max: speed,\r\n        },\r\n        straight: true,\r\n      },\r\n      collisions: {\r\n        absorb: {\r\n          speed: 2,\r\n        },\r\n        bounce: {\r\n          horizontal: {\r\n            value: 1,\r\n          },\r\n          vertical: {\r\n            value: 1,\r\n          },\r\n        },\r\n        enable: false,\r\n        maxSpeed: 50,\r\n        mode: 'bounce',\r\n        overlap: {\r\n          enable: true,\r\n          retries: 0,\r\n        },\r\n      },\r\n      number: {\r\n        value: density,\r\n      },\r\n      opacity: {\r\n        value: {\r\n          min: minOpacity || opacity / 10,\r\n          max: opacity,\r\n        },\r\n        animation: {\r\n          enable: true,\r\n          sync: false,\r\n          speed: opacitySpeed,\r\n        },\r\n      },\r\n      size: {\r\n        value: {\r\n          min: minSize || size / 1.5,\r\n          max: size,\r\n        },\r\n      },\r\n    },\r\n    detectRetina: true,\r\n  };\r\n  return (\r\n    isReady && (\r\n      <Particles id={id} \r\n      // @ts-nocheck\r\n      options={defaultOptions} className={className} />\r\n    )\r\n  );\r\n}",
      "type": "registry:component"
    }
  ],
  "type": "registry:component"
}