{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "card", "type": "registry:ui", "dependencies": [], "devDependencies": [], "registryDependencies": [], "files": [ { "path": "registry/new-york/ui/card.ripple", "content": "import type { Component } from 'ripple';\r\nimport { cn } from \"@/lib/utils\"\r\n\r\nexport component Card(props: { $children: Component, $class: string }) {\r\n\t\r\n if(props.$children) {\r\n const $children = props.$children;\r\n <$children />\r\n }\r\n \r\n}\r\n\r\nexport component CardHeader(props: { $children: Component, $class: string }) {\r\n\t
\r\n if(props.$children) {\r\n const $children = props.$children;\r\n <$children />\r\n }\r\n
\r\n}\r\n\r\nexport component CardTitle(props: { $children: Component, $class: string }) {\r\n\t
\r\n if(props.$children) {\r\n const $children = props.$children;\r\n <$children />\r\n }\r\n
\r\n}\r\n\r\nexport component CardDescription(props: { $children: Component, $class: string }) {\r\n\t
\r\n if(props.$children) {\r\n const $children = props.$children;\r\n <$children />\r\n }\r\n
\r\n}\r\n\r\n\r\nexport component CardAction(props: { $children: Component, $class: string }) {\r\n\t
\r\n if(props.$children) {\r\n const $children = props.$children;\r\n <$children />\r\n }\r\n
\r\n}\r\n\r\nexport component CardContent(props: { $children: Component, $class: string }) {\r\n\t
\r\n if(props.$children) {\r\n const $children = props.$children;\r\n <$children />\r\n }\r\n
\r\n}\r\n\r\nexport component CardFooter(props: { $children: Component, $class: string }) {\r\n\t
\r\n if(props.$children) {\r\n const $children = props.$children;\r\n <$children />\r\n }\r\n
\r\n}", "type": "registry:ui" } ] }