registry/patterns/empty/empty-04.tsx
import { UserPlusIcon } from 'lucide-react'
import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'
import { Button } from '@/components/ui/button'
import {
Empty,
EmptyContent,
EmptyDescription,
EmptyHeader,
EmptyTitle,
} from '@/components/ui/empty'
export function Empty04() {
return (
<Empty className="bg-muted/30 w-full max-w-md rounded-xl border border-dashed">
<EmptyHeader>
<div className="*:data-[slot=avatar]:ring-background mb-2 flex -space-x-2 *:data-[slot=avatar]:grayscale *:data-[slot=avatar]:ring-2">
<Avatar>
<AvatarImage src="https://github.com/shadcn.png" alt="@shadcn" />
<AvatarFallback>CN</AvatarFallback>
</Avatar>
<Avatar>
<AvatarImage
src="https://github.com/maxleiter.png"
alt="@maxleiter"
/>
<AvatarFallback>LR</AvatarFallback>
</Avatar>
<Avatar>
<AvatarImage
src="https://github.com/evilrabbit.png"
alt="@evilrabbit"
/>
<AvatarFallback>ER</AvatarFallback>
</Avatar>
</div>
<EmptyTitle>No team members</EmptyTitle>
<EmptyDescription>
Invite people to collaborate on this workspace.
</EmptyDescription>
</EmptyHeader>
<EmptyContent>
<Button size="sm">
<UserPlusIcon data-icon="inline-start" />
Invite people
</Button>
</EmptyContent>
</Empty>
)
}






























