Ravi Katiyar

Card

Cards 45

About

Property Card A modern, responsive card component designed to showcase property listings with key details and a call-to-action.

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 { PropertyCard } from "@/components/ui/card-4";

export default function PropertyCardDemo() {
  const handleReserveClick = () => {
    // In a real app, this would handle the reservation logic
    alert("Reserve button clicked!");
  };

  return (
    <div className="flex min-h-screen items-center justify-center bg-background p-4">
      <PropertyCard
        imageUrl="https://cdn.21st.dev/assets/mirror/e2/e29a400771a8ddd70d0986c9ce88aedebd3aa98ade01efe83ec5dd01bad224ef.jpg"
        imageAlt="Modern wooden cabin in a grassy, mountainous landscape"
        title="Iceland Cabin"
        price={680}
        pricePeriod="per night"
        description="Cozy cabin nestled in Iceland's breathtaking landscape, offering stunning views of mountains and Northern Lights."
        stats={[
          { label: "Days", value: 3 },
          { label: "Rating", value: "4.9" },
        ]}
        actionLabel="Reserve"
        onActionClick={handleReserveClick}
      />
    </div>
  );
}

More by Ravi Katiyar

View all
  • Animated Shader Hero

    Animated Shader Hero

    3.7K
  • Hero

    Hero

    3.1K
  • Circular Gallery

    Circular Gallery

    2.7K
  • Minimalist Hero

    Minimalist Hero

    2.5K
  • Floating Icons Hero Section

    Floating Icons Hero Section

    1.8K
  • 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
  • Stats cards with links

    Stats cards with links

    79
  • Statistics Card 2

    Statistics Card 2

    259
  • Card

    Card

    56
  • Card Studio

    Card Studio

    9
  • The Item one

    The Item one

    3
  • Statistics Card 7

    Statistics Card 7

    289
  • Weather Card

    Weather Card

    54