{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "loader-dots-pulse",
  "type": "registry:component",
  "title": "Loader Dots Pulse",
  "description": "Three dots swell and brighten one after another, with an optional text label in front, for inline waiting states.",
  "author": "Hyperblur <hello@hyperblur.dev>",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "loaders",
    "loader",
    "dots",
    "pulse",
    "typing",
    "inline",
    "css"
  ],
  "docs": "https://hyperblur.dev/effects/loader-dots-pulse",
  "files": [
    {
      "path": "registry/hyperblur/loader-dots-pulse.tsx",
      "type": "registry:component",
      "target": "components/hyperblur/loader-dots-pulse.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nexport interface LoaderDotsPulseProps extends Omit<React.HTMLAttributes<HTMLDivElement>, \"children\"> {\n  size?: number;\n  color?: string;\n  accent?: string;\n  speed?: number;\n  label?: string;\n}\n\nconst css = `\n@keyframes hb-zz9-beat {\n  0%, 70%, 100% {\n    transform: scale(0.55);\n    opacity: 0.28;\n    background-color: var(--hb-zz9-c);\n    box-shadow: 0 0 0 0 transparent;\n  }\n  35% {\n    transform: scale(1);\n    opacity: 1;\n    background-color: var(--hb-zz9-a);\n    box-shadow: 0 0 calc(var(--hb-zz9-s) * 1.1) color-mix(in srgb, var(--hb-zz9-a) 55%, transparent);\n  }\n}\n.hb-zz9 {\n  box-sizing: border-box;\n  display: inline-flex;\n  align-items: center;\n  gap: 0.75em;\n  font-family: inherit;\n  color: inherit;\n}\n.hb-zz9 *, .hb-zz9 *::before, .hb-zz9 *::after { box-sizing: border-box; }\n.hb-zz9-sr {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  margin: -1px;\n  padding: 0;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border: 0;\n}\n.hb-zz9-l { font-size: 0.9375em; line-height: 1.3; white-space: nowrap; }\n.hb-zz9-r {\n  display: inline-flex;\n  align-items: center;\n  gap: calc(var(--hb-zz9-s) * 0.6);\n}\n.hb-zz9-d {\n  flex: none;\n  width: var(--hb-zz9-s);\n  height: var(--hb-zz9-s);\n  border-radius: 50%;\n  background-color: var(--hb-zz9-c);\n  transform: scale(0.55);\n  opacity: 0.28;\n  animation: hb-zz9-beat var(--hb-zz9-t) ease-in-out infinite;\n  animation-delay: calc(var(--hb-zz9-i) * var(--hb-zz9-t) * 0.16);\n}\n@media (prefers-reduced-motion: reduce) {\n  .hb-zz9-d { animation: none; opacity: 0.75; transform: scale(0.8); }\n}\n`;\n\nexport function LoaderDotsPulse({\n  size = 10,\n  color = \"#3a6fcf\",\n  accent = \"#7fb3ff\",\n  speed = 1.3,\n  label,\n  className = \"\",\n  style,\n  ...rest\n}: LoaderDotsPulseProps) {\n  const vars = {\n    [\"--hb-zz9-s\" as string]: `${size}px`,\n    [\"--hb-zz9-c\" as string]: color,\n    [\"--hb-zz9-a\" as string]: accent,\n    [\"--hb-zz9-t\" as string]: `${Math.max(0.4, speed).toFixed(2)}s`,\n    ...style,\n  } as React.CSSProperties;\n\n  return (\n    <div role=\"status\" {...rest} className={`hb-zz9${className ? ` ${className}` : \"\"}`} style={vars}>\n      <style href=\"hb-loader-dots-pulse\" precedence=\"default\">{css}</style>\n      {label ? null : <span className=\"hb-zz9-sr\">Loading</span>}\n      {label ? <span className=\"hb-zz9-l\">{label}</span> : null}\n      <span className=\"hb-zz9-r\" aria-hidden=\"true\">\n        {[0, 1, 2].map((i) => (\n          <span key={i} className=\"hb-zz9-d\" style={{ [\"--hb-zz9-i\" as string]: i } as React.CSSProperties} />\n        ))}\n      </span>\n    </div>\n  );\n}\n"
    }
  ]
}