Components
Every component in the Jax design language. Live previews, copy-paste HTML, and platform-safe defaults.
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
Chips
Form Elements
Live Validation (`:user-invalid`)
Invalid and valid states appear after interaction in supporting browsers, with fallback behavior elsewhere.
Alert
Dialog
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 |
Accordion
What is Jax?
Why monospace?
Why dark by default?
Tabs
General settings content.
Advanced configuration options.
Destructive actions live here.
Toast
Dropdown
Spinner & Skeleton
Spinner
Skeleton
Container
Max-width wrapper with auto margins. Four sizes available.
Grid
CSS grid utilities. Fixed columns or auto-fit.
Stack
Vertical and horizontal flex layouts with consistent spacing.
Vertical Stack
Horizontal Stack
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.
- 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.
File Input
Styled file upload. Button triggers hidden input, name displays alongside.
Tag
Lightweight inline label. Lighter than badge — no border, no uppercase.
Variants
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.
Stat Card
Dashboard metric cards with colored top-border variants.
Gauge
Horizontal progress bars driven by native
<progress> values.
Sparkline
Inline bar chart using compact <progress> bars.
Radio Group
Card-bordered radio options with descriptions. Checked item gets accent border.
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
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 |
|---|---|---|---|---|
| Autechre | Tri Repetae | CD | Nov 1995 | 1 |
| Boards of Canada | Geogaddi | LP | Feb 2002 | 3 |
| Coil | Musick to Play in the Dark | LP | Oct 1999 | 2 |
| Aphex Twin | Selected Ambient Works 85–92 | CD | Feb 1992 | 1 |
| No records match that filter. | ||||
Contract
th[data-sort]text,number, ordate. 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.
Ducati Monster 900
Bought in 2019 with a seized rear caliper and a story about it. Ridden since, logged here.
Entries
Valve clearances, 41,203 km
All eight within spec. Two shims changed anyway, because they were close.
Fork oil and seals
Both legs, and a new set of dust seals that should have gone in a year ago.
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.
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