{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "floating-phone-demo-2", "title": "Floating Phone Demo 2", "description": "Second example showing a floating phone mockup.", "registryDependencies": [ "https://pioneerui.com/r/floating-phone" ], "files": [ { "path": "registry/example/floating-phone-demo-2.tsx", "content": "\"use client\"\n\nimport { FloatingPhone } from \"@/registry/pioneerui/floating-phone\"\nimport { motion } from \"framer-motion\"\nimport { Cloud, Sun, Droplets, Wind } from 'lucide-react'\n\nconst WeatherContent = () => {\n return (\n
\n {/* Current Weather */}\n \n
\n \n \n \n
\n

24°

\n

Partly Cloudy

\n \n\n {/* Weather Details */}\n \n \n \n \n \n \n\n {/* Hourly Forecast */}\n \n

Hourly Forecast

\n
\n {[\n { time: \"Now\", temp: \"24°\", icon: Sun },\n { time: \"2PM\", temp: \"26°\", icon: Sun },\n { time: \"3PM\", temp: \"25°\", icon: Cloud },\n { time: \"4PM\", temp: \"23°\", icon: Cloud },\n ].map((item, index) => (\n
\n

{item.time}

\n \n

{item.temp}

\n
\n ))}\n
\n \n
\n )\n}\n\nconst WeatherDetail = ({ icon: Icon, label, value }: { icon: any; label: string; value: string }) => (\n
\n \n
\n

{label}

\n

{value}

\n
\n
\n)\n\nexport default function WeatherDemo() {\n return (\n }\n actionText=\"Open Weather\"\n actionLink=\"/weather\"\n showStatusBar={true}\n />\n )\n}", "type": "registry:example", "target": "components/floating-phone-demo-2.tsx" } ], "type": "registry:example" }