Components
Everything in @kystdata/ui. Each page has a playground and the rules for when to use it.
66 components
Triggers an action, or links somewhere looking like one.
A button that copies a value, and shows that it did.
From the radio licence.
A label over a control, with help text or an error under it.
One line of text, with room for an icon, a prefix or a unit.
A number typed or stepped, with its unit: a depth, a count.
Several lines of text. Grows as you type.
Pick one from a short list, with the chosen one ticked.
Pick one from a long list by typing.
Several from a list, as tags in the field.
A date, typed or picked from a calendar.
A period, typed or picked, with shortcuts.
A date and a time, typed or picked, with the times beside the calendar.
Tick one or several, bare or as rows, cards and chips. Waits for Save.
Pick one of a few, all in view: a list, rows, cards or chips.
Where something goes in a box: a corner, an edge, the middle.
On or off, applied at once.
A number or a range, by dragging along a track.
Files in: drop or browse, with what it takes up front and each upload shown.
Start and stop machinery, switch things on and off, and hold to act.
Who: a person or an organization, as a picture or initials on their own colour.
A short label on a thing: its status, a tag, or a flag that wants noticing.
Next mission
Round 18 of 20
A framed group that reads as one object: a summary, a setting, a figure.
ST-01 to ST-12
Something that opens to show more, alone or stacked as sections.
A key as printed on the keyboard, for shortcuts.
The base map, our controls, and markers: circles and diamonds, with names the map places.
Rows by columns, a cell where they meet: stations by missions, at a glance or to work in.
How a whole splits into parts, in one bar, in place of a donut.
A hairline between things that belong apart.
A number someone checks, with how it moved and a sparkline of its trend.
| Station | Depth | Status |
|---|---|---|
| HF-1 | 52 m | Done |
| HF-2 | 38 m | Done |
| Kvamsøy | 112 m | Planned |
Rows of records to compare: bordered, a data grid, or plain. Sticky headers, pinned columns.
-
Completed
-
Moved to 18 Nov
-
2 files added
What happened to a thing, in order: history, activity, an audit log.
An AI conversation: messages, streamed markdown, a status line, tool calls, approvals and the composer.
- Charging from 23:00 to 02:50
- Docked from 02:50 to 04:30
- Transit from 04:30 to 05:12
- On station from 05:12 to 05:58
- Transit from 05:58 to 06:21
- On station from 06:21 to 07:08
- No contact from 07:08 to 07:20
- On station from 07:20 to 07:48
- Transit from 07:48 to 08:34
- On station from 08:34 to 09:31
- Fault from 09:31 to 09:40
- Needs attention from 09:40 to 10:02
- Transit from 10:02 to 10:55
- On station from 10:55 to 12:10
- Transit from 12:10 to 12:55
- Docked from 12:55 to 13:22
- Charging from 13:22 to 14:35
- Transit from 14:35 to 14:52
- On station from 14:52 to 14:58
Play back what happened, as in a video editor: status, values and markers under one playhead.
Pages of a long list: what’s showing, how much there is, the way to the rest.
How charts look and behave, on screen and on paper, and which one to use.
An organisation’s colours for its charts: palette, parameter colours, gradients.
CTD profiles on one depth axis: a panel per parameter, or overlaid.
Readings over time, an axis per unit, gaps kept, drag to zoom.
Amounts by category, side by side or stacked.
One parameter over time and depth, interpolated between casts and contoured.
Temperature against salinity with density lines: the water masses in a cast.
The spread of many readings per category: quartiles, whiskers, outliers.
Wind or current by direction and speed: how often, from or to where, how strong.
A count per day over a year: rhythm and gaps at a glance.
A message in the page about the page: a problem, a precondition, or news.
A short note in the corner about something that happened out of sight.
The logo with a ripple, for when a whole view is on its way.
How far along something is: a bar, or a ring where a bar won’t fit.
The content’s shape in faint bars while it loads, then the content, arriving in turn.
No missions yet
Plan the first one to see it here.
Nothing to show: what would be here, why it isn’t, and the action that fills it.
Couldn't load the waypoints
Check your connection and try again.
Something didn't load, said calmly, with the way out. The pair to the empty state.
Actions and options behind a button, like a row’s more menu.
A short label on hover and focus. Every icon button has one.
An “i” beside a label, for a short explanation.
A task on its own, over the page: header, sections, footer.
One thing in detail, in a panel from the side, without leaving the page.
Panes the user can resize, with the divider as the handle.
Asks before something that can’t be undone. One call, awaited.
Where you are, with a way back up. Lives in the page header.
Search and run from the keyboard: every page and action, on ⌘K.
The sidebar on a phone: a bar and a drawer, built for thumbs.
A second sidebar inside the content, for a section of many pages.
“On this page”: a long page’s headings beside it, the current one marked.
A long list in miniature: a dash per item in its state’s colour.
The app’s main navigation. Collapses, resizes, remembers.
Views of one thing, or a quick segmented switch.