{"$schema":"https:\/\/ui.shadcn.com\/schema\/registry-item.json","name":"pricing-table","type":"registry:block","title":"Pricing Table","description":"A beautiful component for your application.","author":"designbycode","dependencies":["lucide-react"],"devDependencies":[],"registryDependencies":["card"],"files":[{"path":"resources\/js\/registry\/new-york\/components\/blocks\/pricing-table\/pricing-table.tsx","type":"registry:block","content":"'use client';\n\nimport React from 'react';\nimport { Check, X } from 'lucide-react';\nimport { Card, CardHeader, CardTitle, CardContent } from '@\/components\/ui\/card';\n\ninterface FeatureRow {\n    feature: string;\n    free: boolean;\n    pro: boolean;\n}\n\nconst rows: FeatureRow[] = [\n    { feature: 'Core Component Files', free: true, pro: true },\n    { feature: 'Registry CLI installer', free: true, pro: true },\n    { feature: 'Advanced Glitch shaders', free: false, pro: true },\n    { feature: 'Unlimited workspaces', free: false, pro: true },\n    { feature: 'Priority Help SLA', free: false, pro: true },\n];\n\nexport function PricingTable() {\n    return (\n        <Card className=\"w-full overflow-hidden border-border\/50 bg-card\/30 backdrop-blur-xs\">\n            <CardHeader className=\"pb-2\">\n                <CardTitle className=\"text-sm font-bold tracking-wider text-muted-foreground uppercase\">\n                    Feature Comparison\n                <\/CardTitle>\n            <\/CardHeader>\n            <CardContent className=\"p-0\">\n                <div className=\"overflow-x-auto\">\n                    <table className=\"w-full border-collapse text-left text-xs\">\n                        <thead>\n                            <tr className=\"border-b border-border\/30 bg-muted\/20\">\n                                <th className=\"p-3 font-bold text-muted-foreground\">\n                                    Feature\n                                <\/th>\n                                <th className=\"w-24 p-3 text-center font-bold\">\n                                    Free\n                                <\/th>\n                                <th className=\"w-24 p-3 text-center font-bold text-primary\">\n                                    Pro\n                                <\/th>\n                            <\/tr>\n                        <\/thead>\n                        <tbody>\n                            {rows.map((row, idx) => (\n                                <tr\n                                    key={idx}\n                                    className=\"border-b border-border\/20 last:border-0 hover:bg-muted\/10\"\n                                >\n                                    <td className=\"p-3 font-semibold text-foreground\">\n                                        {row.feature}\n                                    <\/td>\n                                    <td className=\"p-3 text-center\">\n                                        {row.free ? (\n                                            <Check className=\"mx-auto size-4 text-chart-2\" \/>\n                                        ) : (\n                                            <X className=\"mx-auto size-4 text-muted-foreground\/30\" \/>\n                                        )}\n                                    <\/td>\n                                    <td className=\"p-3 text-center\">\n                                        {row.pro ? (\n                                            <Check className=\"mx-auto size-4 text-primary\" \/>\n                                        ) : (\n                                            <X className=\"mx-auto size-4 text-muted-foreground\/30\" \/>\n                                        )}\n                                    <\/td>\n                                <\/tr>\n                            ))}\n                        <\/tbody>\n                    <\/table>\n                <\/div>\n            <\/CardContent>\n        <\/Card>\n    );\n}\n\nexport default PricingTable;\n"}],"meta":{"category":"pricing","version":"1.0.0"},"categories":["pricing"]}