Skip to content

Starship console

Still here? Then you are the kind of developer who reads the changelog, the footnotes and the licence file — and that deserves a second reward.

lcars is the other pack that no listing mentions: an original homage to the look of a famous starship computer interface. Black ground, thick colour bars that bend with a large radius into a side bar, pill buttons with right-aligned labels and numeric codes, solid pastel blocks, condensed uppercase type and big numeric readouts. Nothing here reproduces a real screen; every label, number and name is invented. Select it with import LCARS (also Console, StarshipConsole) or pack="lcars" on the fence. The dark appearance is the canonical one; the light appearance is the same console on a warm grey day-shift ground.

The elbows are the chrome. ConsoleFrame (alias Frame) is the elbow container: its title sits in the top bar, code: adds a numbered block beside it, bars: adds coloured segments to the top bar, sidebar: holds a column of SidebarButtons and footer: fills the bottom bar. The other elements are console idioms mapped onto the core roles: Panel, Elbow, Bar, Pill / ConsoleButton / Button (variants .pill, .leading, .trailing, .block), Readout, DataGrid / SensorTable, Meter / SegmentedBar / Gauge, Alert, RedAlert, StatusLight, SensorSweep / SensorGrid, ConsoleLog, ConsoleTabs, Header, Caption and Cascade. Every coloured element takes .color(…) with the palette names .orange, .peach, .lavender, .periwinkle, .tan, .gold, .blue and .red.

The reusable pieces below (ConsoleSidebar, SystemRow, DeckPanel, ConsoleFooter) live in mockups/lcars/console.mockitdown and are imported with import "lcars/console".

Main operations console

The primary console: the elbow frame with its numbered side bar, three readouts, meters, a block of running numbers and a row of pill buttons.

SENSORS03-1182ENVIRON04-2210POWER05-0091PERSONNEL06-7720LOGS07-3302
OPERATIONSMAIN CONSOLE
07-3341
CORE TEMP
2417
+0.4KELVIN
BUS LOAD
81.6
-1.2PERCENT
FLOW RATE
0392
CYCLE
14:07
FIELD HARMONICS72%
COOLANT RESERVE46%
BUFFER INTEGRITY93%
ENGAGE22HOLD23RESET24
DAMPERS
SUBSYSTEM 4417 · RELAY MATRIX0815 2291 30 4417 562
7730 0042 19 8851 004
3318 6620 77 1209 935
9902 4471 05 6634 210
1186 3009 52 7740 618
NOMINALSYNCAUX OFF
DECK 07 · SECTION 22
Light
SENSORS03-1182ENVIRON04-2210POWER05-0091PERSONNEL06-7720LOGS07-3302
OPERATIONSMAIN CONSOLE
07-3341
CORE TEMP
2417
+0.4KELVIN
BUS LOAD
81.6
-1.2PERCENT
FLOW RATE
0392
CYCLE
14:07
FIELD HARMONICS72%
COOLANT RESERVE46%
BUFFER INTEGRITY93%
ENGAGE22HOLD23RESET24
DAMPERS
SUBSYSTEM 4417 · RELAY MATRIX0815 2291 30 4417 562
7730 0042 19 8851 004
3318 6620 77 1209 935
9902 4471 05 6634 210
1186 3009 52 7740 618
NOMINALSYNCAUX OFF
DECK 07 · SECTION 22
Dark
Operations
Source
import "lcars/console"

