DWDitherweb
Phase 3C Suite46 Production Primitives

Component Catalog

Every Ditherweb component is built with native accessibility semantics, typed props, and calibrated retro CSS tokens. Inspect interactive states, typography hierarchy, layout primitives, forms, surfaces, and feedback components.

Heading

Semantic heading (h1-h6) with decoupled visual size scaling.

@ditherweb/ui

Semantic Level Hierarchy (h1–h6)

Heading 1 — System Core Architecture

Heading 2 — Subsystem Module Protocol

Heading 3 — Peripheral Controller Interface

Heading 4 — Register Buffer Mapping

Heading 5 — Interrupt Vector Table
Heading 6 — Bitwise Flag Mask

Decoupled Semantic Level vs. Visual Size

Semantic h2 with Display Size (5XL)

Semantic h1 with Compact Size (Small)

<Heading level={2} size="xl">System Core</Heading>

Text

General-purpose typographic primitive supporting tags, scales, weights, and tones.

@ditherweb/ui

Type Scales (xs, sm, base, lg, xl)

Text XL — Vintage mainframe terminal display banner

Text LG — Primary interface lead paragraph and summary

Text Base — Standard system typography for body text and documentation

Text SM — Secondary technical parameters and metadata captions

Text XS — Microscopic hardware register notation and memory addresses

Color Tones & Weights

Default Variant (Bold)

Muted Variant (Medium)

Accent Variant (Semibold)

Monospace Font Stack Flag Enabled (mono)

<Text as="p" size="base" variant="muted" weight="medium">Ditherweb</Text>

Code & Kbd

Sunken inline code substrate and tactile raised keycap shortcut primitives.

@ditherweb/ui

Inline Code Primitive (<code>)

To import components, execute npm install @ditherweb/ui and configure your bundler with tokens.css.

Tactile Keyboard Shortcut Keycaps (<kbd>)

Ctrl + C CopyCtrl + V PasteAlt + F4 TerminateEnter Execute
<Code>npm i @ditherweb/ui</Code> | <Kbd>Ctrl</Kbd> + <Kbd>K</Kbd>

Blockquote & List

Vintage quote indentation and semantic ordered/unordered list primitives with pixel bullets.

@ditherweb/ui

Semantic Blockquote (<blockquote>)

“Retro appearance. Modern engineering. The early Web was defined by hard edges, pixel matrices, and tactile controls designed for mechanical human feedback.”

List: Pixel Bullet Variant

  • Floppy Disk Controller (1.44 MB DMA Channel 2)
  • Serial Comms (RS-232 16550A UART @ 115,200 baud)
  • Parallel Port (Centronics ECP/EPP IEEE 1284)

List: Ordered Numeric Hierarchy

  1. Execute BIOS POST memory integrity scan
  2. Initialize master/slave PIC interrupt controllers
  3. Bootstrap operating system sector from Master Boot Record
<List type="unordered" variant="pixel"><ListItem>...</ListItem></List>

Container & Box

Content width constraints with responsive padding, and neutral polymorphic layout primitive.

@ditherweb/ui

Container Width Variants (sm, md, lg, xl, full)

Container size="sm" (max-w-screen-sm)
Container size="md" (max-w-screen-md)
Container size="lg" (max-w-screen-lg)

Box: Polymorphic Container Primitive

Box as="section"

Box is completely neutral for composable styling. It introduces zero unexpected margins or decorators.

<Container size="lg"><Box as="main">...</Box></Container>

Stack, Flex, & Grid

Directional stack flow, flexbox composition, and CSS grid primitives.

@ditherweb/ui

Stack (Vertical vs. Horizontal)

Stack Element 1 (gap="sm")
Stack Element 2 (gap="sm")
Stack Element 3 (gap="sm")

Flex with Spacer Primitive

STARTSpacer pushes items apartEND

Grid Primitive (4 Columns)

Col 1
Col 2
Col 3
Col 4
<Stack gap="md"><Flex><Logo /><Spacer /><Nav /></Flex></Stack>

AspectRatio & ScrollArea

CSS aspect-ratio constraint and accessible native scroll container.

@ditherweb/ui

AspectRatio (16 / 9)

16 : 9 Aspect RatioResponsive Pure CSS

ScrollArea (Keyboard Accessible)

