Multi-leg journey card with stacked segment rows and an amber layover strip between them.
Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.
import { Travel6 } from "@/components/beste/piece/travel6";
<Travel6
segments={[
{
"depart": "09:40",
"departCode": "IST",
"arrive": "12:20",
"arriveCode": "CDG",
"duration": "3h 40m"
},
{
"depart": "14:50",
"departCode": "CDG",
"arrive": "17:05",
"arriveCode": "LHR",
"duration": "1h 15m"
}
]}
layover="2h 30m layover in Paris"
/>