Skip to main content
jax
home install tokens components htmx guide case study grounding changelog roadmap
Getting Started
Home Installation Design Tokens HTMX Guide case study grounding changelog roadmap
Components
Button Card Media Card Badge Form Alert Dialog Table Navbar Tabs Accordion Toast Dropdown Spinner Skeleton Toggle Tooltip File Input Tag Segmented Drawer Stat Card Gauge Sparkline Radio Group Data Table Feed & Hero Prose
Layout
Container Grid Stack

Components

Every component in the Jax design language. Live previews, copy-paste HTML, and platform-safe defaults.

Jump To

button form table dialog drawer navigation data media data table feed prose

Button

Corner-marked actions. The frame is four hairline marks that arrive on hover and focus; labels stay bare. One filled primary, everything else quiet. Never rounded.

Variants

Sizes

Card

Sharp corners. Borders, not shadows. Uppercase headers.

Basic Card

Card with header and body content.

Status Card

Card with left status border and action button.

Badge & Chip

Badges

DEFAULT OK WARN ERR INFO ACCENT REPLICA OUT OF SYNC IN US-EAST-1-PRIMARY

Chips

tag pill tag active active pill

Form Elements

Your display name.
Invalid email address.

Live Validation (`:user-invalid`)

Invalid and valid states appear after interaction in supporting browsers, with fallback behavior elsewhere.

Use 3+ letters, numbers, _, or -.
Try an invalid value first, then fix it to see the state transition.

Alert

Info
This is an informational message.
Success
Operation completed successfully.
Warning
Approaching rate limit.
Error
Connection failed while syncing edge-us-east-1-primary-replica-00001.example.internal. Check your network.

Dialog

Confirm Action

Are you sure you want to proceed? This action cannot be undone.

Table

Name Status Role Last Active
alice ONLINE admin 2m ago
bob IDLE user 1h ago
carol OFFLINE user 3d ago

Data Wrapping (`break-spaces`)

Key Value
retry_policy max_retries: 4 initial_delay: 250ms max_delay: 5s
session prod-eu-west-1-primary-worker-3cf8e4e8d23c8d3ab4b4f6dd09e2f41

Navbar

Sticky top bar with brand, mobile menu toggle, links, and end-slot. The mobile pattern is the default with navbar-collapsible.

myapp
dashboard settings logs
ONLINE logout

Accordion

What is Jax?
A terminal-aesthetic design language. Dark-first, monospace, amber-accented.
Why monospace?
The monospace choice is semiotic, not ergonomic: it signals "you are in a technical space."
Why dark by default?
Terminals are dark. Server rooms are dark. The aesthetic precedent is the phosphor glow of a CRT.

Tabs

General settings content.

Advanced configuration options.

Destructive actions live here.

Toast

Dropdown

Edit Duplicate Delete

Spinner & Skeleton

Spinner

Loading...

Skeleton

Container

Max-width wrapper with auto margins. Four sizes available.

container-sm (480px)
container-md (640px)
container-lg (960px)
container (1200px — full width)

Grid

CSS grid utilities. Fixed columns or auto-fit.

1
2
3
auto-fit
auto-fit
auto-fit
auto-fit

Stack

Vertical and horizontal flex layouts with consistent spacing.

Vertical Stack

stack item 1
stack item 2
stack item 3

Horizontal Stack

item 1
item 2
item 3

Typography

Heading 1 — 24px

Heading 2 — 18px

HEADING 3 — 14PX UPPERCASE

Body text at 14px. Bold text. Italic text. Small text. Marked text.

Links: amber-accented. Code: var(--accent). Keys: Ctrl+S.

The most important aspect of Terminal Green is not the color, but the darkness that surrounds it.
function hello() {
    console.log("would this feel at home on a VT220?");
}

Wrap, Balance, and Data Spacing

This heading-like sentence uses balanced wrapping to avoid orphan words in narrow containers.

Pretty wrapping improves block text rhythm without forcing rigid line breaks.

https://api.example.internal/v1/projects/terminal-ui-kit/snapshots/2026-02-17/builds/9f4a2d9f88cb5f8f8f3e6e2c2463e0af
Definition Value with Preserved Spacing
queue: background-jobs worker: node-12 status: retrying

Tooltip

CSS-only tooltip via data-tooltip attribute. Shows on hover/focus.

OK WARN

File Input

Styled file upload. Button triggers hidden input, name displays alongside.

No file chosen
Drop file here or click to browse

Tag

Lightweight inline label. Lighter than badge — no border, no uppercase.