[SYSTEM INITIALIZATION LOG]

0001: DMA Channel 0 initialized.

0002: DMA Channel 1 initialized.

0003: Memory controller mapped 640K base memory.

0004: Video BIOS extension at C000:0000.

0005: Keyboard buffer initialized (16 bytes).

0006: Serial UART 16550A ready at 03F8h.

0007: Parallel printer port ready at 0378h.

0008: Sound Blaster 16 DSP 4.05 detected at 220h IRQ 5 DMA 1.

0009: Mouse driver loaded on IRQ 12 (PS/2 auxiliary device).

0010: IDE hard disk drive C: 540 MB LBA mode ready.

0011: CD-ROM drive D: ATAPI 4X ready.

0012: Operating system boot sequence complete.

<AspectRatio ratio={16/9}>...</AspectRatio> | <ScrollArea className="h-48">...</ScrollArea>

Textarea

Native multiline input with sunken inset styling, invalid states, and zero-radius geometry.

@ditherweb/ui
Characters: 48
<Textarea rows={4} placeholder="..." invalid={hasError} />

PasswordInput

Masked credential field with non-submitting retro show/hide toggle and focus preservation.

@ditherweb/ui
Current Value: SecretPass99
<PasswordInput value={pwd} onChange={...} showToggle />

SearchInput

Native type="search" field with accessible clear button and zero form disruption.

@ditherweb/ui
Query Length: 6
<SearchInput value={query} onClear={() => setQuery("")} placeholder="Search..." />

NumberInput

Native numeric input with min, max, step boundaries and sunken retro bevel.

@ditherweb/ui
Value: 42
<NumberInput min={0} max={100} step={2} value={val} onChange={...} />

Select

Native HTML select dropdown styled with custom pixel caret and sunken well.

@ditherweb/ui
Selected: vga
<Select value={mode} onChange={...}><option value="...">...</option></Select>

Combobox

Accessible WAI-ARIA searchable listbox with keyboard navigation, active-descendant, and empty state.

@ditherweb/ui
Selected Value: vga
<Combobox options={[{ value, label }]} value={val} onValueChange={...} />

Slider

Native range input with grooved retro channel and tactile raised square thumb.

@ditherweb/ui
65%
25%
<Slider min={0} max={100} value={val} onChange={...} />

Toggle

Button-style pressed/unpressed state with aria-pressed and bevel inversion.

@ditherweb/ui
Interactive Toggle
Sizes
Disabled
Status: INACTIVE (RAISED)
<Toggle pressed={active} onPressedChange={setActive}>BOLD</Toggle>

ToggleGroup

Accessible grouped toggles with single or multiple selection modes.

@ditherweb/ui
Selected: center
Independent multi-toggle flags.
<ToggleGroup type="single" value={val} onValueChange={...}><ToggleGroupItem value="...">...</ToggleGroupItem></ToggleGroup>

Field

Accessible form-field composition primitive wiring label, description, error, and aria attributes.

@ditherweb/ui

Assigned AX.25 packet radio call sign. Must be uppercase.

<Field required error="..."><FieldLabel>...</FieldLabel><Input ... /><FieldDescription>...</FieldDescription></Field>

Button

Tactile action trigger with raised bevels and active pressed depression.

@ditherweb/ui

Variants

Sizes

Interactive Verification Bench

<Button variant="primary" size="md">Execute</Button>

Input

Sunken bevel text field with monospace typing dynamics and focus rings.

@ditherweb/ui
Value: ""
<Input placeholder="Enter value..." />

Label

High-contrast typography for form controls with optional required indicator.

@ditherweb/ui
<Label htmlFor="baud">Baud Rate</Label>

Checkbox

Crisp 16x16 pixel sunken checkbox supporting checked, unchecked, and indeterminate states.

@ditherweb/ui
<Checkbox checked={active} onChange={(e) => setActive(e.target.checked)}>Enable</Checkbox>

Radio

Square-frame radio selection group for mutually exclusive options.

@ditherweb/ui
Graphics PresetSelected: vga
<Radio name="mode" value="vga" checked={val === "vga"} onChange={...}>VGA</Radio>

Switch

Tactile slider switch with bevel thumb and track depression.

