Muneeb ul Hassan

VideoShowCaseCard

Cards

About

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

Code

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

Usage.tsx

import { ShowcaseVideoCard } from "@/components/ui/video-show-case-card";

export default function DemoOne() {
   const videos = [
    {
      id: 1,
      src: "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerBlazes.mp4",
      alt: "AI Minecraft Video",
      badge: "100% generated"
    },
    {
      id: 2,
      src: "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",
      alt: "Big Buck Bunny",
      badge: "Animation"
    },
    {
      id: 3,
      src: "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4",
      alt: "Elephants Dream",
      badge: "Creative"
    }
  ];

  return (
    <div className="min-h-screen w-full p-8">
      {/* Single video at the top - centered */}
      <div className="flex items-center justify-center mb-12">
        <ShowcaseVideoCard
          src="https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"
          alt="Featured Video"
          badge="Featured"
          className="w-full max-w-sm md:max-w-md lg:max-w-lg"
        />
      </div>

      {/* 3 videos in a horizontal row below */}
      <div className="justify-center flex gap-6 max-w-7xl mx-auto overflow-x-auto pb-4">
        {videos.map((video) => (
          <ShowcaseVideoCard
            key={video.id}
            src={video.src}
            alt={video.alt}
            badge={video.badge}
            className="w-80 flex-shrink-0"
          />
        ))}
      </div>
    </div>
  );
}

More by Muneeb ul Hassan

View all
  • FeatureCardWithVideo

    FeatureCardWithVideo

  • Comparison

    Comparison

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    33
  • Course Design Cards

    Course Design Cards

    1.1K
  • Card

    Card

    70
  • Statistics Card 2

    Statistics Card 2

    264
  • Statistics Card 10

    Statistics Card 10

    263
  • Card

    Card

    17
  • Card Studio

    Card Studio

    9
  • The Item one

    The Item one

    3