Ocean UI · components and blocks
Build with Ocean UI
Our components are typed Rust rendered on the server, and our blocks are YAML an agent can write.
Component demos
Scroll sideways or use the arrow keys to move through the component demos.
Button
A labelled action in four emphases and three sizes; on the web an address makes it a link that looks the same.
Open tickets
−361,284
Against last week
KPI
A tile with a label and one headline figure, and when they help a delta, a badge, a caption and a spark.
Grid
A server-rendered data table whose sort, search, filters, columns, selection and page live in the address.
Area chart
A chart of values over x labels, the first series filled under its line, with axes, tooltips and a legend.
People see this name in the queue.
Field
A labelled form control with an optional hint, posted under the field's id without any script.
- LiveTrialDue soonOverdueRunningWaitingFailed
Badge
A short label in a pill, coloured by its tone, for a state or a count beside a title.
Sync scheduled
Rows refresh every five minutes.
Alert
A banner with a title and one sentence, toned for what it says; only a bad one interrupts.
Acme renewal
Due in 12 days
On trackCard
A titled section with an optional description and one action, around a body the caller writes.
39 components, 34 with a live web example, every one with its props, the Rust to copy and the Mac's face
Browse components
Blocks
Whole screens, not just parts.
Open
214
Agents working
131
Need a person
27
Median first reply
4m 12s
kpis
One to eight figures side by side, each with a label, such as open tickets, agents working and median first reply.
grid
Rows a person searches, filters, sorts, selects and acts on, such as every open ticket and who is working on it.
Closed per hour today
ClosedHanded off chart
Draws a source's rows as an area, line, bar, donut or spark chart, such as tickets closed per hour or where the money goes.
form
Fields a person fills in to add a row to a table or change one, such as a new agent's rules or a ticket's status.
New starter laptop for R. Patel
Procurement agent
approval
One card per row waiting for a decision, with Approve and Reject, such as an order an agent may not place on its own.
Opened by M. Okafor from the portal
Device, office and last 10 VPN events attached
· portal
Network agent read the ticket and the VPN logs
Matched a known pattern
· Network agent
Requester confirmed the fix
· M. Okafor
timeline
What happened, in time order, such as everything an agent did on a ticket, with who did it and how it went.