LaviKatiyar

Location Card

Buttons 64

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

    847
  • Cards

    Cards

    689
  • Service Card

    Service Card

    637
  • Card

    Card

    559
  • Alert Toast

    Alert Toast

    503
  • Bento Grid

    Bento Grid

    431
  • Freelancer Profile Card

    Freelancer Profile Card

    378
  • Referral Card

    Referral Card

    310

More in Buttons

View all
  • Button

    Button

    20
  • Button

    Button

    3
  • Button Group

    Button Group

    18
  • Button

    Button

    149
  • Icon Label Subtext Button

    Icon Label Subtext Button

    69
  • Button

    Button

    9
  • Button

    Button

    37
  • Texture Button

    Texture Button

    113