Components

Everything in @kystdata/ui. Each page has a playground and the rules for when to use it.

66 components

Button

Triggers an action, or links somewhere looking like one.

MMSI 259040560
Copy button

A button that copies a value, and shows that it did.

From the radio licence.

Field

A label over a control, with help text or an error under it.

m
Input

One line of text, with room for an icon, a prefix or a unit.

Number field

A number typed or stepped, with its unit: a depth, a count.

Textarea

Several lines of text. Grows as you type.

Select

Pick one from a short list, with the chosen one ticked.

Combobox

Pick one from a long list by typing.

CTD Water samples
Multiselect

Several from a list, as tags in the field.

10112026
Date picker

A date, typed or picked from a calendar.

Date range picker

A period, typed or picked, with shortcuts.

181120260700
Date-time picker

A date and a time, typed or picked, with the times beside the calendar.

Checkbox

Tick one or several, bare or as rows, cards and chips. Waits for Save.

Radio group

Pick one of a few, all in view: a list, rows, cards or chips.

Position picker

Where something goes in a box: a corner, an edge, the middle.

Switch

On or off, applied at once.

Slider

A number or a range, by dragging along a track.

Dropzone

Files in: drop or browse, with what it takes up front and each upload shown.

Running
Device controls

Start and stop machinery, switch things on and off, and hold to act.

Avatar

Who: a person or an organization, as a picture or initials on their own colour.

Ongoing CTD Expired
Badge

A short label on a thing: its status, a tag, or a flag that wants noticing.

Next mission

Round 18 of 20

18 Nov 2026
Card

A framed group that reads as one object: a summary, a setting, a figure.

ST-01 to ST-12

Collapsible

Something that opens to show more, alone or stacked as sections.

Search CtrlK
Kbd

A key as printed on the keyboard, for shortcuts.

Map

The base map, our controls, and markers: circles and diamonds, with names the map places.

Matrix

Rows by columns, a cell where they meet: stations by missions, at a glance or to work in.

Delivery 69 % published
Proportion bar

How a whole splits into parts, in one bar, in place of a donut.

Separator

A hairline between things that belong apart.

Surface temperature
9,4°C
−0,6 since last round
Stat

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
Table

Rows of records to compare: bordered, a data grid, or plain. Sticky headers, pinned columns.

  1. Completed

  2. Moved to 18 Nov

  3. 2 files added

Timeline

What happened to a thing, in order: history, activity, an audit log.

Chat

An AI conversation: messages, streamed markdown, a status line, tool calls, approvals and the composer.

Playback

Play back what happened, as in a video editor: status, values and markers under one playhead.

Pagination

Pages of a long list: what’s showing, how much there is, the way to the rest.

Charts

How charts look and behave, on screen and on paper, and which one to use.

Platform
Navy
Rainbow
Chart theming

An organisation’s colours for its charts: palette, parameter colours, gradients.

Profile chart

CTD profiles on one depth axis: a panel per parameter, or overlaid.

Time series chart

Readings over time, an axis per unit, gaps kept, drag to zoom.

Bar chart

Amounts by category, side by side or stacked.

Isopleth chart

One parameter over time and depth, interpolated between casts and contoured.

TS diagram

Temperature against salinity with density lines: the water masses in a cast.

Box plot

The spread of many readings per category: quartiles, whiskers, outliers.

Rose chart

Wind or current by direction and speed: how often, from or to where, how strong.

Calendar chart

A count per day over a year: rhythm and gaps at a glance.

Calibration is out of date

Last calibrated 14 months ago.
Banner

A message in the page about the page: a problem, a precondition, or news.

Invite sent ola@vestlandmarin.no
Toast

A short note in the corner about something that happened out of sight.

Loader

The logo with a ripple, for when a whole view is on its way.

Missions 17 of 20
60
Progress

How far along something is: a bar, or a ring where a bar won’t fit.

Skeleton

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.

Empty state

Nothing to show: what would be here, why it isn’t, and the action that fills it.

Error state

Something didn't load, said calmly, with the way out. The pair to the empty state.

Edit
Duplicate
Archive
Delete
Dropdown menu

Actions and options behind a button, like a row’s more menu.

Edit
Tooltip

A short label on hover and focus. Every icon button has one.

Visual range
Info tooltip

An “i” beside a label, for a short explanation.

Invite a member
They get an email with a link.
Dialog

A task on its own, over the page: header, sections, footer.

Mission
Sheet

One thing in detail, in a panel from the side, without leaving the page.

Map
Table
Resizable

Panes the user can resize, with the divider as the handle.

Delete project?
This can’t be undone.
Confirm dialog

Asks before something that can’t be undone. One call, awaited.

Breadcrumbs

Where you are, with a way back up. Lives in the page header.

date
Date picker
Date range picker
Date-time picker
Command palette

Search and run from the keyboard: every page and action, on ⌘K.

Kystdata.io Operations
Mobile menu

The sidebar on a phone: a bar and a drawer, built for thumbs.

Navigation list

A second sidebar inside the content, for a section of many pages.

Summary Waypoints Aurlandsfjorden Lifjorden
Outline

“On this page”: a long page’s headings beside it, the current one marked.

Scroll rail

A long list in miniature: a dash per item in its state’s colour.

Sidebar

The app’s main navigation. Collapses, resizes, remembers.

Tabs

Views of one thing, or a quick segmented switch.