Variants

default ok warn error info accent muted

Segmented Control

Mutually-exclusive group of options. Like tabs but for switching views inline.

Drawer

Slide-in side panel using native <dialog>. Full-width on mobile.

Drawer Panel

This is the drawer body. It scrolls independently and fills the available height.

Stat Card

Dashboard metric cards with colored top-border variants.

1,284
Total Users
99.9%
Uptime
342ms
Avg Latency
7
Open Errors

Gauge

Horizontal progress bars driven by native <progress> values.

GPU12%
CPU Usage62%
Memory78%
Disk91%

Sparkline

Inline bar chart using compact <progress> bars.

MonTueWedThuFriSatSun

Radio Group

Card-bordered radio options with descriptions. Checked item gets accent border.

Navigation

Breadcrumb

home components button

Pagination

Visually Hidden + Focus Reveal

Press Tab to reveal the hidden skip link.

Skip to reveal target

Focus target reached.

Media Card

Cover image plus one line of metadata. The card family for anything that leads with a picture — galleries, projects, vehicles, albums. Aspect ratio is a class, not an inline style, so the shipped ratios are the whole set: 1-1, 4-3, 3-2, 16-9, 21-9.

Grid

NEW
no cover

Tor Poznan, wet session

Album 2026-04-02 18 frames
no cover

A longer title that wraps onto a second line

Project2025

Cards equalise height across the row.

photograph

Overlay variant

2026-01-197 frames

Markup

<a class="media-card-link" href="/albums/poznan">
  <article class="media-card">
    <div class="media-cover media-ratio-3-2">
      <img src="/covers/poznan.jpg" alt="" loading="lazy">
    </div>
    <div class="media-body">
      <h3 class="media-title">Tor Poznan, wet session</h3>
      <div class="media-meta">
        <span class="is-kind">Album</span>
        <span>2026-04-02</span>
        <span>18 frames</span>
      </div>
    </div>
  </article>
</a>

Data Table

A real <table> with a toolbar over it: search, per-column filters, sortable headers, and a live count. <jax-table> injects the sort buttons, so with JS off the table still renders and no dead controls are left behind. Sort state lives on th[aria-sort]; sort by td[data-value] when the display text differs from the real value.

Artist Title Format Released Discs
AutechreTri RepetaeCDNov 19951
Boards of CanadaGeogaddiLPFeb 20023
CoilMusick to Play in the DarkLPOct 19992
Aphex TwinSelected Ambient Works 85–92CDFeb 19921
No records match that filter.

Contract

th[data-sort]
text, number, or date. Presence makes the column sortable.
th[data-key]
Names the column for [data-table-filter].
td[data-value]
The real sort and filter value when the cell text is formatted for reading.
tr[data-search]
Overrides the text the search box matches against.
tr.datatable-empty
Shown only when a filter leaves nothing. Ships hidden.
jax:table-filtered
Fires on the host after every filter pass, with { visible, total }.

Feed & Profile Hero

A feed is rules, not cards: entries are separated by a hairline so the page reads as one column of records rather than a wall of identical boxes. .feed-boxed is the opt-in for when the entries really are separate objects. The hero’s classifier sits under the title — it says what the thing is, read after its name.

cover

Ducati Monster 900

Vehicle1998Bologna

Bought in 2019 with a seized rear caliper and a story about it. Ridden since, logged here.

41,203km
18entries
2026-03service due
air-cooledcarburetteddaily

Entries

frame
2026-04-02Service

Valve clearances, 41,203 km

All eight within spec. Two shims changed anyway, because they were close.

4.2 htime
2shims
2025-08-14Service

Fork oil and seals

Both legs, and a new set of dust seals that should have gone in a year ago.

suspensionducati

Prose

Long-form reading. .prose sets the measure to var(--measure) (68ch) and the rhythm; everything inside it is plain HTML that base.css already styles. The article title is the one place the kit drops uppercase-and-tracking for size — it is read, not scanned.

2026-04-02 Moto

Rebuilding the front end of a 1998 Monster

Forks, yokes, and the two measurements that turned out to matter more than the parts list.

The fork legs came off the bike in about twenty minutes, which was the last part of the job that went to schedule. Everything after that was a measurement problem wearing the costume of a parts problem.

What the manual leaves out

Ride height is set at the top yoke, not at the spring. The manual says so in one line and then never mentions it again, which is how a five-millimetre error survives three reassemblies.

If it does not measure the same on both sides, it is not built. It is just assembled.

Every wheel builder, eventually
01
02
03