Skip to main content

System status

Memory 2.4 GB of 3.8 GB
Disk 98 GB of 116 GB

Over 80%: clear old logs and images before it fills.

Health
Every check passed
CPU load
0.42 on 2 cores
Signed in
12 online
Guests
48 online
Queue
3 waiting, 0 failed

Messages 3 unread

HR Team

4 members · 2 online

Today
Jessy Ellis

Next week we close the project. Any questions before we do?

You

That is excellent news.

Read

Tom Brennan

I have been through the features — cannot wait to demo them.

You

Haven't seen the build yet — looking now.

You

Checking the build now.

Delivered

Jessy is typing…

Jane Perez wants to join

1 day ago · Design Team

Notifications 3 new

  • Today
  • Priya Raman asked you to approve access to Northwind Trading

    Unread. · Members

    Nora O’Brien

    nora@northwind.example · Member

  • Sam Okafor attached a file to Q3 forecast

    Unread. · Finance

    q3-forecast.xlsx

    Spreadsheet · 248 KB

  • Three variants are below their reorder point

    Unread. · Inventory

    Restock before the weekend

    Due 16 August 2026

    Stock Urgent
  • Earlier
  • Your email address is verified

    · Security

  • Marta Kowalski mentioned you in Autumn drop

    · Marketing

  1. UI kit
  2. Forms

Forms

Two field systems, because two jobs. The boxed .av-field is for data entry — settings, product editors, checkout. The underline .av-field-line is for the short, high-ceremony forms on the auth screens. Both build on native inputs and native constraint validation; nothing here reimplements a control the browser already ships.

Boxed fields

Label, control, then hint or error. The hint is wired with aria-describedby rather than sitting loose beside the input — a hint a screen reader never reaches is decoration.

Text, select and textarea

The three that cover most of a form.

Gate codes, a safe place to leave the parcel, anything the driver needs.

Enhanced select

data-av-select upgrades a real select in place — search, tags and remote loading. Without the bundle it stays a working native control.

Type to add a tag that is not in the list. Five at most.

Input mask

data-av-mask formats as you type and, more importantly, reformats what you paste rather than rejecting it. Nobody types a card number.

Amex regroups itself to 4-6-5; everything else is 4-4-4-4.

File dropzone

data-av-uploader enhances a real input[type=file]. Type and size are enforced before the bytes leave, not by the server after the upload.

PDF, Word or images. Up to five files, 10 MB each. The `accept` attribute is the single source of the type rule — the native picker filters by it and the plugin rejects a drop that goes around it.

Rich text editor

data-av-editor mounts Quill over a real textarea, which stays the field the form submits. The toolbar preset is declared, not hand-built — minimal, basic, standard or full. The value is HTML, so the server must sanitise it; what the client guarantees is only that the markup contains the formats Quill knows about.

0 / 600 characters

Code editor

data-av-code-editor mounts CodeMirror over a real textarea, which stays the field the form submits. Until the vendor is up the textarea is visible and editable, so a page that never runs the bundle still has a working control rather than an empty box.

Disabled and read-only

Different promises: disabled means "not now", read-only means "not by you". A read-only field still submits its value.

Character counter

data-av-counter writes into the element named by data-av-counter-target and adds is-over past the limit.

15 / 60 — search engines cut the rest.

Input groups

A prefix or suffix that is part of the value's meaning rather than part of the label — a currency symbol, a unit, a fixed URL stem.

Prefix and suffix

The affix is not focusable and not read as a label; the input still needs its own.

€
kg
acme.ie/products/

Underline fields

The auth-screen style. Lighter chrome, an optional trailing icon, and a password toggle that swaps the input's type rather than rendering the characters itself.

With a trailing icon

The icon is decorative and aria-hidden; it repeats information the label already carries.

Password with a reveal

The button is labelled and its aria-pressed tracks the state, so it announces as a toggle rather than as a mystery.

Error state

is-invalid on the wrapper, the message wired with aria-describedby, and role="alert" so it is announced when it appears.

Toggles and selection

All native inputs underneath. A switch is a checkbox that looks like a switch, which means keyboard, form submission and the browser's own autofill all keep working.

Switch and checkbox

A switch applies immediately; a checkbox waits for the form to be submitted. Choose by when the change takes effect.

Segmented control

A radio group wearing a different coat. role="radiogroup" plus real radios, so arrow keys work without a line of JavaScript.

Choice cards

For a decision with consequences worth spelling out — a delivery method, a plan, a payment type. The whole card is the label, so the hit area is the card and there is still exactly one tab stop per option.

Radio cards

Note there is no tabindex anywhere: the radios carry the roving focus themselves.

Validation

