HomeDocsComponentsBlocksChartsThemes
Introduction
  • Introduction
  • Installation
  • Themes
  • Artwork
  • llms.txt
Components
  • Accordion
  • Alert
  • Alert Dialog
  • Amount
  • Aspect Ratio
  • Audio Player
  • Avatar
  • Avatar Upload
  • Badge
  • Banner
  • Brand SVG
  • Breadcrumb
  • Button
  • Button Group
  • Calendar
  • Card
  • Carousel
  • Chart
  • Checkbox
  • Code Block
  • Collapsible
  • Color Picker
  • Combobox
  • Command
  • Context Menu
  • Copy Button
  • Countdown
  • Data Grid
  • Data Table
  • Date Picker
  • Date Range Picker
  • Description List
  • Device Mockup
  • Dialog
  • Direction
  • Dot Loader
  • Drawer
  • Dropdown Menu
  • Empty
  • Field
  • File Upload
  • Form Guide
  • Hover Card
  • Icon Tile
  • Image Export
  • Input
  • Input Group
  • Input OTP
  • Item
  • Kanban
  • Kbd
  • Label
  • League Table
  • Marquee
  • Match Score
  • Meter
  • Multi Select
  • Native Select
  • Number Field
  • Pagination
  • Password Strength
  • Phone Input
  • Popover
  • Progress
  • Progress Circle
  • Radio Group
  • Rating
  • Resizable
  • Responsive Dialog
  • Rich Text Editor
  • Scroll Area
  • Segmented Control
  • Select
  • Separator
  • Sheet
  • Sidebar
  • Signature
  • Skeleton
  • Slider
  • Sonner
  • Sortable
  • Spinner
  • Stat
  • Stat Tabs
  • Stepper
  • Switch
  • Table
  • Tabs
  • Tag Input
  • Terminal
  • Textarea
  • Time Field
  • Timeline
  • Toast
  • Toggle
  • Toggle Group
  • Tooltip
  • Tree
  • Typography
  • Video Player
  • Window Mockup
  • Accordion
  • Alert
  • Alert Dialog
  • Amount
  • Aspect Ratio
  • Audio Player
  • Avatar
  • Avatar Upload
  • Badge
  • Banner
  • Brand SVG
  • Breadcrumb
  • Button
  • Button Group
  • Calendar
  • Card
  • Carousel
  • Chart
  • Checkbox
  • Code Block
  • Collapsible
  • Color Picker
  • Combobox
  • Command
  • Context Menu
  • Copy Button
  • Countdown
  • Data Grid
  • Data Table
  • Date Picker
  • Date Range Picker
  • Description List
  • Device Mockup
  • Dialog
  • Direction
  • Dot Loader
  • Drawer
  • Dropdown Menu
  • Empty
  • Field
  • File Upload
  • Form Guide
  • Hover Card
  • Icon Tile
  • Image Export
  • Input
  • Input Group
  • Input OTP
  • Item
  • Kanban
  • Kbd
  • Label
  • League Table
  • Marquee
  • Match Score
  • Menubar
  • Meter
  • Multi Select
  • Native Select
  • Navigation Menu
  • Number Field
  • Pagination
  • Password Strength
  • Phone Input
  • Popover
  • Progress
  • Progress Circle
  • Radio Group
  • Rating
  • Resizable
  • Responsive Dialog
  • Rich Text Editor
  • Scroll Area
  • Segmented Control
  • Select
  • Separator
  • Sheet
  • Sidebar
  • Signature
  • Skeleton
  • Slider
  • Sortable
  • Spinner
  • Stat
  • Stat Tabs
  • Stepper
  • Switch
  • Table
  • Tabs
  • Tag Input
  • Terminal
  • Textarea
  • Time Field
  • Timeline
  • Toast
  • Toggle
  • Toggle Group
  • Tooltip
  • Tree
  • Typography
  • Video Player
  • Window Mockup
  • Accordion
  • Alert
  • Alert Dialog
  • Amount
  • Aspect Ratio
  • Audio Player
  • Avatar
  • Avatar Upload
  • Badge
  • Banner
  • Brand SVG
  • Breadcrumb
  • Button
  • Button Group
  • Calendar
  • Card
  • Carousel
  • Cart Button
  • Cart Line Item
  • Cart Summary
  • Chart
  • Checkbox
  • Code Block
  • Collapsible
  • Color Picker
  • Combobox
  • Command
  • Context Menu
  • Copy Button
  • Countdown
  • Data Grid
  • Data Table
  • Date Picker
  • Date Range Picker
  • Description List
  • Device Mockup
  • Dialog
  • Direction
  • Dot Loader
  • Drawer
  • Dropdown Menu
  • Empty
  • Field
  • Fill Blank
  • File Icon
  • File Upload
  • Form Guide
  • Hover Card
  • Icon Tile
  • Image Export
  • Input
  • Input Group
  • Input OTP
  • Item
  • Kanban
  • Kbd
  • Label
  • League Table
  • Marquee
  • Match Score
  • Menubar
  • Meter
  • Multi Select
  • Native Select
  • Navigation Menu
  • Number Field
  • Pagination
  • Password Strength
  • Person Avatar
  • Phone Input
  • Popover
  • Price
  • Product Card
  • Progress
  • Progress Circle
  • Radio Group
  • Rating
  • Resizable
  • Responsive Dialog
  • Rich Text Editor
  • Scroll Area
  • Segmented Control
  • Select
  • Separator
  • Sheet
  • Sidebar
  • Signature
  • Skeleton
  • Slider
  • Sonner
  • Sortable
  • Spinner
  • Stat
  • Stat Tabs
  • Stepper
  • Switch
  • Table
  • Tabs
  • Tag Input
  • Terminal
  • Textarea
  • Time Field
  • Timeline
  • Toast
  • Toggle
  • Toggle Group
  • Tooltip
  • Tree
  • Typography
  • Video Player
  • Window Mockup
  • Accordion
  • Alert Dialog
  • Alert
  • Amount
  • Aspect Ratio
  • Audio Player
  • Avatar Upload
  • Avatar
  • Badge
  • Banner
  • Bot Avatar
  • Brand SVG
  • Breadcrumb
  • Button Group
  • Button
  • Calendar
  • Card
  • Carousel
  • Cart Button
  • Cart Line Item
  • Cart Summary
  • Chart
  • Checkbox
  • Code Block
  • Collapsible
  • Color Picker Primitive
  • Combobox
  • Command
  • Context Menu
  • Copy Button
  • Countdown
  • Data Grid
  • Data Table
  • Date Picker
  • Date Range Picker
  • Description List
  • Device Mockup
  • Dialog
  • Direction
  • Dot Loader
  • Drawer
  • Dropdown Menu
  • Empty
  • Field
  • File Icon
  • File Upload
  • Fill Blank
  • Form Guide
  • Hover Card
  • Icon Tile
  • Image Export
  • Input Group
  • Input OTP
  • Input
  • Item
  • Kanban
  • Kbd
  • Label
  • League Table
  • Marquee
  • Match Score
  • Menubar
  • Meter
  • Multi Select
  • Native Select
  • Navigation Menu
  • Number Field
  • Pagination
  • Password Strength
  • Person Avatar
  • Phone Input
  • Popover
  • Price
  • Product Card
  • Progress Circle
  • Progress
  • Radio Group
  • Rating
  • Resizable
  • Responsive Dialog
  • Rich Text Editor
  • Scroll Area
  • Segmented Control
  • Select
  • Separator
  • Sheet
  • Sidebar
  • Signature
  • Skeleton
  • Slider
  • Sonner
  • Sortable
  • Spinner
  • Stat Tabs
  • Stat
  • Stepper
  • Switch
  • Table
  • Tabs
  • Tag Input
  • Terminal
  • Textarea
  • Time Field
  • Timeline
  • Toggle Group
  • Toggle
  • Tooltip
  • Tree
  • Video Player
  • Window Mockup
