Kavi Katiyar

Card

Buttons 58

About

Quick Links Card A card component that displays a title, subtitle, and a set of actionable icon buttons for quick access to common tasks.

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

Code

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

Usage.tsx

import {
  ArrowDownLeftFromSquare,
  ArrowUpRightFromSquare,
  ClipboardList,
} from 'lucide-react';

import { QuickLinksCard, ActionItem } from '@/components/ui/card-2';

/**
 * A demo component to showcase the QuickLinksCard.
 */
export default function QuickLinksCardDemo() {
  // Define the actions to be passed to the card component
  const quickLinks: ActionItem[] = [
    {
      icon: <ClipboardList className="h-full w-full" />,
      label: 'Request',
      onClick: () => alert('Request action triggered!'),
    },
    {
      icon: <ArrowUpRightFromSquare className="h-full w-full" />,
      label: 'Send',
      onClick: () => alert('Send action triggered!'),
    },
    {
      icon: <ArrowDownLeftFromSquare className="h-full w-full" />,
      label: 'Receive',
      onClick: () => alert('Receive action triggered!'),
    },
  ];

  return (
    <div className="flex h-full w-full items-center justify-center bg-background p-4">
      <QuickLinksCard
        title="Quick Links"
        subtitle="Essential dues"
        actions={quickLinks}
      />
    </div>
  );
}

Dependencies

More by Kavi Katiyar

View all
  • 3D Card

    3D Card

    981
  • Bento Product Features

    Bento Product Features

    831
  • Testimonial Slider

    Testimonial Slider

    716
  • Card

    Card

    607
  • Order Confirmation Card

    Order Confirmation Card

    504
  • Project Detail View

    Project Detail View

    408
  • State

    State

    393
  • Animated Card

    Animated Card

    393

More in Buttons

View all
  • Button

    Button

    14
  • Button

    Button

    34
  • Texture Button

    Texture Button

    92
  • Button Save

    Button Save

    46
  • Button

    Button

    64
  • Button Group

    Button Group

    3
  • App Store Button

    App Store Button

    454
  • Notification Button

    Notification Button

    103