{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "p-card-1",
  "description": "A basic card with header and footer",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "@coss/button",
    "@coss/card",
    "@coss/field",
    "@coss/form",
    "@coss/input",
    "@coss/select"
  ],
  "files": [
    {
      "path": "registry/default/particles/p-card-1.tsx",
      "content": "import { CircleAlertIcon } from \"lucide-react\";\nimport { Button } from \"@/registry/default/ui/button\";\nimport {\n  Card,\n  CardDescription,\n  CardFooter,\n  CardHeader,\n  CardPanel,\n  CardTitle,\n} from \"@/registry/default/ui/card\";\nimport { Field, FieldLabel } from \"@/registry/default/ui/field\";\nimport { Form } from \"@/registry/default/ui/form\";\nimport { Input } from \"@/registry/default/ui/input\";\nimport {\n  Select,\n  SelectItem,\n  SelectPopup,\n  SelectTrigger,\n  SelectValue,\n} from \"@/registry/default/ui/select\";\n\nconst frameworkOptions = [\n  { label: \"Next.js\", value: \"next\" },\n  { label: \"Vite\", value: \"vite\" },\n  { label: \"Remix\", value: \"remix\" },\n  { label: \"Astro\", value: \"astro\" },\n];\n\nexport default function Particle() {\n  return (\n    <Card className=\"w-full max-w-xs\">\n      <CardHeader>\n        <CardTitle>Create project</CardTitle>\n        <CardDescription>Deploy your new project in one-click.</CardDescription>\n      </CardHeader>\n      <CardPanel>\n        <Form>\n          <Field>\n            <FieldLabel>Name</FieldLabel>\n            <Input placeholder=\"Name of your project\" type=\"text\" />\n          </Field>\n          <Field>\n            <FieldLabel>Framework</FieldLabel>\n            <Select defaultValue=\"next\" items={frameworkOptions}>\n              <SelectTrigger>\n                <SelectValue />\n              </SelectTrigger>\n              <SelectPopup>\n                {frameworkOptions.map(({ label, value }) => (\n                  <SelectItem key={value} value={value}>\n                    {label}\n                  </SelectItem>\n                ))}\n              </SelectPopup>\n            </Select>\n          </Field>\n          <Button className=\"w-full\" type=\"submit\">\n            Deploy\n          </Button>\n        </Form>\n      </CardPanel>\n      <CardFooter>\n        <div className=\"flex gap-1 text-muted-foreground text-xs\">\n          <CircleAlertIcon className=\"size-3 h-lh shrink-0\" />\n          <p>This will take a few seconds to complete.</p>\n        </div>\n      </CardFooter>\n    </Card>\n  );\n}\n",
      "type": "registry:block"
    }
  ],
  "meta": {
    "className": "**:data-[slot=preview]:w-full **:data-[slot=preview]:flex **:data-[slot=preview]:justify-center"
  },
  "categories": [
    "card",
    "form"
  ],
  "type": "registry:block"
}