{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "adminlte-products-list", "title": "AdminLTE Products List", "description": "Vertical list of products with image, name, description, and label for recently added products.", "registryDependencies": [ "https://raw.githubusercontent.com/dnachavez/adminlte-next/master/public/r/adminlte-theme.json" ], "files": [ { "path": "registry/new-york/adminlte-products-list/ui/adminlte-products-list.tsx", "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { cn } from \"@/registry/new-york/adminlte-theme/lib/cn\"\n\ninterface ProductItem {\n id: string\n imageUrl: string\n name: string\n description: string\n label?: React.ReactNode\n href?: string\n}\n\ninterface AdminLTEProductsListProps\n extends React.HTMLAttributes {\n items: ProductItem[]\n}\n\nconst AdminLTEProductsList = React.forwardRef<\n HTMLUListElement,\n AdminLTEProductsListProps\n>(({ className, items, ...props }, ref) => {\n return (\n \n {items.map((item) => (\n \n \n \n
\n
\n \n {item.name}\n \n {item.label && {item.label}}\n
\n \n {item.description}\n \n
\n \n \n ))}\n \n )\n})\nAdminLTEProductsList.displayName = \"AdminLTEProductsList\"\n\nexport { AdminLTEProductsList }\nexport type { AdminLTEProductsListProps, ProductItem }\n", "type": "registry:ui" } ], "type": "registry:ui" }