Mini Desktop OS

A tiny windowed desktop for a portfolio: generated wallpaper, menu bar with a live clock, icon grid, draggable windows with close / minimise / maximise, and a dock. Keyboard-movable; sheets on phones.

Try it: Open apps from the icons or dock; drag a window by its title bar, or Tab to it and use the arrow keys.

Brings its own background. Draws its own wallpaper, menu bar and dock; the windows adapt to the nearest .dark/.light scope.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/mini-desktop-os.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/mini-desktop-os. You can also copy the source into components/ui/mini-desktop-os.tsx (view on GitHub).

Usage

import { MiniDesktopOS } from '@/components/ui/mini-desktop-os'

Props

Component props
PropTypeDefaultNotes
apps{ id, title, icon, tone?, content, size? }[]—Apps shown as desktop icons, dock items and window contents.
defaultOpenstring[][]App ids opened on mount.
brandstring'Folio'Wordmark in the menu bar.
wallpaperSeed / wallpaperSrcnumber / string14 / —Generated wallpaper seed, or your own image URL.
heightnumber540Desktop height in px.
onOpenChange(ids: string[]) => void—Fires when windows open or close.
classNamestring—Extra classes merged onto the root.

Dependencies

  • motion
  • lucide-react
  • Discovery Scene

    An illustrated desk (night in dark mode, daylight in light) with six hidden sparkles. Each find lights its object — lamp, steam, spinning record — reveals a fact, and counts toward “found 6 / 6”.…

  • Big-Type Footer

    A closing section built around one enormous word whose letters swell and lean toward the cursor, with a ticker, quiet link pills, a live local clock and back-to-top. Light paper / dark ink, never a…

  • Image Lens

    A glass loupe that follows the pointer and magnifies the image beneath it: the rim refracts and fringes like real glass, the rest of the frame softly desaturates, and pinch, ctrl+wheel or a click…

  • Pinned Project Reel

    The section pins to the viewport and your vertical scroll slides a film strip of project cards sideways, with a springy counter and progress line. Focusing a card scrolls the page to it; reduced…

  • Dealer Deck Testimonials

    Testimonials dealt like playing cards: the top card of a face-down deck slides across the table on a spring, flips face-up mid-flight and lands slightly askew on the pile. Take one back or gather…

  • Kudos Wall

    Praise cards drift past in three columns at different speeds and directions behind a soft fade mask, with underlined key phrases and a cheer toggle on every card. Hover or focus pauses; a Pause…

See all 35 Portfolio components