{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "wave",
  "files": [
    {
      "path": "registry/components/loading-ui/wave.tsx",
      "content": "import { cn } from \"@/lib/utils\";\n\nconst WAVE_BAR_HEIGHTS = [\"50%\", \"75%\", \"100%\", \"75%\", \"50%\"] as const;\n\nfunction Wave({ className, ...props }: React.ComponentProps<\"span\">) {\n  return (\n    <>\n      <style>{`\n        @keyframes loading-ui-wave {\n          0%,\n          100% {\n            transform: scaleY(1);\n          }\n\n          50% {\n            transform: scaleY(0.6);\n          }\n        }\n      `}</style>\n      <span\n        role=\"status\"\n        className={cn(\"inline-flex items-center gap-[2.5%]\", className)}\n        {...props}\n      >\n        {WAVE_BAR_HEIGHTS.map((height, index) => (\n          <span\n            key={index}\n            aria-hidden=\"true\"\n            className=\"inline-block rounded-full bg-current\"\n            style={{\n              width: \"12.5%\",\n              height,\n              animation:\n                \"loading-ui-wave var(--duration, 1s) ease-in-out infinite\",\n              animationDelay: `calc(var(--delay, 100ms) * ${index})`,\n            }}\n          />\n        ))}\n        <span className=\"sr-only\">Loading</span>\n      </span>\n    </>\n  );\n}\n\nexport { Wave };\n",
      "type": "registry:component",
      "target": ""
    }
  ],
  "type": "registry:component"
}
