204 Pro components and page blocks

Get Pro

Updated

Social Avatar

New

Preview

Customize

Hover
Size72px
Spread150°
Accounts5

Installation

npx shadcn@latest add https://uibrik.com/r/social-avatar.json
Adds the files to components/uibrik/social-avatar and installs @tabler/icons-react and motion. With the @uibrik namespace set up: npx shadcn@latest add @uibrik/social-avatar.

Usage

import { SocialAvatar } from "@/components/uibrik/social-avatar/social-avatar";​<SocialAvatar  name="Daniel Reyes"  links={[{ brand: …, handle: … }]}  trigger="hover"  size={72}  spread={150}  src="/registry/social-avatar/daniel.webp"  subtitle="Product designer"  onCopy={(link) => {}}  // open={false}  // onOpenChange={(open) => {}}/>

Where to use Social Avatar

  • Author and speaker bios

    One avatar holds every profile, so a byline stays a single face until someone wants to follow.

    Pairs with Follow Button

  • Team and about pages

    Each teammate's accounts open from their own photo, instead of a row of small icons under every card.

    Pairs with Team Roster

  • Creator link pages

    Real logos in their own colours read at a glance, and a press copies the handle for apps that need it typed.

    Pairs with Verified Badge

Props

SocialAvatar
trigger
Type "hover" | "click"
"hover"
What opens the marks. Touch always opens on tap.
size
Type number
72
Avatar diameter.
spread
Type number
150
Width of the arc the marks fan across. Widens on its own when marks would touch.
namerequired
Type string
–
Name under the avatar, and the initials when there's no photo.
src
Type string
–
Avatar image.
subtitle
Type string
–
Line under the name.
linksrequired
Type { brand; handle; href? }[]
–
Accounts in order. brand is a built-in key (x, github, linkedin, dribbble, instagram, youtube, threads, bluesky, discord) or your own { name, color, path }. Without href, a press copies the handle.
open / onOpenChange
Type boolean / (open) => void
–
Controlled open state. defaultOpen for uncontrolled.
onCopy
Type (link) => void
–
Called after a handle is copied.
className
Type string
–
Classes for the wrapper.