{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "surface",
  "title": "Surface",
  "type": "registry:ui",
  "files": [
    {
      "path": "packages/registry-native/components/surface/Surface.tsx",
      "content": "import * as React from 'react'\nimport { View, type ViewProps, type ViewStyle } from 'react-native'\nimport { cn } from '@/lib/utils'\n\nexport interface SurfaceProps extends ViewProps {\n  className?: string\n  elevation?: 0 | 1 | 2\n}\n\nconst elevations: Record<NonNullable<SurfaceProps['elevation']>, ViewStyle> = {\n  0: {},\n  1: {\n    elevation: 1,\n    shadowColor: '#000000',\n    shadowOffset: { width: 0, height: 1 },\n    shadowOpacity: 0.08,\n    shadowRadius: 2,\n  },\n  2: {\n    elevation: 2,\n    shadowColor: '#000000',\n    shadowOffset: { width: 0, height: 2 },\n    shadowOpacity: 0.12,\n    shadowRadius: 4,\n  },\n}\n\nexport const Surface = React.forwardRef<React.ComponentRef<typeof View>, SurfaceProps>(\n  ({ className, elevation = 0, style, ...props }, ref) => (\n    <View ref={ref} {...props} className={cn('rounded-lg bg-card', className)} style={[elevations[elevation], style]} />\n  ),\n)\nSurface.displayName = 'Surface'\n",
      "type": "registry:ui",
      "target": "~/components/ui/surface/Surface.tsx"
    },
    {
      "path": "packages/registry-native/components/surface/index.ts",
      "content": "export * from './Surface'\n",
      "type": "registry:ui",
      "target": "~/components/ui/surface/index.ts"
    }
  ],
  "dependencies": [],
  "devDependencies": [],
  "registryDependencies": [],
  "description": "Themed native surface with optional platform elevation and caller-owned content.",
  "categories": [
    "layout"
  ]
}