Ravi Katiyar

Flight Card

Cards 215

About

Flight Card A visually polished card component to display flight details, complete with animations and theme support.

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

Code

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

Usage.tsx

import { FlightCard } from "@/components/ui/flight-card-1"; // Adjust the import path

export default function FlightCardDemo() {
  const flightData = {
    imageUrl: "https://cdn.21st.dev/assets/mirror/46/4602cdce6e0c0860b9aadb39281ddb3d77e43bc7849afb0f277ab8f490523da4.jpg",
    airline: "Lion Air",
    flightCode: "JT 880",
    flightClass: "Economy",
    departureCode: "SUB",
    departureCity: "Surabaya",
    departureTime: "08:45 PM",
    arrivalCode: "SIN",
    arrivalCity: "Singapore",
    arrivalTime: "12:10 AM",
    duration: "3 Hours 25 Minutes",
  };

  return (
    <div className="flex min-h-[500px] w-full items-center justify-center bg-background p-4">
      <FlightCard {...flightData} />
    </div>
  );
}

Dependencies

More by Ravi Katiyar

View all
  • Animated Shader Hero

    Animated Shader Hero

    3.7K
  • Hero

    Hero

    3.1K
  • Circular Gallery

    Circular Gallery

    2.8K
  • Minimalist Hero

    Minimalist Hero

    2.6K
  • Floating Icons Hero Section

    Floating Icons Hero Section

    1.9K
  • Glass Calendar

    Glass Calendar

    1.8K
  • Feature Carousel

    Feature Carousel

    1.7K
  • AI Image Generator Hero

    AI Image Generator Hero

    1.4K

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.1K
  • Statistics Card 7

    Statistics Card 7

    297
  • Stats cards with links

    Stats cards with links

    81
  • Statistics Card 2

    Statistics Card 2

    270
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    155
  • Card

    Card

    70
  • Card Studio

    Card Studio

    35
  • Card

    Card

    18