This component no longer exists. It was in gmhlab’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-09 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.
card
gmhlab/cardRemovedComponent
gmhlab publishes no description for this item.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/gmhlab/monorepo/main/packages/ui/public/r/card.jsonSource
1import * as React from "react"23import { cn } from "@/lib/utils"45function Card({ className, ...props }: React.ComponentProps<"div">) {6 return (7 <div8 data-slot="card"9 className={cn(10 "bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",11 className12 )}13 {...props}14 />15 )16}1718function CardHeader({ className, ...props }: React.ComponentProps<"div">) {19 return (20 <div21 data-slot="card-header"22 className={cn(23 "@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",24 className25 )}26 {...props}27 />28 )29}3031function CardTitle({ className, ...props }: React.ComponentProps<"div">) {32 return (33 <div34 data-slot="card-title"35 className={cn("leading-none font-semibold", className)}36 {...props}37 />38 )39}4041function CardDescription({ className, ...props }: React.ComponentProps<"div">) {42 return (43 <div44 data-slot="card-description"45 className={cn("text-muted-foreground text-sm", className)}46 {...props}47 />48 )49}5051function CardAction({ className, ...props }: React.ComponentProps<"div">) {52 return (53 <div54 data-slot="card-action"55 className={cn(56 "col-start-2 row-span-2 row-start-1 self-start justify-self-end",57 className58 )}59 {...props}60 />61 )62}6364function CardContent({ className, ...props }: React.ComponentProps<"div">) {65 return (66 <div67 data-slot="card-content"68 className={cn("px-6", className)}69 {...props}70 />71 )72}7374function CardFooter({ className, ...props }: React.ComponentProps<"div">) {75 return (76 <div77 data-slot="card-footer"78 className={cn("flex items-center px-6 [.border-t]:pt-6", className)}79 {...props}80 />81 )82}8384export {85 Card,86 CardHeader,87 CardFooter,88 CardTitle,89 CardAction,90 CardDescription,91 CardContent,92}