AI
  • Message Scroller
  • Message
  • Bubble
  • Marker
  • Attachment
  • Questionnaire
  • Composer
  • Reasoning
  • Tool Call
  • Approval Card
  • Citations
  • Message Toolbar
Blocks
  • Airtable
  • Airtable Kanban
  • CRM
  • ClickUp List
  • ClickUp Kanban
  • Repeatable Group
  • Command Palette
  • App Shell
  • Record Files
  • Settings Shell
  • Help Panel
  • Note Editor
  • Email Drafts
  • Task List
  • Notifications Panel
  • Dual Pane Sidebar
  • Team Members Panel
  • Mix Pack Builder
  • Record Picker and Date Quick-pick
  • Record List
  • Record Page
  • Sign In and Sign Up
  • Availability Scheduler
  • AI Chat
  • AI Assistant
  • Voice Message
  • Action Bar
  • Notion
  • Banking
  • Lineup Builder
  • Sports Score
  • Standings
  • Strava
  • Sheets
  • Notices
  • Settings
  • Billing
Templates
  • Sign In Page
  • Upload Page
  • Showcase Onboarding
  • Agreement Sign
  • Email
  • Email Composer
  • Share Dialog
  • Integrations
  • Transactions
  • Analytics
Utilities
  • motion
  • sounds
  • scroll-fade
  • shimmer
