{% extends 'base.html' %} {# utilities/helpers — faithful port of src/html/utilities/helpers.html. Same DOM/classes/ARIA, same demo copy. Reference hrefs converted to clean Django routes (# -> /x/). #} {% block main %}

Helper utilities

Token-driven micro-helpers Tailwind doesn't cleanly cover — truncate, clamp, tabular numerics, dividers, skeletons & screen-reader text.

.ax-truncate

Single-line truncate

Clips overflowing text to one line with an ellipsis. Hover for the full title.

LB
Refactor the Aperture Goods checkout flow to support multi-currency and saved carts
lena.brandt@northwindlabs.app · Updated 18 minutes ago

Wrap the flexible child in a min-width:0 column so the ellipsis kicks in inside flex rows.

.ax-clamp-2 · .ax-clamp-3

Multi-line clamp

Caps a block to N lines — ideal for card descriptions & feed previews.

.ax-clamp-2

The Brass Task Light pairs a machined aluminium arm with a dimmable warm-white head, drawing just 6 watts at full output. It ships flat-packed and assembles without tools in under a minute.

.ax-clamp-3

Northwind Labs ships the Aperture Goods range from a single fulfilment hub in Lisbon, reaching most of Europe within two business days. Orders over $80 qualify for free carbon-neutral delivery, and every parcel uses recycled, plastic-free packaging sourced from certified suppliers.

.ax-num · .ax-mono

Tabular numerics

Locks digit widths so figures align in columns and never jitter as they tick.

Currency Balance Income
USD$48,210.00+$62,400
GBP£21,540.00+£27,100
EUR€33,120.00+€40,800
AUDA$15,980.00+A$19,400
Default digits1111.99 .ax-num1111.99
.visually-hidden · .ax-skeleton

A11y & loading

Screen-reader-only text and reduced-motion-safe placeholders.

.visually-hidden

The button reads as "Export" but announces the full action to screen readers.


.ax-skeleton (honours prefers-reduced-motion)
.ax-code · .ax-kbd · .ax-mark · .ax-link · .ax-eyebrow

Inline typography

Small text-level helpers that compose anywhere in body copy.

Run npm run build then deploy the dist/ folder.

Press ⌘ K to open the command palette, or Esc to dismiss it.

Found 3 matches for "checkout" across the codebase.

See the migration guide for breaking changes in v2.

Section eyebrow
Uppercase label above a heading

.ax-display — Space Grotesk headline

{% endblock %}