Apple System 7-style components for shadcn/ui: windows, menus, file browser views, desk accessories and control panels in 1-bit, with original pixel art and bitmap fonts.
Control-panel slider: 1px line, optional tick marks and a pixel pointer thumb.
Toasts as small notification windows: a modeless 1px frame with a striped mini title bar and close box, an original 16×16 icon per type, the title in the chrome face and action and cancel as push buttons. Top right and expanded by default.
An opt-in WebAudio synth for original alert sounds (no samples): Chirp, Clonk, Ping, Wood, Zap and Drip, a volume from 0 to 7, and useBeep() for a beep(voice?) that also fires a "s7ui:beep" window event, so an alert is never sound-only. Off by default.
A Sound control panel: a vertical speaker-volume slider with ticks 0–7, the alert voices in a scrolling list that previews on select, and a "Play alert sounds" switch (off until the user turns it on).
Busy indicator: a ring of eight dots with a solid head and a dithered tail, in eight 16×16 bitmap frames stepped by CSS. role="status" with a visually hidden label; still under prefers-reduced-motion.
Welcome box with a mascot, progress bar and extension icons parading along the bottom. Once per session, at most a second, skippable, skipped under reduced motion, aria-hidden over the content.
A pale yellow sticky note with a small close box; with pages it becomes a note pad with a page curl and a 2/4 indicator.
A tiny localStorage store for remembered settings: createStoredValue({ key, parse, serialize }) for useSyncExternalStore, synced across providers, bundles and tabs, with an in-memory fallback when storage is blocked. Keys follow s7ui:<name>.
On/off switch drawn as a 1991 control: a small rounded track with a square knob that jumps right and checkers the track when on.
"Sorry, a system error occurred." as a React error boundary: bomb alert with ID = n (stable per error type), Restart and Resume, a details disclosure with the component stack, inline or covering the screen, reset keys and focus restore.
A table in the style of a Finder list: column titles in the chrome face over a 1px rule, the sorted column underlined via aria-sort, rows at the list row height with no lines, and a selected row that inverts only its first text cell.
Folder tabs with 1px frames, rounded tops and labels in the chrome face; the active tab stands taller and joins the framed panel. Vertical orientation and a quiet underlined line variant.
Multi-line text field with a System 7-style frame and a 2px focus frame.
The 11×11 close and zoom box with a pressed state and a 24px hit area, for windows, dialogs and notes.
⌘-click (or Ctrl+click, right-click, Alt+↑) a window title to pop up the folder hierarchy as a menu with 16px icons, from the folder up to the disk; choosing one calls onNavigate(id). Wraps the title without taking over its own click.
Two-state push button that stays inverted while on; rounded or square-cornered tool style.
Toggles joined into one strip with shared borders, like a paint program's tool strip; single or multiple choice.
A small Balloon Help-style tooltip: rounded white balloon with a 1px frame, 1px shadow and a pixel tail.
The Trash as a desktop icon, empty or full (bulging can, lid pushed up by paper).
Tells you when the user has been idle for a given time. Passive pointer, key, wheel and touch listeners only write a timestamp and one timer re-checks, so moving the mouse never churns timers. Never goes idle in a hidden tab; a canIdle veto, reset() and activate().
useMediaQuery(query) and useReducedMotion() on useSyncExternalStore (false on the server and during hydration, so no mismatch), plus prefersReducedMotion() for one-off checks in handlers and plain modules.
Press-and-hold auto-repeat for scroll arrows and steppers: start(action) runs the action at once, again after a short delay and then on a steady beat until stop() or unmount; return false from the action to stop at the end of the range.
Hands errors from event handlers, effects, timers and promises to the nearest error boundary by re-throwing them on the next render. Returns a stable function.
Document window with active/inactive title bar, close and zoom boxes, window shade, a file-window header, scroll bars, dragging and an opt-in resizable grow box (outline while dragging, arrow keys, min/max, persistence).
Front window, stacking order, drag offsets, resize, WindowShade and zoom state for a desktop of windows.
The window-open animation: about twelve 1px outlines step from an icon to a window in ~180 ms, bunched near the source, XOR-drawn with mix-blend-mode: difference over any pattern. Promise-based, SSR-safe, instant under reduced motion; zoomRectsAnimate plugs into the window manager.