{ "name": "pulsating-button", "type": "registry:ui", "dependencies": [], "registryDependencies": [], "description": "A button with a pulsating glow effect.", "files": [ { "path": "components/ui/pulsating-button.tsx", "content": "\"use client\"\n\nimport React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\ninterface PulsatingButtonProps\n extends React.ButtonHTMLAttributes {\n pulseColor?: string\n duration?: string\n}\n\nconst PulsatingButton = React.forwardRef<\n HTMLButtonElement,\n PulsatingButtonProps\n>(\n (\n {\n className,\n children,\n pulseColor = \"#0096ff\",\n duration = \"1.5s\",\n ...props\n },\n ref,\n ) => {\n return (\n \n
{children}
\n
\n \n )\n },\n)\n\nPulsatingButton.displayName = \"PulsatingButton\"\n\nexport { PulsatingButton }\n", "type": "registry:ui" } ], "tailwind": { "config": { "theme": { "extend": { "animation": { "pulse": "pulse var(--duration) ease-out infinite" }, "keyframes": { "pulse": { "0%": { "box-shadow": "0 0 0 0 var(--pulse-color)" }, "100%": { "box-shadow": "0 0 0 8px rgba(0, 0, 0, 0)" } } } } } } } }