c-card-16.tsx
import { Badge } from "@/components/reui/badge"
import {
Avatar,
AvatarFallback,
AvatarGroup,
AvatarGroupCount,
AvatarImage,
} from "@/components/ui/avatar"
import { Button } from "@/components/ui/button"
import { Card, CardContent } from "@/components/ui/card"
import {
DropdownMenu,
DropdownMenuContent,
DropdownMenuGroup,
DropdownMenuItem,
DropdownMenuTrigger,
} from "@/components/ui/dropdown-menu"
import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder"
export function Pattern() {
return (
<Card className="w-full max-w-sm p-0">
<CardContent className="p-0">
<div className="flex items-center justify-between border-b px-3 py-2">
<Badge variant="secondary">
<IconPlaceholder
lucide="CheckIcon"
tabler="IconCheck"
hugeicons="Tick02Icon"
phosphor="CheckIcon"
remixicon="RiCheckLine"
aria-hidden="true"
/>
Live
</Badge>
<DropdownMenu>
<DropdownMenuTrigger
render={
<Button
variant="ghost"
size="icon"
className="text-muted-foreground"
aria-label="More options"
/>
}
>
<IconPlaceholder
lucide="MoreVerticalIcon"
tabler="IconDotsVertical"
hugeicons="MoreVerticalCircleIcon"
phosphor="DotsThreeVerticalIcon"
remixicon="RiMoreLine"
aria-hidden="true"
/>
</DropdownMenuTrigger>
<DropdownMenuContent className="w-32" align="end">
<DropdownMenuGroup>
<DropdownMenuItem>Edit</DropdownMenuItem>
<DropdownMenuItem>Copy link</DropdownMenuItem>
</DropdownMenuGroup>
</DropdownMenuContent>
</DropdownMenu>
</div>
<div className="space-y-3 p-4">
<div className="flex items-start justify-between gap-2">
<h3 className="text-sm leading-tight font-medium">
Integration name
</h3>
<Badge variant="success-light" size="sm">
Installed
</Badge>
</div>
<p className="text-muted-foreground text-sm">
Short description of the integration and what it does in one line.
</p>
<AvatarGroup>
<Avatar className="size-6">
<AvatarImage
src="https://images.unsplash.com/photo-1519699047748-de8e457a634e?w=96&h=96&dpr=2&q=80"
alt="User 1"
/>
<AvatarFallback>SC</AvatarFallback>
</Avatar>
<Avatar className="size-6">
<AvatarImage
src="https://images.unsplash.com/photo-1584308972272-9e4e7685e80f?w=96&h=96&dpr=2&q=80"
alt="User 2"
/>
<AvatarFallback>MR</AvatarFallback>
</Avatar>
<Avatar className="size-6">
<AvatarImage
src="https://images.unsplash.com/photo-1485893086445-ed75865251e0?w=96&h=96&dpr=2&q=80"
alt="User 3"
/>
<AvatarFallback>EW</AvatarFallback>
</Avatar>
<AvatarGroupCount className="size-6 border text-[10px]">
+3
</AvatarGroupCount>
</AvatarGroup>
</div>
<div className="border-t p-3">
<Button variant="outline" className="w-full">
Open
</Button>
</div>
</CardContent>
</Card>
)
}



























