{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "text-shimmer-animation-on-hover",
  "type": "registry:block",
  "title": "Text Shimmer Animation",
  "files": [
    {
      "path": "components/uui/text-shimmer-animation-on-hover/example.tsx",
      "content": "'use client';\r\n\r\nimport { Button } from '@/components/ui/button';\r\nimport { TextShimmer } from './text-shimmer';\r\n\r\nconst features = ['Unlimited API requests', 'Priority inference queue', '128K context window', 'Dedicated support'];\r\n\r\nexport function PricingCard() {\r\n  return (\r\n    <div className=\"h-svh flex items-center justify-center px-4\">\r\n      <article className=\"bg-card w-full mx-auto md:max-w-sm p-6\">\r\n        <header>\r\n          <TextShimmer className=\"font-medium\">Ultra Tier</TextShimmer>\r\n        </header>\r\n\r\n        <div className=\"mt-6\">\r\n          <h1 className=\"text-lg font-medium text-muted-foreground\">Usage-based</h1>\r\n          <div className=\"mt-2 flex items-baseline gap-1.5\">\r\n            <span className=\"text-xl font-medium\">$0.01</span>\r\n            <span className=\"text-sm text-muted-foreground\">/ 1K tokens</span>\r\n          </div>\r\n          <p className=\"mt-2 text-sm text-muted-foreground\">Pay only for what you use. No monthly minimum.</p>\r\n        </div>\r\n\r\n        <ul className=\"mt-6 space-y-3\">\r\n          {features.map(feature => (\r\n            <li key={feature} className=\"flex items-center gap-2 text-sm\">\r\n              <span className=\"size-2 bg-primary\" />\r\n              <span>{feature}</span>\r\n            </li>\r\n          ))}\r\n        </ul>\r\n        <footer className=\"mt-6\">\r\n          <Button variant=\"secondary\" className=\"bg-muted w-full h-11 text-sm\">\r\n            <TextShimmer className=\"delay-1500\">Get Started Now</TextShimmer>\r\n          </Button>\r\n        </footer>\r\n      </article>\r\n    </div>\r\n  );\r\n}\r\n",
      "type": "registry:block",
      "target": "@components/uui/text-shimmer-animation/example.tsx"
    },
    {
      "path": "components/uui/text-shimmer-animation-on-hover/text-shimmer.tsx",
      "content": "import { cn } from '@/lib/utils';\nimport * as React from 'react';\n\nexport const TextShimmer = ({ children, className }: { children: React.ReactNode; className?: string }) => {\n  return (\n    <span\n      className={cn(\n        'bg-[linear-gradient(90deg,var(--foreground)_0%,var(--foreground)_var(--highlight-x),#f98dbe_calc(var(--highlight-x)+8%),#edb541_calc(var(--highlight-x)+28%),#54c546_calc(var(--highlight-x)+48%),var(--foreground)_calc(var(--highlight-x)+56%),var(--foreground)_100%)] animate-shimmer [-webkit-text-fill-color:transparent] bg-clip-text inline-block',\n        className,\n      )}\n    >\n      {children}\n    </span>\n  );\n};\n",
      "type": "registry:block",
      "target": "@components/uui/text-shimmer-animation/text-shimmer.tsx"
    }
  ],
  "cssVars": {
    "theme": {
      "--animate-shimmer": "text-shimmer 2s cubic-bezier(.4, 0, .2, 1) infinite"
    }
  },
  "css": {
    "@property --highlight-x": {
      "syntax": "<percentage>",
      "inherits": false,
      "initial-value": "-56%"
    },
    "@keyframes text-shimmer": {
      "0%": {
        "--highlight-x": "-56%"
      },
      "100%": {
        "--highlight-x": "100%"
      }
    }
  }
}