@ditherweb/ui
<Switch checked={enabled} onChange={(e) => setEnabled(e.target.checked)}>Sound</Switch>

Card

Structured container primitive with default, raised, and sunken surfaces.

@ditherweb/ui

Default Card

Flat surface with 2px hard border.

Standard card container for general UI layout grouping.

STATUS: OK

Raised Card

3D elevated window bevel.

Tactile elevated dialog frame appearance.

Inset Card

Inverted depressed well.

Depressed viewport style for data logs and terminal consoles.

CACHE HIT

Separator

Geometric divider supporting horizontal and vertical orientations.

@ditherweb/ui
Horizontal Divider
Segment ASegment BSegment C

Badge

Pixel-framed status tag for metadata, state indicators, and tags.

@ditherweb/ui
DEFAULTPRIMARYSECONDARYOUTLINESUCCESSWARNINGDESTRUCTIVEINFO
<Badge variant="success">ONLINE</Badge>

Alert

System message notification with role="alert" and distinct chromatic borders.

@ditherweb/ui
System Notice

Dialup handshake established at 57,600 baud. V.90 protocol active.

File Transfer Complete

ZMODEM transfer verified with 32-bit CRC.

<Alert variant="destructive"><AlertTitle>Error</AlertTitle><AlertDescription>...</AlertDescription></Alert>

PanelPhase 3C Primitive

Generic application and content surface with compound header, title, description, content, and footer layout.

System Architecture Panel

Configured for ISA bus arbitration and memory layout.

Conventional Memory: 640 KB Base RAM

Expanded Memory (EMS 4.0): 2,048 KB Paged

Extended Memory (XMS): 8,192 KB High Memory

Raised Panel

Tactile 3D bevel face.

Raised

Inset Panel

Sunken cavity surface.

Inset

Flat Panel

Bevel flat border.

Flat

Default Panel

Border with hard shadow.

Default

GroupBoxPhase 3C Primitive

Classic desktop grouping surface powered by native semantic <fieldset> and <legend>.

Modem Carrier Config
IRQ Routing Table

Dual-channel grooved perimeter.

Locked ROM Registers

Native disabled fieldset cascade.

Well & InsetPhase 3C Primitives

Recessed, sunken content surfaces for terminal buffers, log readouts, and deep cavity containers.

Well (Recessed Regions)

Subtle sunken background with inset bevel border.

COM1: 9600-8-N-1 initialized. Echo cancellation verified.
[MEMORY DUMP] Sector 0x1F0 read successful (512 bytes aligned).
PORT 0x3F8: UART 16550A FIFO DEPTH=16 BYTES ACTIVE

Inset (Low-Level Cavity)

Foundational sunken surface primitive with optional deep shadow.

Standard Inset

Classic bevel-inset border geometry.

Deep Inset

Bevel-inset with interior hard shadow depth.

ProgressPhase 3C Primitive

Native semantic <progress> element with retro track, stepped fills, and animated indeterminate stripe.

Live Buffer Flush65%

Spinner & LoadingPhase 3C Primitives

Stepped retro pixel indicators and accessible loading composition with zero icon libraries.

Spinner (Pixel Clock)

CSS-driven stepped rotation with screen-reader text.

Loading...sm (16px)
Loading...md (24px)
Loading...lg (32px)
Respects prefers-reduced-motion with static high-contrast indicator.

Loading (Composition)

Stacked and inline compositions with live region role="status".

Synchronizing floppy tracks...Synchronizing floppy tracks...
Bus Controller
DMA ActiveDMA Active

SkeletonPhase 3C Primitive

Content placeholder using procedural dither patterns and stepped pulse animation.

EmptyStatePhase 3C Primitive

Reusable empty-content presentation with title, description, and accessible action trigger.

[ 🖫 ]

No Floppy Disks Detected

Drive A: is empty. Insert a formatted 1.44MB diskette to mount volume.

Clean Work Directory

No temporary batch files or scratch tapes present in working folder.

ResultPhase 3C Primitive

Semantic outcome presentations for success, error, warning, and info operations.

[SUCCESS]

Disk Formatting Complete

80 tracks formatted with 18 sectors per track. Zero bad clusters found.

[INFO]

Hardware Configuration Audit

ISA bus query detected 1x VGA adapter, 1x Sound Blaster 16.