snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
20
apps/v4/examples/aria/avatar-badge-icon.tsx
Normal file
20
apps/v4/examples/aria/avatar-badge-icon.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import { PlusIcon } from "lucide-react"
|
||||
|
||||
import {
|
||||
Avatar,
|
||||
AvatarBadge,
|
||||
AvatarFallback,
|
||||
AvatarImage,
|
||||
} from "@/styles/aria-nova/ui/avatar"
|
||||
|
||||
export function AvatarBadgeIconExample() {
|
||||
return (
|
||||
<Avatar className="grayscale">
|
||||
<AvatarImage src="https://github.com/pranathip.png" alt="@pranathip" />
|
||||
<AvatarFallback>PP</AvatarFallback>
|
||||
<AvatarBadge>
|
||||
<PlusIcon />
|
||||
</AvatarBadge>
|
||||
</Avatar>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user