Elliot Sutton

Pin List

Cards 117

About

Here is animated Pin List component

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

Code

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

Usage.tsx

// demo.tsx
'use client';

import * as React from 'react';
import { PinList, type PinListItem } from '@/components/ui/pin-list';
import { GitCommit, AlertTriangle, Box, KeyRound, Regex } from 'lucide-react';
import { cn } from "@/lib/utils";

const ITEMS: PinListItem[] = [
  {
    id: 1,
    name: 'Commit Zone',
    info: 'Code updates · Closes 9:00 PM',
    icon: GitCommit,
    pinned: true,
  },
  {
    id: 2,
    name: '404 Room',
    info: 'Fixing errors · Open 24 hours',
    icon: AlertTriangle,
    pinned: true,
  },
  {
    id: 3,
    name: 'NPM Stop',
    info: 'Install stuff · Closes 8:00 PM',
    icon: Box,
    pinned: false,
  },
  {
    id: 4,
    name: 'Token Lock',
    info: 'Login stuff · Open 24 hours',
    icon: KeyRound,
    pinned: false,
  },
  {
    id: 5,
    name: 'Regex Zone',
    info: 'Find words · Closes 9:00 PM',
    icon: Regex,
    pinned: false,
  },
];

const DemoOne = () => {
  return (
    <div className={cn("flex w-full min-h-screen justify-center items-start pt-10 bg-neutral-50 dark:bg-neutral-900")}>
      <PinList items={ITEMS} />
    </div>
  );
};

export default DemoOne;

Dependencies

More by Elliot Sutton

View all
  • Notification List

    Notification List

    239
  • Glyph Background

    Glyph Background

    190
  • Scroll Progress

    Scroll Progress

    149
  • Cursor

    Cursor

    143
  • Topography Background

    Topography Background

    125
  • Bubble Background

    Bubble Background

    109
  • Avatar Group

    Avatar Group

    106
  • Radix Dropdown Menu

    Radix Dropdown Menu

    104

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Photo Deck

    Photo Deck

    47
  • Folded Card

    Folded Card

    45
  • Statistics Card 10

    Statistics Card 10

    304
  • Statistics Card 2

    Statistics Card 2

    309
  • Statistics Card 7

    Statistics Card 7

    336
  • CTA Section

    CTA Section

    6
  • Liquid Glass Card

    Liquid Glass Card

    198