{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "trip-01",
  "title": "Trip Itinerary",
  "author": "VenusUI",
  "description": "A trip overview: a boarding pass beside a day-by-day itinerary with photos.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "https://venusui.com/r/boarding-pass.json"
  ],
  "files": [
    {
      "path": "registry/default/blocks/trip-01/components/trip-01.tsx",
      "content": "import { BedDouble, CalendarDays, MapPin, Train } from \"lucide-react\"\n\nimport { BoardingPass } from \"@/registry/default/ui/boarding-pass\"\n\n// Photos: Unsplash (free under the Unsplash License). The trip and airline are made up.\nconst photo = (id: string) => `https://images.unsplash.com/photo-${id}?w=400&h=300&fit=crop&auto=format&q=75`\n\nconst days = [\n  { day: \"Day 1–2\", place: \"Tokyo\", plan: \"Land at Haneda, ramen in Shinjuku, neon walk through Akihabara.\", image: photo(\"1540959733332-eab4deabeeaf\"), alt: \"A neon-lit shopping street in Tokyo at night\" },\n  { day: \"Day 3\", place: \"Mount Fuji\", plan: \"Day trip to Lake Kawaguchi for the view, back by evening train.\", image: photo(\"1490806843957-31f4c9a91c65\"), alt: \"Mount Fuji framed by cherry blossoms\" },\n  { day: \"Day 4–5\", place: \"Kyoto\", plan: \"Shinkansen to Kyoto. Old streets of Higashiyama at dusk.\", image: photo(\"1493976040374-85c8e12f0c0e\"), alt: \"A pagoda at the end of an old street in Kyoto\" },\n  { day: \"Day 6\", place: \"Fushimi Inari\", plan: \"Early start to walk the torii gates before the crowds.\", image: photo(\"1478436127897-769e1b3f0f36\"), alt: \"A tunnel of red torii gates\" },\n]\n\nconst summary = [\n  { icon: CalendarDays, text: \"7–14 April · 7 nights\" },\n  { icon: MapPin, text: \"Tokyo, Fuji, Kyoto\" },\n  { icon: BedDouble, text: \"3 hotels booked\" },\n  { icon: Train, text: \"7-day rail pass\" },\n]\n\n/** A trip overview: the boarding pass beside a day-by-day itinerary with photos. */\nexport function Trip01() {\n  return (\n    <section aria-labelledby=\"trip-01-title\" className=\"py-24 sm:py-28\">\n      <div className=\"mx-auto grid max-w-6xl items-start gap-12 px-4 sm:px-6 lg:grid-cols-[minmax(0,22rem)_minmax(0,1fr)] lg:gap-16\">\n        <div className=\"flex flex-col items-center gap-3 lg:sticky lg:top-24\">\n          <BoardingPass\n            airline=\"Skylark Air\"\n            flight=\"SK 208\"\n            from={{ code: \"LHR\", city: \"London\" }}\n            to={{ code: \"HND\", city: \"Tokyo\" }}\n            date=\"Tue, 7 Apr\"\n            departs=\"19:05\"\n            arrives=\"16:40 +1\"\n            passenger=\"Priya Natarajan\"\n            seat=\"24A\"\n            gate=\"B32\"\n            boarding=\"18:15\"\n            reference=\"K7PX2Q\"\n            details={[\n              { label: \"Fare\", value: \"Economy Flex\" },\n              { label: \"Checked bag\", value: \"1 × 23 kg\" },\n              { label: \"Seat\", value: \"Window\" },\n            ]}\n          />\n          <p className=\"text-xs text-muted-foreground\">Tap the pass to see fare and baggage</p>\n        </div>\n\n        <div>\n          <p className=\"text-sm font-medium text-sky-700 dark:text-sky-400\">Your trip</p>\n          <h2 id=\"trip-01-title\" className=\"mt-2 text-3xl font-semibold tracking-tight sm:text-4xl\">\n            Japan in spring\n          </h2>\n          <ul className=\"mt-5 flex flex-wrap gap-2\">\n            {summary.map(({ icon: Icon, text }) => (\n              <li key={text} className=\"inline-flex items-center gap-1.5 rounded-full border bg-card px-3 py-1 text-sm\">\n                <Icon aria-hidden=\"true\" className=\"size-3.5 text-muted-foreground\" />\n                {text}\n              </li>\n            ))}\n          </ul>\n\n          <ol className=\"relative mt-10 space-y-5 border-l pl-6\">\n            {days.map((d) => (\n              <li key={d.day} className=\"relative\">\n                <span aria-hidden=\"true\" className=\"absolute top-5 -left-[1.95rem] size-3 rounded-full border-2 border-background bg-sky-500\" />\n                <article className=\"flex gap-4 rounded-2xl border bg-card p-3\">\n                  <img src={d.image} alt={d.alt} className=\"aspect-[4/3] w-28 shrink-0 rounded-xl object-cover sm:w-36\" />\n                  <div className=\"min-w-0 py-1\">\n                    <p className=\"text-xs font-medium text-muted-foreground\">{d.day}</p>\n                    <h3 className=\"font-semibold\">{d.place}</h3>\n                    <p className=\"mt-1 text-sm leading-6 text-muted-foreground\">{d.plan}</p>\n                  </div>\n                </article>\n              </li>\n            ))}\n          </ol>\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "version": "0.1.1"
  },
  "categories": [
    "content"
  ],
  "type": "registry:block"
}