[ Home ]
back

Card , shadcn/ui components例

id: 136, 2024-09-06

概要


関連


<Card className="w-[350px]">
  <CardHeader>
  <CardTitle>Create Card Item</CardTitle>
  <CardDescription>information , title</CardDescription>
  </CardHeader>
  <CardContent>
  <form>
    <div className="grid w-full items-center gap-4">
    <div className="flex flex-col space-y-1.5">
        <Label htmlFor="name">Name</Label>
        <Input id="name" placeholder="Name 123" />
    </div>
    </div>
  </form>
  </CardContent>
  <CardFooter className="flex justify-between">
  <Button variant="outline">Cancel</Button>
  <Button>Deploy</Button>
  </CardFooter>
</Card>