Layout · component · 17K

Compact bezel

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.

The logical resolution defaults to 512×342 and the whole case scales with the screen. Curvature is an SVG feDisplacementMap of at most 2% of the width and is off in Safari; prefers-reduced-motion turns curvature, flicker and the power animations off. While powered off the screen content is inert. The case colours are local CSS variables (--bezel-case, --bezel-light, --bezel-shade, --bezel-dark, --bezel-plinth) you can override.

Install

pnpm dlx shadcn@latest add @s7ui/compact-bezel

Example

This example also uses @s7ui/bitmap @s7ui/button @s7ui/checkbox @s7ui/desktop-icon @s7ui/icons @s7ui/label @s7ui/window.

FileEditView

This is live DOM inside the screen. Buttons work, text is selectable.

Info

Files:
components/retro/compact-bezel.tsx
Uses:
@s7ui/theme, @s7ui/pixel-scale
Packages:
—