Phone Mockup Showcase
A dark section that floats a detailed iPhone frame inside a soft gradient panel; you supply the screen content, the device chrome is built in. Harvested from Yosra Planner.
npx shadcn@latest add https://ui.develop-better-solutions.com/r/phone-mockup-showcase.jsonDependencies:
lucide-reactAssistant
Your day stays clear
even as things change.
Stay in control without constant updates. Your plan evolves with you throughout the day.
9:41
Fri8 Apr, 2026
Good morning, Sophie!
Today you have 3 meetings, 2 routines and 4 tasks. You will have time to get things done after 6 pm.
Usage
phone-mockup-showcase-example.tsx
import { PhoneMockupShowcase } from "@dbs/ui";
import { CalendarDays, CheckCheck, RefreshCw } from "lucide-react";
const screen = (
<>
<div className="mt-10 flex items-baseline justify-between">
<span className="flex items-center gap-2 text-3xl font-medium">
Fri
<span className="size-2 rounded-full bg-orange" />
</span>
<span className="text-sm text-dbs-white/50">8 Apr, 2026</span>
</div>
<p className="mt-6 text-lg text-dbs-white/90">
Good morning, <span className="font-medium text-dbs-white">Sophie!</span>
</p>
<p className="mt-4 text-lg leading-[1.55] text-dbs-white/80">
Today you have{" "}
<CalendarDays className="inline size-5 align-[-3px] text-dbs-white/70" strokeWidth={1.5} />{" "}
<span className="font-medium text-dbs-white">3 meetings,</span>{" "}
<RefreshCw className="inline size-5 align-[-3px] text-dbs-white/70" strokeWidth={1.5} />{" "}
<span className="font-medium text-dbs-white">2 routines</span> and{" "}
<CheckCheck className="inline size-5 align-[-3px] text-dbs-white/70" strokeWidth={1.5} />{" "}
<span className="font-medium text-dbs-white">4 tasks.</span> You will have
time to get things done after 6 pm.
</p>
<div className="mt-auto pt-10 text-center">
<button className="w-full rounded-2xl bg-dbs-white py-4 text-base font-medium text-dbs-black transition-colors hover:bg-dbs-white/90">
Create your plan
</button>
</div>
</>
);
export default function PhoneMockupShowcaseExample() {
return (
<PhoneMockupShowcase
badge="Assistant"
title={
<>
Your day stays clear
<br />
even as things change.
</>
}
description="Stay in control without constant updates. Your plan evolves with you throughout the day."
screen={screen}
/>
);
}