data-av-validate on a novalidate form takes over the browser's own constraint checking and reports it in place. The timing is the part that matters: a field is checked on blur, then re-checked on every keystroke only once it is already invalid. Validating on input from the start lights up every required field the moment somebody tabs through the form.

Live form

Submit it empty. The summary appears, takes focus, and announces the count; each message is tied to its field.

Between 1 and 500.

Layout

.av-field-row puts fields side by side and collapses them on a narrow screen. .av-fieldset groups related ones with a real <legend>, which is what tells a screen reader that the three inputs below belong to one question.

Rows and fieldsets

Billing address

Floating labels and file input

.av-float-label — named for this build, not Bootstrap's .form-floating.

Floating label

The control needs a placeholder attribute even though it is never seen: :not(:placeholder-shown) is how "the field has content" is detected, and without it the label stays sitting across the value. A single space is enough. The label comes *after* the control in the DOM because CSS can only look forwards to a sibling — reading order is unaffected, since for/id still associates them.

File input

The file button lives in the control's shadow tree, so ::file-selector-button is the only handle there is — it cannot be given a class. It also does not inherit font from the input the way an ordinary child would.

Rating and auto-grow

An interactive rating is a radio group, not a row of buttons — that is where arrow-key selection, the single tab stop and "3 of 5" announced as one control all come from.

Rating

Tab to it, then use the arrow keys. Lit stars are marked with a class rather than selected with ~: a sibling combinator only looks forward, so the CSS-only version has to reverse the DOM and undo it with row-reverse, which leaves the arrow keys moving opposite to the stars on screen.

Rate this product

Auto-growing textarea

Height is reset to auto before scrollHeight is read, and the order is the whole trick: scrollHeight never reports less than the element's current height, so measuring without the reset lets the box grow but never shrink. Where field-sizing: content is supported the browser does it and the module does nothing.

Repeater and sortable list

Two controls for a set whose size the visitor decides.

Repeater

Rows are renumbered after every add and remove, and that is the part that matters: leaving gaps produces items[0], items[2], which most server-side parsers read as a sparse array and some read as an object — a difference that only shows up in production. The template is a <template> element, so its contents are inert until cloned; an off-screen div would have its inputs submitted with the form and its ids duplicated into the document. The last row cannot be removed.

Sortable list

Sortable.js is already vendored for the kanban board, so this costs no new dependency. The pointer model is theirs; the keyboard model is ours, because Sortable is pointer-only and without it a control that exists to reorder things cannot be used without a mouse. Focus an item and press Alt with the up or down arrow. The vendor is loaded *after* the keyboard model is bound, so a failed import leaves a list that is still fully reorderable.

  • Revenue by channel
  • Cohort retention
  • Inventory turnover
  • Support backlog

Date, time, colour and range

These are the platform's own controls rather than Flatpickr, noUiSlider and a colour library. What that buys: no supply chain, no licence to audit, no bundle weight, no vendored copy to checksum, and the native mobile pickers, which are better than anything a library renders in a webview. What it costs: the appearance differs between browsers, and there is no inline calendar or drag-select range. It is reversible — the hooks are the same data-av-* names the docs specify, so swapping a vendor in later changes the implementation and not a page of markup.

Date and time

The picker indicator is a shadow-tree pseudo-element, so it cannot be given a class — ::-webkit-calendar-picker-indicator is the only handle. It also does not inherit color, which is why a dark theme otherwise shows a black glyph on a near-black field; filter: invert(1) is the one operation that works across all of them, and it is scoped to [data-bs-theme="dark"] so it follows the theme engine rather than the OS.

Date range

Two native inputs whose bounds are wired to each other, so neither can be set past the other. Doing it with min/max rather than a validation message means the browser's own picker greys out the impossible dates — better than telling someone after they have chosen.

to

Colour

The text field is the readable half. A swatch alone cannot be read out, copied or typed into — and a colour is pasted far more often than it is picked. An invalid hex is rejected by reverting the text to the swatch's value, rather than silently leaving the two halves disagreeing.

Range

<input type="range"> already has the keyboard model, the ARIA and the touch target. Two things it lacks: a filled track in Chromium, which has no ::-webkit-range-progress, and a visible value. The fill is a percentage written into a custom property the track's gradient reads — computed from min/max rather than assumed to be 0–100, because a slider bounded 20–80 would otherwise fill wrongly along its whole travel and only look right at the ends.

35%
20 kg

Unsaved changes

data-av-dirty-guard asks before a reader leaves with edits, and a [data-av-save-bar] inside the form shows while there are any. Type in the field to see it.

Save bar

Sticky at the bottom of the viewport while the form is dirty. Its buttons are the form's own submit and reset, so Save and Discard work with no script between them; the runtime only shows and hides the bar.

Dashboard Orders Products Customers Account Settings

Keyboard shortcuts