LaviKatiyar

Location Card

Buttons 54

About

Location Card A visually polished card component to display a location with an image, title, subtitle, and an animated call-to-action button. It is fully responsive, theme-adaptive, and includes subtle animations using framer-motion.

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

Code

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

Usage.tsx

import { LocationCard } from "@/components/ui/location-card"; // Adjust the import path accordingly

const LocationCardDemo = () => {
  return (
    <div className="flex min-h-[400px] w-full items-center justify-center bg-background p-4">
      <LocationCard
        imageUrl="https://cdn.21st.dev/assets/mirror/45/459200ecb3f9516faa4f15b6113d4b7e0f4d0fa0407864e87a19c49861f2f8f0.jpg"
        location="Dolomites"
        country="Italy"
        href="https://www.google.com/maps/place/Dolomites"
      />
    </div>
  );
};

export default LocationCardDemo;

Dependencies

More by LaviKatiyar

View all
  • Hero Section

    Hero Section

    801
  • Cards

    Cards

    564
  • Service Card

    Service Card

    546
  • Card

    Card

    505
  • Alert Toast

    Alert Toast

    481
  • Bento Grid

    Bento Grid

    381
  • Freelancer Profile Card

    Freelancer Profile Card

    358
  • Referral Card

    Referral Card

    289

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