{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "button",
  "title": "Button",
  "description": "The shared styled button used by media controls.",
  "dependencies": [
    "react"
  ],
  "registryDependencies": [
    "@videojs/_resolve-class-name",
    "@videojs/_style-theme"
  ],
  "files": [
    {
      "path": "ui/files/button/button.tsx",
      "content": "import '../styles/theme.css';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '@/components/videojs/lib/resolve-class-name';\n\n/** Shared button carrying the base interactive styles used by media controls. */\nexport type ButtonProps = ComponentProps<'button'>;\n\nexport function Button({ className, ...props }: ButtonProps) {\n  return (\n    <button\n      className={cn(\n        'grid size-media-control min-h-0 shrink-0 touch-manipulation select-none place-items-center rounded-media-control border-0 bg-transparent p-0 text-center text-inherit [corner-shape:var(--media-control-corner-shape)] [text-shadow:inherit] cursor-pointer focus-ring-media will-change-[scale] duration-media-base ease-out [transition-property:background-color,color,outline-offset,scale] media-highlighted:highlight-media focus-visible:outline-media-ring focus-visible:outline-offset-2 not-aria-disabled:active:scale-[0.97] motion-reduce:scale-100 motion-reduce:will-change-auto motion-reduce:[transition-property:background-color,color] aria-disabled:cursor-not-allowed aria-disabled:opacity-50',\n        className\n      )}\n      {...props}\n    />\n  );\n}\n",
      "type": "registry:component",
      "target": "@components/videojs/ui/button.tsx"
    }
  ],
  "meta": {
    "framework": "react",
    "style": "tailwind",
    "role": "component",
    "styling": "tailwind",
    "public": true
  },
  "docs": "Installs `@/components/videojs/ui/button.tsx` for use inside a compatible Video.js Player or Skin.\n\n```tsx\nimport { Button } from '@/components/videojs/ui/button';\n\nexport function Controls() {\n  return <Button />;\n}\n```",
  "categories": [
    "media",
    "buttons"
  ],
  "type": "registry:ui"
}