ConsoleFrame("OPERATIONS", subtitle: "MAIN CONSOLE", code: "07-3341", sidebar: {
  ConsoleSidebar(lit: "POWER")
}, bars: {
  Bar().color(.tan).frame(width: 90)
  Bar().color(.lavender).frame(width: 36)
}) {
  HStack(spacing: 18) {
    Readout("CORE TEMP", value: "2417", change: "+0.4", unit: "KELVIN")
    Readout("BUS LOAD", value: "81.6", change: "-1.2", unit: "PERCENT").color(.periwinkle)
    Readout("FLOW RATE", value: "0392").color(.tan)
    Readout("CYCLE", value: "14:07").color(.peach)
  }
  HStack(alignment: .top, spacing: 24) {
    VStack(alignment: .stretch, spacing: 12) {
      Meter("FIELD HARMONICS", value: 0.72, showValue: true)
      Meter("COOLANT RESERVE", value: 0.46, showValue: true).color(.orange)
      Meter("BUFFER INTEGRITY", value: 0.93, showValue: true).color(.tan)
      HStack(spacing: 6) {
        Pill("ENGAGE", code: "22").color(.orange)
        Pill("HOLD", code: "23")
        Pill("RESET", code: "24", variant: .trailing).color(.lavender)
        Spacer()
        Toggle("DAMPERS", isOn: true)
      }
    }
    .frame(maxWidth: .infinity)
    VStack(alignment: .leading, spacing: 8) {
      Caption("SUBSYSTEM 4417 · RELAY MATRIX")
      Cascade("0815 2291 30 4417 562\n7730 0042 19 8851 004\n3318 6620 77 1209 935\n9902 4471 05 6634 210\n1186 3009 52 7740 618")
      HStack(spacing: 6) {
        StatusLight("NOMINAL").color(.blue)
        StatusLight("SYNC").color(.lavender)
        StatusLight("AUX OFF").color(.dim)
      }
    }
    .frame(width: 300)
  }
} footer: {
  ConsoleFooter(code: "DECK 07 · SECTION 22")
}

Environmental systems

A status grid in a lavender frame: six deck panels built from the DeckPanel component (each a Panel of three SystemRows), and the atmospheric mix ledger as a spreadsheet.

SENSORS03-1182ENVIRON04-2210POWER05-0091PERSONNEL06-7720LOGS07-3302
ENVIRONMENTAL
04-2210
DECK 03
OK
OXYGEN
94
THERMAL
61
POWER
78
DECK 04
OK
OXYGEN
92
THERMAL
58
POWER
81
DECK 05
OK
OXYGEN
95
THERMAL
63
POWER
74
DECK 06
OK
OXYGEN
91
THERMAL
60
POWER
69
DECK 07
VENT
OXYGEN
38
THERMAL
88
POWER
41
DECK 08
OK
OXYGEN
93
THERMAL
59
POWER
77
C5fx=AVERAGE(C2:C4)-C5
ABCDEF
1DECKN2O2ARCO2TOTAL
20378.120.90.930.04=SUM(B2:E2)
3047820.80.930.05=SUM(B3:E3)
40578.120.90.920.04=SUM(B4:E4)
50779.918.20.950.31=SUM(B5:E5)
MIXFILTERSSCRUBBERS
LIFE SUPPORT · LOOP B
Environmental

Sensor sweep

The sensor display: a SensorSweep with three contacts, two charts in the palette's solid blocks, range readouts and a contact timeline.

SENSORS03-1182ENVIRON04-2210POWER05-0091PERSONNEL06-7720LOGS07-3302
SENSOR GRID
03-1182
CONTACT 1CONTACT 2BEACON 9
RANGE
41.07
BEARING
117
CLOSURE
-0.8
RETURN STRENGTH
SIGNAL HISTORY
CONTACT 1CONTACT 2
14:02:16
CONTACT 2 ACQUIRED
13:58:40
BEACON 9 HANDSHAKE
13:55:00
SWEEP CYCLE 0218
LONG RANGE · ARRAY 2
Light
SENSORS03-1182ENVIRON04-2210POWER05-0091PERSONNEL06-7720LOGS07-3302
SENSOR GRID
03-1182
CONTACT 1CONTACT 2BEACON 9
RANGE
41.07
BEARING
117
CLOSURE
-0.8
RETURN STRENGTH
SIGNAL HISTORY
CONTACT 1CONTACT 2
14:02:16
CONTACT 2 ACQUIRED
13:58:40
BEACON 9 HANDSHAKE
13:55:00
SWEEP CYCLE 0218
LONG RANGE · ARRAY 2
Dark
Sensor grid

