Skip to content

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

    −36

    1,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.

  • TicketStatusAge (h)
    T-4127Needs a person2
    T-4126Working5
    T-4125Done9
    T-4124Working14
    T-4123Waiting26
    T-4122Failed31

    Grid

    A server-rendered data table whose sort, search, filters, columns, selection and page live in the address.

  • Mon: Tickets 42Tue: Tickets 51Wed: Tickets 47Thu: Tickets 63Fri: Tickets 58Sat: Tickets 31Sun: Tickets 27

    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 track

    Card

    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.

Browse blocks

Search

esc

Components

Blocks

Screens built from blocks

The Ocean app

Ocean Base console