Another UI. Built on shadcn/ui with Phosphor icons.

Window Mockup

PreviousNext

A desktop window around any content, as a Mac window, a browser with tabs and an address bar, a Safari window with one compact toolbar, or a Windows window. It follows the light and dark theme.

UI SDKBase UIReact AriaRadix UI

October overview

vwork Digital, all amounts in CAD

Revenue
$38,420
Up12.4%
Expenses
$14,905
Up3.1%
Outstanding
$5,185
Down8.2%
Clients
27
Up2 new
Recent invoices
InvoiceClientStatusAmount
INV-1042Fraser Valley DentalPaid$4,200.00
INV-1043Harrison Hot Springs InnSent$1,850.00
INV-1044Chilliwack Cycle Co.Overdue$960.00
INV-1045Cultus Lake RentalsDraft$2,375.00
Spending, CAD
  • Software3,180
  • Contractors7,400
  • Travel1,290
  • Other3,035
books.vwork.digital/overview

October overview

vwork Digital, all amounts in CAD

Revenue
$38,420
Up12.4%
Expenses
$14,905
Up3.1%
Outstanding
$5,185
Down8.2%
Clients
27
Up2 new
Recent invoices
InvoiceClientStatusAmount
INV-1042Fraser Valley DentalPaid$4,200.00
INV-1043Harrison Hot Springs InnSent$1,850.00
INV-1044Chilliwack Cycle Co.Overdue$960.00
INV-1045Cultus Lake RentalsDraft$2,375.00
Spending, CAD
  • Software3,180
  • Contractors7,400
  • Travel1,290
  • Other3,035
Receipts
Q3 summary.pdf

Receipts

Adobe Oct.pdf

Receipts

Staples 0921.jpg

Receipts

Hosting Sept.pdf

Receipts

Fuel 1004.jpg

Receipts

Telus Oct.pdf

Receipts

Invoice INV-1044

Chilliwack Cycle Co.

Due 30 Sept 2026. 11 days overdue.

$960.00

Installation#

pnpm dlx shadcn@latest add https://anotherui.dev/r/another/ui-sdk-nova/window-mockup.json

Usage#

import { WindowMockup } from "@/components/ui/window-mockup"
<WindowMockup title="Receipts" sidebar={<Folders />} toolbar={<Actions />}>
  <Files />
</WindowMockup>
 
<WindowMockup
  variant="browser"
  fit={1100}
  url="books.vwork.digital"
  tabs={[{ title: "Overview" }, { title: "Banking" }]}
>
  <Dashboard />
</WindowMockup>
 
<WindowMockup variant="safari" fit={1100} url="books.vwork.digital/overview">
  <Dashboard />
</WindowMockup>

Variants#

  • mac. Traffic lights on the left and a centred title. The lights show their glyphs on hover.
  • browser. Traffic lights and tabs in one row, then back, forward, reload and the address bar. Tabs are buttons you can switch between.
  • safari. One compact toolbar row: traffic lights, a sidebar glyph, back and forward, a centred address field with the lock, the address and reload, then share, new tab and tab overview. The sidebar glyph and tab overview show when the window is at least 32rem wide, forward and share at 24rem, so a narrow window keeps the lights, back, the address and new tab.
  • windows. Icon and title on the left, minimise, maximise and close on the right.

Fit#

Without fit, the window is fluid and its content reflows. With fit, the window renders at that width in pixels and scales down to fit narrow screens, so a desktop layout looks the same on a phone. The height follows the content.

The sidebar hides when the window is narrower than 36rem, so a fluid window still works at phone width.

Props#

  • variant. mac, browser, safari or windows.
  • title and icon. The window title. The icon shows in the Windows title bar. The Safari variant has no title; it shows url.
  • actions. Small buttons on the right of the title bar.
  • toolbar and sidebar. Optional slots under the title bar and on the left of the content.
  • tabs, activeTab, defaultActiveTab and onActiveTabChange. Browser tabs, each with a title and an optional icon.
  • url and onNavigate. The address and a callback for back, forward and reload, in the browser and Safari variants.
  • inactive. Greys out the traffic lights.
  • fit. Native width for scaling.
  • contentClassName. Classes for the content area.
Video PlayerIntroduction

On This Page

InstallationUsageVariantsFitProps