Control panels · component · 4K

Control panel

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.

Separators are borders, not a gap over a black background, so they survive forced colours. Each section is a role="group" named by its title (or `label`). Pass `iconColumn` to keep the icon column on a section without an icon so sections line up. Use <ListBox> for lists inside a panel.

Install

pnpm dlx shadcn@latest add @s7ui/control-panel

Example

This example also uses @s7ui/icons @s7ui/label @s7ui/radio-group @s7ui/slider @s7ui/window.

Pointer Speed

Disk Cache

About

Sections sit in a grid separated by 1px lines; titles use the chrome face.

v1.0

Info

Files:
components/retro/control-panel.tsx
Uses:
@s7ui/theme
Packages:
—