sona-ui

Avatar Showcase

Component

About

A recording-friendly avatar strip with count-aware pacing, deterministic sampling, staggered lanes, and reduced-motion support.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Avatar Showcase to your project and fits it to your theme.

Code

How Avatar Showcase is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import AvatarShowcase, { type AvatarShowcaseItem } from "@/components/ui/sona-avatar-showcase"

const FOLLOWERS: AvatarShowcaseItem[] = [
  { id: "1", name: "Maya Chen", imageUrl: "https://cdn.21st.dev/assets/mirror/96/96ee30c10e2346af3e956f7d98871e88d2fe42605736d71886b201d319d9ab3c.jpg" },
  {
    id: "2",
    name: "Noah Williams",
    imageUrl: "https://cdn.21st.dev/assets/mirror/f5/f50d91f3ac1e3dfbb58f8078b461b61af0644a710fa33456732e97616952afe3.jpg",
  },
  {
    id: "3",
    name: "Aisha Rahman",
    imageUrl: "https://cdn.21st.dev/assets/mirror/ce/ced2938345fb56221558392139eb89abf1ed5c713c7c44e71673394451be9db7.jpg",
  },
  { id: "4", name: "Leo Martin", imageUrl: "https://cdn.21st.dev/assets/mirror/71/719c4f9548dd0f3a24f3a1b7ab9da73056ca7b545440a30b6261046f2760f89b.jpg" },
  {
    id: "5",
    name: "Sofia Silva",
    imageUrl: "https://cdn.21st.dev/assets/mirror/66/6667f7705813bdf92a3047b2ade4b44a0292c7b9629ca2855d18cb04c42c407e.jpg",
  },
  { id: "6", name: "Ethan Kim", imageUrl: "https://cdn.21st.dev/assets/mirror/61/61bddb6553a6d59dea01d3020ae15e00cb9344f71506cdfd5c6a02b51993586a.jpg" },
  {
    id: "7",
    name: "Amara Okafor",
    imageUrl: "https://cdn.21st.dev/assets/mirror/46/46cdf34a5f11fafe9e9543c7faad9b3f73caa77056bf8b27d7b24c73c2bbfa7e.jpg",
  },
  {
    id: "8",
    name: "Oliver Smith",
    imageUrl: "https://cdn.21st.dev/assets/mirror/8a/8a7781f0e43d3b3ff80e2c47ce44089c0bce1907e9707e7bf21a7d559cc5ed8f.jpg",
  },
  { id: "9", name: "Priya Nair", imageUrl: "https://cdn.21st.dev/assets/mirror/00/00cff78174701065ff9d8afe3d4a4e9bea46a21e3742ecf11e03d4950924878e.jpg" },
  {
    id: "10",
    name: "Mateo Garcia",
    imageUrl: "https://cdn.21st.dev/assets/mirror/5e/5e5e19c808ed2b8bf26f396914d25a6b7899a8712ff7e6648584c134e2bf3490.jpg",
  },
  { id: "11", name: "Hana Sato", imageUrl: "https://cdn.21st.dev/assets/mirror/77/77f594aee2408ed2481193277126ddd2d0df28e70a8f64ece3320bba0ccb455b.jpg" },
  { id: "12", name: "Jon Bell", imageUrl: "https://cdn.21st.dev/assets/mirror/79/79f9822f1e5050b115408afd5c052ea77ffcba741bedc426cae9c61810156904.jpg" },
];

export default function AvatarShowcaseExample() {
  return (
    <AvatarShowcase
      items={FOLLOWERS}
      message="Thanks for following"
      totalCount={912}
    />
  );
}

Dependencies

More by sona-ui

View all
  • Stagger Text

    Stagger Text

    8
  • Dot Orbit Shader

    Dot Orbit Shader

  • Mesh Gradient Shader

    Mesh Gradient Shader

  • Split Text

    Split Text

  • Image Trail

    Image Trail

  • Section Rail

    Section Rail

  • Activity Graph

    Activity Graph

  • Fluid Slider

    Fluid Slider