1-bit classic-desktop components for shadcn/ui. Windows, menus, file browser views, desk accessories and a bomb that catches your React errors, in the style of Apple's System 7.
{
"registries": {
"@s7ui": "https://s7ui.nijland.cc/r/{name}.json"
}
}pnpm dlx shadcn@latest add @s7ui/theme @s7ui/windowDouble-click a title bar to roll a window up. Try the menus: the s7ui menu holds a puzzle and a note pad.
| Name | Size | Kind | Description |
|---|---|---|---|
| 4K | folder | 1 item | |
| 4K | lib | 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. | |
| 48K | folder | 1 item | |
| 48K | ui | A dependency-free pixel chart kit: BarChart, LineChart, AreaChart, PieChart and Sparkline rasterised onto the 1px grid and filled with 8×8 one-bit patterns (or the 16-colour palette), with ticked axes, dotted grid lines, a pattern legend, a framed tooltip with selection handles, arrow-key reading and a hidden data table for screen readers. | |
| 7K | folder | 1 item | |
| 7K | ui | Command menu drawn as a Find dialog over a menu: framed search field with a magnifier, inverting items and glyph shortcuts. | |
| 66K | folder | 6 items | |
| 4K | component | The shell of an early-'90s control panel: a fixed-size white panel cut into sections by 1px lines, each with an optional 32×32 icon in a left column and a title in the chrome face. One to three columns, sections that span columns, and an optional footer line for a version string. | |
| 16K | component | A device chooser in the spirit of the early-'90s Chooser: device types as a scrolling column of 32×32 icons, the named devices of the chosen type in a list ("Select a printer:"), Background Printing and Network Active / Inactive switches and a small version string. Data-driven, with original printer, network-printer and file-server icons. | |
| 17K | component | A General Controls panel: the desktop-pattern editor, Rate of Insertion Point Blinking (Slow / Medium / Fast, with a blinking caret preview), Menu Blinking (Off / 1 / 2 / 3, with a sample item that blinks) and the time and date. One controlled value with onChange. | |
| 5K | component | A Labels control panel: the seven Finder label colours, each with an editable name. onChange hands you all seven names to pass to FinderLabelTag and finderLabelName(). | |
| 17K | component | The desktop-pattern editor from a General Controls panel: an 8×8 fat-bits grid you click or drag to paint, a live preview tile, ◂ ▸ to step through the theme's patterns and "Set Desktop", which hands you { bits, css }: eight rows of "#"/"." and a ready 8×8 SVG data-URI tile. | |
| 7K | component | 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). | |
| 11K | folder | 1 item | |
| 11K | lib | Original 1-bit mouse pointers with white outlines and hotspots: arrow, I-beam, crosshair, open and closed hand, and an 8-frame pocket-watch busy cursor. cursorCss(name) gives a ready CSS cursor value with a built-in fallback; useBusyCursor(active) animates the watch on the page or one element, sets aria-busy and stands still under reduced motion. <Cursor> previews a pointer. | |
| 43K | folder | 6 items | |
| 6K | ui | Radix Avatar as a square 1-bit portrait frame (24, 32 or 40px) with shadcn/ui's API, badge and group. The fallback shows initials in the chrome face on a sparse dither; dither renders the photo as an Atkinson dither, dither="filter" with a CSS grayscale filter. | |
| 3K | ui | Small square tag in the chrome face with a 1px frame, with shadcn/ui's variants (default inverted, secondary, outline, destructive, ghost, link) and asChild. label="hot" etc. adds a Finder label dot. | |
| 8K | ui | shadcn's Embla carousel with scroll-bar arrows for previous and next (hollow, filled while pressed, empty at the ends) and a CarouselIndicator that reads "3 / 12". | |
| 14K | block | A data table on TanStack Table v9 in the Finder list style: click column titles to sort, a filter field, a Columns menu to show and hide columns, check-box row selection with Shift ranges, and a footer reading "12 items · page 1 of 3" with Previous and Next push buttons. | |
| 7K | ui | List row with media, title, description and actions, with shadcn/ui's Item API (variants default, outline, muted; sizes default, sm, xs). As a link it inverts while pressed and when selected or current. | |
| 5K | ui | A table in the Finder list style: 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. | |
| 65K | folder | 5 items | |
| 17K | component | A compact clock strip in the spirit of the classic Alarm Clock desk accessory: the time with ticking seconds and a disclosure that opens the date and an alarm row with hour and minute spin buttons, little arrows and an alarm-clock toggle. When the alarm goes off, onAlarm is called and the clock icon flashes. | |
| 14K | component | A desk calculator in the spirit of the classic Calculator desk accessory: a display over a keypad of square, 1px-framed keys (C, E, =, *, /, -, +, ., 0–9) that invert while pressed. Immediate execution, repeated =, full keyboard input and results rounded for display, so 0.1 + 0.2 shows 0.3. | |
| 9K | component | A page viewer in the spirit of the Scrapbook desk accessory: one clipping per page, a "3 of 12" counter with a type badge ("Picture", "Text") and a horizontal scroll bar to leaf through the pages. | |
| 16K | component | An on-screen keyboard in the spirit of the Key Caps desk accessory: a compact ANSI keyboard with square keycaps that invert while the physical keys are held, Shift and Option layers, a text field that shows what you type, and highlighted shortcuts. | |
| 9K | component | The Puzzle desk accessory: a 4×4 sliding puzzle that is always solvable, with tiles as buttons, arrow-key moves and a "Solved in N moves" message. | |
| 42K | folder | 7 items | |
| 6K | component | Data-driven "About This Computer"-style panel: big icon, version, total memory and largest unused block, then rows with icon, name, size and a memory bar. Labels and number format are replaceable. | |
| 10K | block | Patterned desktop with a window manager, an icon column top-right, the Trash bottom-right, rounded screen corners and a dotted selection rectangle. Stacks windows-first on small screens. | |
| 6K | component | 32×32 icon over a name label in a 44px hit area. Selected darkens the icon and inverts the label; click selects, double-click or Enter opens, or use it as a plain link. | |
| 7K | block | Control panel to pick a desktop pattern: magnified tile, preview with arrows, a radio group for the keyboard and "Set Desktop Pattern". Optionally saved in localStorage. | |
| 5K | component | 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. | |
| 7K | component | 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. | |
| 1K | component | The Trash as a desktop icon, empty or full (bulging can, lid pushed up by paper). | |
| 62K | folder | 9 items | |
| 5K | ui | System 7 alert: modal frame, 32×32 icon top-left, message beside it, buttons bottom-right with the default button's thick ring. | |
| 10K | ui | Modal dialog in the System 7 modal frame, a third of the way down the screen and without dimming, plus a movable variant with a striped title bar you can drag. | |
| 6K | ui | A window pulled up from the bottom edge: a striped title bar with a checker grip to drag, stepped slide, sparse dither over the page. Built on vaul. | |
| 7K | component | Show Balloons / Hide Balloons: a provider with a persisted on/off switch, a menu item to toggle it and speech balloons on hover or focus that are always linked with aria-describedby. | |
| 2K | ui | A hover card drawn as a Balloon Help balloon: rounded 1px frame, 1px shadow and a pixel tail pointing at the trigger. | |
| 18K | component | The standard file dialogs: a folder pop-up with the path to the Desktop, a list box of the folder, the current disk, Eject, Desktop, Open/Save and Cancel; Save adds a name field and New Folder. Driven by a virtual file tree, with type-ahead, ⌘↑/⌘↓ and Tab between list and field. | |
| 5K | ui | A popover drawn as a floating palette: 1px frame, 1px hard shadow, square corners, no tail. `titleBar` adds a palette's short striped bar with a tiny close box. | |
| 6K | ui | A window that slides in from an edge in a few hard steps (none under reduced motion): striped title bar, close box, 1px frame on the inner side and a sparse dither over the page. | |
| 3K | ui | A small Balloon Help-style tooltip: rounded white balloon with a 1px frame, 1px shadow and a pixel tail. | |
| 58K | folder | 3 items | |
| 7K | component | Wraps any live content — video, an iframe, a whole form — and shows it in 1-bit (or a few gray levels) through an inline SVG filter: luma, a tiled 8×8 Bayer threshold and a discrete transfer. The content stays interactive. | |
| 45K | block | A page screensaver with three original 1-bit modules: Floppy Flock (3.5" disks flocking with flapping shutters), Night Shift (drifting coffee mugs whose steam spells a word) and Cable Garden (cables and plugs growing like vines). Lazy-loaded modules, crisp integer-scaled canvas, hot corners, and a provider with start/stop for Test buttons. | |
| 6K | component | A small control panel for the screensaver: a live preview in a little monitor, the modules as a radio group, a delay pop-up and a Test button. Reads and changes the ScreensaverProvider's settings, or works controlled on its own. | |
| 15K | folder | 2 items | |
| 14K | component | "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. | |
| 1K | hook | 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. | |
| 20K | folder | 5 items | |
| 6K | ui | Inline callout with shadcn/ui's Alert API: a framed box with the alert icon top-left. Variants default, info (note), warning (caution) and destructive (stop, in the heavy alert frame); size="sm" uses original 16px icons. | |
| 3K | ui | Empty state with shadcn/ui's API (header, media, title, description, content): a 32px icon in a dotted frame, the title in the chrome face and actions below. | |
| 2K | ui | Loading placeholder drawn as the 50% checker, with a lighter dithered band that marches across one pixel per step. Static under prefers-reduced-motion. | |
| 6K | ui | 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. | |
| 3K | ui | 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. | |
| 5K | folder | 1 item | |
| 5K | component | The file copy progress dialog: items remaining, the item being copied, a progress bar (barber pole before it starts) and a Stop button in a title-less modal frame. Modeless; Esc and ⌘-period press Stop; a throttled polite live region keeps screen readers informed without flooding them. | |
| 61K | folder | 8 items | |
| 4K | component | The seven Finder labels with renameable names, a stepped label dot, a dot-and-name tag and helpers that map a label to its label-* colour. | |
| 3K | lib | Shared link type and type-ahead for the icon and list views. | |
| 2K | block | A Window with the Finder header (items on the left, details on the right) around an icon view or list view, with a single scroll area. | |
| 13K | component | The Find dialog: "Find: [name]" with More Choices for a criteria row (name, size, kind, label or date modified; contains, starts with, is…), a search scope pop-up and an "all at once" check box. Find is the default button and calls onFind(criteria). As a form or in a modal dialog, with an original magnifier icon. | |
| 5K | component | Content of a Finder Get Info window: big icon and name, right-aligned labels with colons, a Comments box (editable or read-only) and the Locked check box. | |
| 10K | component | Grid of icons as links or buttons: one selection (icon darkened, name inverted), roving tabindex, arrow keys and type-ahead, label tints. Works with any router link via linkAs. | |
| 18K | component | List view as a real table: sortable column titles (underlined, aria-sort), 16px icons, name-only selection, Label column, disclosure triangles for groups, keyboard navigation and a compact layout under 640px. | |
| 6K | component | ⌘-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. | |
| 17K | folder | 1 item | |
| 17K | item | s7 Chrome (bold) and s7 Text (regular): original 1-bit bitmap fonts drawn on a 12px grid, with @font-face rules and the woff2 inlined. SIL OFL 1.1. | |
| 118K | folder | 27 items | |
| 3K | ui | Push button that inverts while pressed; the default button carries the thick ring. | |
| 3K | ui | Push buttons, fields and pop-ups joined into one strip that shares its 1px borders, with label cells and dividers. | |
| 9K | ui | Desk calendar on the pixel grid: chrome-face month between little arrow boxes, 1px day grid, framed today, inverted selection, checkered ranges. | |
| 2K | ui | 12×12 check box with an X when checked, a bar when indeterminate and a doubled frame while pressed. | |
| 5K | ui | Pop-up menu you can type into: the pop-up box opens a searchable menu with a check mark on the chosen item. | |
| 5K | ui | Date field that reads like a Get Info date and opens the desk calendar below it. | |
| 5K | ui | A hollow triangle that turns from ▸ to ▾ (with the in-between frame, skipped under reduced motion) to show or hide a section. Built on Radix Collapsible. | |
| 7K | ui | Form layout in the manner of a dialog: chrome-face labels, gray help text and red errors after a small stop sign. | |
| 4K | ui | react-hook-form helpers (Form, FormField, FormItem, FormControl, FormMessage…) wired for s7ui fields and error text. | |
| 1K | ui | Fieldset with a 1px frame and its title cut into the top line. | |
| 1K | ui | Text field with a 1px black frame that doubles while it has focus. | |
| 5K | ui | Text field with prefixes, units, key caps or small buttons inside one 1px frame that doubles while it has focus. | |
| 3K | ui | One-time code field: joined character boxes in the chrome face with a thin caret that blinks on and off. | |
| 3K | ui | Key caps and menu-style shortcuts (⌘K) with pixel-drawn modifier signs. | |
| 1K | ui | Control label in the chrome face that grays out next to a disabled control. | |
| 16K | ui | The classic scrolling list: a 1px-framed box with a System 7 scroll bar, 16px icons, whole-row inverted selection, single or multiple selection (Shift, ⌘, drag), type-ahead and an ARIA listbox with aria-activedescendant. | |
| 12K | ui | The up/down stepper drawn on the pixel grid: each half inverts while pressed and repeats while held. NumberStepper pairs it with a spinbutton field with min, max, step and keyboard stepping. | |
| 3K | ui | The pop-up menu look on a native <select> for plain forms. | |
| 2K | ui | Progress bar with a 1px frame, gray or blue fill and an animated barber pole for unknown durations. | |
| 2K | ui | Radio buttons drawn on the pixel grid: a 12px stepped circle with a 6px dot. | |
| 7K | ui | Pop-up menu: framed box with a down triangle; the menu opens over it with a check mark and inverted highlight. | |
| 1K | ui | Solid or gray dotted 1px separator, horizontal or vertical. | |
| 8K | ui | Control-panel slider: 1px line, optional tick marks and a pixel pointer thumb. | |
| 3K | ui | 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. | |
| 1K | ui | Multi-line text field with the System 7 frame and a 2px focus frame. | |
| 3K | ui | Two-state push button that stays inverted while on; rounded or square-cornered tool style. | |
| 3K | ui | Toggles joined into one strip with shared borders, like a paint program's tool strip; single or multiple choice. | |
| 4K | folder | 1 item | |
| 4K | hook | 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(). | |
| 29K | folder | 2 items | |
| 6K | component | Original 32×32 Stop, Note, Caution and Bomb icons for alerts, and a 16×16 Balloon Help icon for the menu bar. | |
| 23K | component | Original 32×32 Finder icons with 16×16 small versions: folder (open and closed), document, stack of documents, application, hard disk, floppy, compact computer, trash (empty and full), mail and person card. Ink follows currentColor, so labels can tint them. | |
| 25K | folder | 2 items | |
| 7K | lib | Pure 1-bit dithering kernels with no DOM: Atkinson, Floyd–Steinberg, Bayer 4×4 and 8×8, and plain threshold. Rec. 601 luma with contrast, gamma and serpentine scanning; row-by-row so large images can be spread over idle time. | |
| 18K | component | An <img> that turns into a crisp 1-bit dither once it scrolls into view: worker-based (Blob worker + OffscreenCanvas, main-thread fallback), HiDPI-exact dots, theme ink and paper, cached results, an optional Color/1-bit toggle and a top-down scan reveal. | |
| 55K | folder | 7 items | |
| 5K | ui | Radix Accordion with Finder list-view disclosure triangles: hollow ▸ and ▾ with the in-between frame after a click, filled while pressed. Content appears at once or unrolls in four hard steps (reveal="stepped"). | |
| 1K | ui | Radix AspectRatio with shadcn/ui's API: keeps content at a fixed width-to-height ratio. It draws nothing itself; frame it with s7-frame and fill it with a checker or a dithered image. | |
| 5K | ui | A white panel with a 1px black frame and a 1px hard shadow, with shadcn/ui's Card API (header, title, description, action, content, footer). variant="window" turns the title into a striped title bar; size="sm" tightens the spacing. | |
| 17K | component | An original one-piece beige (or platinum) computer to frame your page: brow vents, a deep screen well, a groove across the chin with a badge plate for your own logo, a power light and a floppy slot, on a plinth. The screen shows live, interactive children at a crisp integer scale, with optional scanlines, vignette, glow, subtle curvature and flicker, and power-on/off animations. | |
| 6K | component | An integer zoom container: renders children at a fixed logical size and scales them by the largest whole number that fits, snapped so scale × devicePixelRatio stays a whole number of device pixels, with image-rendering: pixelated. Falls back to a smooth fit when even 1× does not fit. | |
| 4K | ui | Split panes with a classic splitter: a 1px double line, an optional framed grip with three ridges, filled in while dragged. Keyboard resizable. | |
| 17K | ui | System 7 scroll bars over native scrolling: arrows with a stem, checker track, square thumb, grow box. | |
| 37K | folder | 6 items | |
| 5K | component | The application menu at the right end of the menu bar: the active application's small icon as the title, then Hide <app>, Hide Others, Show All and the running applications with a check on the active one and dimmed icons for hidden ones. | |
| 7K | ui | A System 7 menu at the pointer on right-click or long-press, with the same look as the menu bar. | |
| 7K | ui | A System 7 menu from any trigger: 1px frame and shadow, items that invert while highlighted, ⌘ shortcuts, dotted separators, check marks and submenus. | |
| 11K | ui | System 7 menu bar: 20px (44px on touch), titles invert while open, framed menus with ⌘ shortcuts, dotted separators, submenus, check marks, an icon trigger for your logo and the application menu, a right-hand slot and a live clock. | |
| 2K | lib | Shared class strings for menus: frame, items, labels, separators and shortcuts. | |
| 5K | ui | Pixel-drawn ⌘ ⌥ ⇧ ⌃ signs and <Shortcut keys="⌥⌘W" /> with spoken text for screen readers. | |
| 73K | folder | 6 items | |
| 5K | ui | A folder path: 16px folder icons and names in the text face, divided by small black triangles; the current folder is drawn open. Names invert while pressed. | |
| 27K | block | A stack of cards for case studies and portfolios, in the spirit of late-'80s card-and-background stacks: one card at a time in a shared background with a "3 / 12" counter, card buttons, an arrow palette, #card-id deep links and visual effects (stepped dither dissolve, wipes, iris, barn door) via the View Transitions API. | |
| 8K | ui | Site navigation drawn as a menu bar: chrome-face titles that invert while open and panels framed like menus that drop straight under their title. The current link carries a check mark. | |
| 4K | ui | Page numbers as a row of push buttons; the current page stays inverted. Previous and Next carry small triangles. | |
| 22K | ui | shadcn's sidebar system as a source list: a white panel with a 1px divider, rows of 16px icons and names, the selected row inverted. Folds to an icon rail with balloon tooltips, becomes a sheet on small screens, ⌘B toggles it. | |
| 7K | ui | 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. | |
| 8K | folder | 2 items | |
| 3K | ui | Draw crisp pixel art from rows of characters. | |
| 5K | ui | Close box, zoom box, grow box, scroll arrows, pop-up and submenu triangles, check X, menu check and radio dot. | |
| 15K | folder | 1 item | |
| 15K | lib | 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. | |
| 9K | folder | 1 item | |
| 9K | component | The shut-down sequence: open windows close one by one, then a white alert on black says it is now safe to switch off, then the picture collapses to a line and a dot like a tube switching off. Restart (or any key or click on the black screen) reopens the windows. Instant under reduced motion; focus is managed and restored. | |
| 8K | folder | 2 items | |
| 7K | component | Switch between the 1-bit look and the colour look of a colour screen: gray bevelled title bars, close and zoom boxes, scroll bars and grow box, lavender text selection and a soft gray desktop. AppearanceProvider sets data-s7-appearance and remembers the choice; AppearanceToggle is a Black & White / Colors radio group. | |
| 1K | theme | 1-bit tokens, the 16-colour palette, Finder label colours, 8×8 desktop patterns, density tokens, forced-colours support and the chrome utilities (stripes, checker, dotted lines, frames, font-chrome, font-text). | |
| 29K | folder | 3 items | |
| 4K | ui | The 11×11 close and zoom box with a pressed state and a 24px hit area, for windows, dialogs and notes. | |
| 14K | component | Document window with active/inactive title bar, close and zoom boxes, WindowShade, Finder header, scroll bars and dragging. | |
| 11K | hook | Front window, stacking order, drag offsets, WindowShade and zoom state for a desktop of windows. |