{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "file-upload-02",
  "type": "registry:block",
  "title": "File Upload Simple",
  "description": "A file upload simple block.",
  "author": "ephraim duncan <https://ephraimduncan.com>",
  "registryDependencies": [
    "button",
    "card",
    "input",
    "label"
  ],
  "dependencies": [],
  "files": [
    {
      "path": "content/components/file-upload/file-upload-02.tsx",
      "type": "registry:component",
      "target": "components/file-upload-02.tsx",
      "content": "import { Button } from '@/components/ui/button';\nimport {\n  Card,\n  CardContent,\n  CardDescription,\n  CardHeader,\n  CardTitle,\n} from '@/components/ui/card';\nimport { Input } from '@/components/ui/input';\nimport { Label } from '@/components/ui/label';\n\nexport default function FileUpload02() {\n  return (\n    <div className=\"flex items-center justify-center p-10\">\n      <Card className=\"shadow-none\">\n        <CardHeader>\n          <CardTitle>Set up your first workspace</CardTitle>\n          <CardDescription>\n            Lorem ipsum dolor sit amet, consetetur sadipscing elitr.\n          </CardDescription>\n        </CardHeader>\n        <CardContent>\n          <form action=\"#\" method=\"POST\">\n            <div className=\"space-y-6\">\n              <div className=\"space-y-2\">\n                <Label htmlFor=\"workspace-name\">\n                  Workspace <span className=\"text-destructive\">*</span>\n                </Label>\n                <Input\n                  autoComplete=\"workspace-name\"\n                  id=\"workspace-name\"\n                  name=\"workspace-name\"\n                  placeholder=\"Workspace name\"\n                  required\n                  type=\"text\"\n                />\n              </div>\n              <div className=\"space-y-2\">\n                <Label htmlFor=\"file-1\">\n                  Upload file <span className=\"text-destructive\">*</span>\n                </Label>\n                <Input\n                  accept=\".csv, .xlsx, .xls\"\n                  id=\"file-1\"\n                  name=\"file-1\"\n                  type=\"file\"\n                />\n                <p className=\"text-pretty text-muted-foreground text-sm\">\n                  You are only allowed to upload CSV, XLSX or XLS files.\n                </p>\n              </div>\n            </div>\n            <div className=\"mt-8 flex justify-end space-x-3\">\n              <Button type=\"button\" variant=\"outline\">\n                Cancel\n              </Button>\n              <Button type=\"submit\">Submit</Button>\n            </div>\n          </form>\n        </CardContent>\n      </Card>\n    </div>\n  );\n}\n"
    }
  ],
  "categories": [
    "file-upload"
  ]
}