
Mapping the old town
A walk through the lanes nobody has drawn yet, with a map at the end.
Sat, 12 Oct · 10:00Old Town Square

A walk through the lanes nobody has drawn yet, with a map at the end.



A walk through the lanes nobody has drawn yet.
This one is over. Thanks for coming.
A card whose image zooms and info panel slides up on hover, with a wide row variant.
| Prop | Type | Description |
|---|---|---|
| image | string | ReactNode | An image URL, or any node (gradient, video) that fills the media area. |
| imgProps | ImgHTMLAttributes | Extra attributes for the <img> when image is a URL (alt, loading, sizes). |
| title | ReactNode | The heading; with href it is the link text and the whole card is clickable. |
| description | ReactNode | Fades in once the panel opens. |
| meta | ReactNode | Small lines under the description (date, place, status). |
| index | number | string | The big number top-left (bottom-left of the image in a row). |
| href | string | Makes the whole card a link. |
| variant | "card" | "row"default "card" | A tall card with a peeking panel, or a wide row with an arrow. |
| muted | booleandefault false | A past or closed item: dimmed, the arrow stays put. |
npx shadcn@latest add https://purrfectui.com/r/peek-card.jsonimport { PeekCard } from "@/components/ui/peek-card";
<PeekCard index={1} image="/event.jpg" title="Mapping the old town" description="A walk through the lanes." meta="Sat, 12 Oct" href="/events/old-town" />
<PeekCard variant="row" muted image="/past.jpg" title="Last month's meetup" meta={<span>Closed</span>} href="/events/past" />Loading…
Ported from mapinly.vaibhavtomar.com.
MIT. Copy it into your project and change it as you like.
0