f0rextasy

Follower List

Component 1

About

A list of rows showing an avatar, name, and handle with a Follow button that toggles between Follow and Following states.

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

Code

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

Usage.tsx

import { FollowerList, type Follower } from "@/components/ui/follower-list";

const followers: Follower[] = [
  { id: "1", avatar: "AM", name: "Alex", handle: "@alex" },
  { id: "2", avatar: "SB", name: "Sam", handle: "@sam" },
  { id: "3", avatar: "JD", name: "Jordan", handle: "@jordan" },
  { id: "4", avatar: "MG", name: "Morgan", handle: "@morgan" },
];

export default function FollowerListDemo() {
  return (
    <div className="w-full max-w-sm mx-auto rounded-lg border border-border bg-card p-6 text-foreground">
      <h3 className="font-mono text-[10px] uppercase tracking-[0.15em] text-muted-foreground mb-4">
        FollowerList
      </h3>
      <FollowerList followers={followers} />
    </div>
  );
}

More by f0rextasy

View all
  • Newsletter Signup Card

    Newsletter Signup Card

    6
  • Stamp Seal

    Stamp Seal

    6
  • Network Graph

    Network Graph

    5
  • Board Checklist

    Board Checklist

    4
  • Time Input

    Time Input

    3
  • Data Table

    Data Table

    3
  • Empty State Card

    Empty State Card

    2
  • Running Order Timeline

    Running Order Timeline

    2