# V preview card 2

> User mention profile card

A shadcn/ui block from the [@cnippet](https://ui.cnippet.dev/) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/cnippet/v-preview-card-2).

- Page, with a live preview: https://shadcn.exchange/r/cnippet/v-preview-card-2
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/cnippet/v-preview-card-2-light-e0699e35592a7a60.png
- Registry item: https://ui.cnippet.dev/r/v-preview-card-2.json
- Categories: preview card
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://ui.cnippet.dev/r/v-preview-card-2.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `@cnippet/preview-card`

## Files

### `registry/default/variants/v-preview-card-2.tsx`

```tsx
import { MapPinIcon } from "lucide-react";
import {
  PreviewCard,
  PreviewCardPopup,
  PreviewCardTrigger,
} from "@/registry/default/ui/preview-card";

export default function Particle() {
  return (
    <p className="text-sm">
      Join us at{" "}
      <PreviewCard>
        <PreviewCardTrigger className="cursor-pointer font-medium text-primary underline underline-offset-4">
          The Grand Pavilion
        </PreviewCardTrigger>
        <PreviewCardPopup>
          <div className="flex flex-col gap-3">
            <div className="h-24 w-full overflow-hidden rounded-md bg-muted" />
            <div>
              <h4 className="font-semibold text-sm">The Grand Pavilion</h4>
              <p className="mt-0.5 text-muted-foreground text-xs">
                Conference & Events Center
              </p>
            </div>
            <div className="flex items-center gap-1.5 text-muted-foreground text-xs">
              <MapPinIcon aria-hidden="true" className="size-3 shrink-0" />
              <span>1200 Market St, San Francisco, CA 94102</span>
            </div>
          </div>
        </PreviewCardPopup>
      </PreviewCard>{" "}
      for the annual summit.
    </p>
  );
}
```