Personnel roster

The crew roster as a DataGrid of coloured number rows (the selected row lit gold), the duty schedule beside it, and pill tabs for the shifts. Every name is invented.

SENSORS03-1182ENVIRON04-2210POWER05-0091PERSONNEL06-7720LOGS07-3302
PERSONNEL
06-7720
ALPHA SHIFTBETA SHIFTGAMMA SHIFT
ROSTER
NAMERANKSECTIONDECKID
HOLLIS ARDENCMDROPERATIONS011022-77
PRIYA OKONKWOLTENVIRONMENTAL043381-09
DACE MOREAULTSENSORS034417-12
ILSE TAVRINENSPOWER075520-41
JUNO ACHTERBERGCPOLIFE SUPPORT056603-58
SEFA LINDQVISTENSSENSORS037194-26
RAMIL OSEILTLOGISTICS088240-63
6:007:008:009:0010:0011:0012:0013:00
ALPHA
SENSOR CAL6:00–9:00DRILL10:00–12:00
BETA
BRIEFING7:00–8:30REFIT DECK 79:00–13:00
GAMMA
SCRUBBERS6:30–10:00ARRAY TEST11:00–13:30
ROSTER REV 0219
Personnel

Red alert

The same console in its alarm state: the frame turns red, the striped banner takes the top of the content area and the alert banners list what tripped it.

ACKNOWL01-0001SEAL DECK01-0002VENT01-0003SILENCE01-0004
ALERT STATUS
00-0001
TIME TO SEAL
00:41
BULKHEAD 22-C31%
ALL CLEAR90EVACUATE91
ALARM 2207 · LATCHED
Light
ACKNOWL01-0001SEAL DECK01-0002VENT01-0003SILENCE01-0004
ALERT STATUS
00-0001
TIME TO SEAL
00:41
BULKHEAD 22-C31%
ALL CLEAR90EVACUATE91
ALARM 2207 · LATCHED
Dark
Red alert

Console log

The log terminal: a ConsoleLog holding a diagnostic session, the event timeline beside it and the keyboard shortcuts of the console as Kbd keys.

SENSORS03-1182ENVIRON04-2210POWER05-0091PERSONNEL06-7720LOGS07-3302
LOGS
07-3302
SYSTEMOPERATORALARMS
LOG 4417-B
$ diag --subsystem 4417 --level 3
> RELAY MATRIX ............ NOMINAL
> BUFFER 2 ................ 93 PERCENT
> COOLANT LOOP B .......... RESERVE LOW
> EMITTER S4 .............. RECALIBRATED
$ sweep --array 2 --cycle 0218
> 3 CONTACTS · 1 UNRESOLVED
$ _
14:06:51
DIAGNOSTIC COMPLETE
14:04:12
COOLANT RESERVE LOW
13:55:00
ARRAY 2 SWEEP
13:00:00
SHIFT CHANGE
CMDLCLEAR LOG
CMDFFILTER
RETENTION 30 CYCLES
Logs

Anatomy of a console

The parts of a console frame, numbered. The top elbow 1 carries the title and its code block 2; the side bar 3 is a column of SidebarButtons whose codes sit at the left and labels at the right; readouts 4 put the label on a coloured block above a big number; meters 5 are segmented bars; pills 6 are the buttons; and the bottom elbow 7 closes the frame with the footer bars.

PRIMARY01-0441
1
BACKUP01-0442
3
SUBSYSTEM 4417
44-17
OUTPUT
0442
4
DRAW
17.9
RESERVE
88
CHARGE64%
5
ENGAGE22
6
HOLD23
FRAME 4417
7
2
1
3
4
5
6
7
2
Anatomy

There are more hidden packs on this ship. Try the phosphor deck, or step into the hologram suite.