{
  "$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-buttons",
    "@videojs/_style-theme"
  ],
  "files": [
    {
      "path": "ui/files/button/button.tsx",
      "content": "import '../styles/buttons.css';\nimport '../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 <button className={cn('media-button', className)} {...props} />;\n}\n",
      "type": "registry:component",
      "target": "@components/videojs/ui/button.tsx"
    }
  ],
  "meta": {
    "framework": "react",
    "style": "css",
    "role": "component",
    "styling": "css",
    "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"
}