DDBS UI
section

App Window Mockup

A dark section that floats a macOS application window inside a soft gradient panel; you supply the window body, the traffic-light chrome is built in. Harvested from Yosra Planner.

npx shadcn@latest add https://ui.develop-better-solutions.com/r/app-window-mockup.json
Fullscreen
Focus

See everything planned
for today in one clear view.

See your meetings, tasks and routines together and understand your day from morning to evening.

March 2026
M
T
W
T
F
S
S
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
Todo listAdd
Review priorities
Plan next steps
Send progress update
Prepare presentation
Refine task list

Usage

app-window-mockup-example.tsx
import { AppWindowMockup } from "@dbs/ui";
import {
  LayoutDashboard,
  CalendarDays,
  LineChart,
  Sparkles,
  Plus,
} from "lucide-react";

const NAV = [
  { label: "Dashboard", icon: LayoutDashboard, active: true },
  { label: "Schedule", icon: CalendarDays },
  { label: "Insights", icon: LineChart },
  { label: "Assistant", icon: Sparkles },
];

const DAYS = [
  { n: 29, out: true },
  { n: 30, out: true },
  { n: 31, out: true },
  ...Array.from({ length: 30 }, (_, i) => ({ n: i + 1, out: false })),
  { n: 1, out: true },
  { n: 2, out: true },
];

const TODOS = [
  "Review priorities",
  "Plan next steps",
  "Send progress update",
  "Prepare presentation",
  "Refine task list",
];

export default function AppWindowMockupExample() {
  return (
    <AppWindowMockup
      badge="Focus"
      title={
        <>
          See everything planned
          <br />
          for today in one clear view.
        </>
      }
      description="See your meetings, tasks and routines together and understand your day from morning to evening."
    >
      <div className="grid gap-3 lg:grid-cols-[13rem_1fr]">
        <aside className="hidden flex-col rounded-xl bg-[#1d1d1d] p-3 text-dbs-white lg:flex">
          <span className="px-2 pb-4 pt-1 text-sm font-medium">Plannr</span>
          <nav className="space-y-1">
            {NAV.map(({ label, icon: Icon, active }) => (
              <div
                key={label}
                className={`flex items-center gap-2 rounded-md px-2 py-2 text-xs ${
                  active ? "bg-[#262626] text-dbs-white" : "text-dbs-white/60"
                }`}
              >
                <Icon className="size-4 shrink-0" strokeWidth={1.6} />
                {label}
              </div>
            ))}
          </nav>
        </aside>

        <div className="grid gap-3 text-dbs-white md:grid-cols-[1.35fr_1fr]">
          <div className="rounded-xl bg-[#1d1d1d] p-4">
            <div className="flex items-center justify-between">
              <span className="text-sm">
                March <span className="text-dbs-white/40">2026</span>
              </span>
            </div>
            <div className="mt-3 grid grid-cols-7 gap-1 text-center">
              {["M", "T", "W", "T", "F", "S", "S"].map((d, i) => (
                <div key={i} className="py-1 text-[9px] text-dbs-white/50">
                  {d}
                </div>
              ))}
              {DAYS.map((d, i) => (
                <div
                  key={i}
                  className={`flex h-8 items-center justify-center rounded-md text-xs ${
                    !d.out && d.n === 9
                      ? "bg-orange font-medium text-dbs-white"
                      : d.out
                        ? "bg-[#202020] text-dbs-white/30"
                        : "bg-[#242424] text-dbs-white/80"
                  }`}
                >
                  {d.n}
                </div>
              ))}
            </div>
          </div>

          <div className="rounded-xl bg-[#1d1d1d] p-4">
            <div className="flex items-center justify-between">
              <span className="text-sm">Todo list</span>
              <span className="flex items-center gap-1 rounded-full bg-dbs-white px-3 py-1 text-xs text-dbs-black">
                Add <Plus className="size-3" />
              </span>
            </div>
            <div className="mt-3 space-y-2">
              {TODOS.map((t, i) => (
                <div key={t} className="flex items-center gap-3">
                  <span
                    className={`size-5 shrink-0 rounded-md ${
                      i === 0 ? "bg-orange" : "border border-white/20 bg-[#232323]"
                    }`}
                  />
                  <span
                    className={`text-sm ${i === 0 ? "text-dbs-white" : "text-dbs-white/60"}`}
                  >
                    {t}
                  </span>
                </div>
              ))}
            </div>
          </div>
        </div>
      </div>
    </AppWindowMockup>
  );
}